I have a plugin which allows my application to accept content shared from other applications. When content is shared with my application I want to allow the user to perform an action, and then return them to the previous application which they performed the share from. Is there any way to do this? I’ve tried using NavController.pop(), but I get an error in the console:
polyfills.js:3 Error: Uncaught (in promise): false
at s (polyfills.js:3)
at polyfills.js:3
at Object.ti.reject (main.js:46829)
at NavControllerBase._postViewInit (main.js:46977)
at NavControllerBase._viewTest (main.js:47114)
at NavControllerBase._nextTrns (main.js:46886)
at NavControllerBase._queueTrns (main.js:46850)
at NavControllerBase.pop (main.js:46715)
at main.js:123882
at t.invoke (polyfills.js:3)
After the action has been performed if the users taps the back button it takes them where it should (previous application), but I would like to execute that step programmatically if possible.
any ideas?