Github user jcesarmobile commented on the pull request: https://github.com/apache/cordova-plugin-dialogs/pull/54#issuecomment-181897098 getTopPresentedViewController returns the view controller on the top, not necessarily the mainViewController, the dialog has to be presented over the top view controller. If you dismiss the barcode scanner and you still get the CDVbcsViewController as the topPresentedViewController, it might be a bug on the phonegap-barcode-scanner plugin. Can you link the plugin you are using? I can't find anything if I search by phonegap-barcode-scanner on npm, and there are a few on github
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org