anthonygacek opened a new issue #848: URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/848
# Bug Report InAppBrowser Is Undefined During App Runtime ## Problem Attempting to call the InAppBrowser.open() method results in a TypeError: Cannot read property 'open' of undefined. No recent code changes to this code segment have occurred (it worked as expected on earlier builds), and the call is wrapped inside a platform.ready() call. ### What is expected to happen? The InAppBrowser.open() call should open an in app browser, prompting the user to log in. ### What does actually happen? The InAppBrowser is undefined during execution, resulting in a TypeError that causes an indefinite spinner wheel on the start page of the application. ## Information This was encountered upon switching from Nevercode to Codemagic and attempting to run a new build in Codemagic. The underlying code segment that is now throwing a TypeError has not changed. ### Command or Code <!-- What command or code is needed to reproduce the problem? --> window.cordova.InAppBrowser.open( ... ) ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> We are experiencing this issue on Android platform version 8.0.0, using an Android device. ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Cordova version 9.0.0, Android platform version 8.0.0, and Node version 10.0.0. ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ x ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ x ] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
