I'm working with cordova
an application for Android that makes use of the internet. For this, I add the cordova-plugin-network-information plugin, which is supposed to add the permison.INTERNET , but when reviewing the manifest.xml , it does not appear anywhere, and if you add it, it does not help at all.
The problem is that when I compile the APK in debug mode, everything works fine, but when I compile with the cordova build android --release
statement, it generates the APK , and all good (in theory), when I sign and align it when it's over, apparently everything is fine, but when installed on a phone, it does not ask for permission to access the internet, and when it is installed, it does not stop Do nothing because you do not have access to the internet.
Note: With the debug APK , yes, everything works fine.