breautek commented on issue #1531: URL: https://github.com/apache/cordova-android/issues/1531#issuecomment-1361942486
Moving to cordova-android because the described issue is regarding the android platform, not the browser platofrm. But to move onto your issue Cordova doesn't support multiple instances of itself. There is a native wrapper around the system webview and loading up `cordova.js` will reset the native state objects (similar if you had a multi HTML page applications where navigating ends up reloading cordova.js on every page navigation). So if you had the top-level document loading cordova.js, additional loads will invalidate the state of the previous loads, even if you're loading cordova.js in a sub-document of the webview. In other words, your cordova environment must be in only 1 document. For this reason I'll be closing this as not-a-bug, but if you describe your use case or what you're trying to achieve I may be able to provide some advice. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
