This PR introduce a code refactoring for a better handling of async callbacks.
Previously you couldn't call multiple async functions because the plugin was only keeping track of one callback reference, all the previous methods callbacks were lost...
The code is now cleaner and it works smoothly, this PR aims to fix a problem described here: #102.
A convenience method isPurchaseOpen has been added too in order to check if the Google Play purchase view is currently open.
Plugin deployed in an app in production and everything works perfectly :+1:
This PR introduce a code refactoring for a better handling of async callbacks. Previously you couldn't call multiple async functions because the plugin was only keeping track of one callback reference, all the previous methods callbacks were lost... The code is now cleaner and it works smoothly, this PR aims to fix a problem described here: #102. A convenience method isPurchaseOpen has been added too in order to check if the Google Play purchase view is currently open.
Plugin deployed in an app in production and everything works perfectly :+1: