Hello,
I have a NavigationController containing a ViewController from where I'm initializing a DiscoveryController and starting a search for custom players. If I go back using the Back button of the Navigation Bar and try to come back in the View Controller that I'm doing the flinging from, the log displays this:
" :I:whisperplay:WhisperplayAdaptor:******** WPStateListener.onInitialized called **************
:I:whisperplay:WhisperplayAdaptor:******** handleWPReady ************** " and the application just stops working, it doesn't crash, it just freezes.
The "discoveryController.close" doesn't seem to be doing anything.
I've tried accessing the deinit function in the FlingViewController when I hit the back button but it's never called. But if I comment out "self.discoveryController.searchPlayer(withId: "amzn.fling.sample.customplayer", andListener: self, andEnableLogs: true)" and try to run the application, the deinit function is called.
I find this really odd since the android version of this iOS app works.
I'm using this in Swift with the help of a AmazonFling pod found on GitHub.
Thank you for your time.