jmarshall-com commented on issue #1881: URL: https://github.com/apache/cordova-android/issues/1881#issuecomment-3917505679
For others who might have this problem later: My test case here was flawed as others pointed out, but my main app still had the problem of WebSockets not connecting. I eventually found that recreating `package-lock.json`, then removing and installing the android platform fixed the problem, i.e.: ``` rm package-lock.json # or rename it npm i cordova platform rm android cordova platform add android ``` I'm not sure what the problem was, but there were residual plugin directories left under `platforms/android/app/src/main/assets/www/plugins` and `platforms/android/platform_www/plugins` even after I had removed the old plugins. Not sure if that was the cause. Thanks everyone for the help. -- 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]
