Skip to content

Commit

Permalink
Merge pull request #126 from benonymity/SwipeBack
Browse files Browse the repository at this point in the history
Enable swipe gesture to go back
  • Loading branch information
advplyr authored Apr 23, 2022
2 parents 729e959 + 49ad1ef commit d5b69be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/App/App/plugins/AbsAudioPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class AbsAudioPlayer: CAPPlugin {
override public func load() {
NotificationCenter.default.addObserver(self, selector: #selector(sendMetadata), name: NSNotification.Name(PlayerEvents.update.rawValue), object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(sendPlaybackClosedEvent), name: NSNotification.Name(PlayerEvents.closed.rawValue), object: nil)

self.bridge?.webView?.allowsBackForwardNavigationGestures = true;
NotificationCenter.default.addObserver(self, selector: #selector(sendMetadata), name: UIApplication.didBecomeActiveNotification, object: nil)
NotificationCenter.default.addObserver(self, selector: #selector(sendMetadata), name: UIApplication.willEnterForegroundNotification, object: nil)
}
Expand Down

0 comments on commit d5b69be

Please sign in to comment.