Problem on running apk downloading from whatsapp or google drive, says app not installed, adb and cordova run works, its just an helloworld #419
Replies: 2 comments 3 replies
-
I know what the problem is , Play Protect , if you disable it , works, but wont work if you press install anyway. |
Beta Was this translation helpful? Give feedback.
-
This is standard Android OS behaviour. By default, only a select few apps can install apps on the device, which is usually Google Play Store and generally the phone manufacturer's app store (e.g. Samsung Galaxy Store). Apps can also be installed to developer devices (phones with USB debugging enabled) via ADB, which is the channel that Cordova uses to install apps onto the device. This is something that needs to be explicitly enabled by the user. If you manually transfer the APK to your device, you must allow the source app that accepted the APK to install APKs on the device. This can be done by going to On older android versions, install unknown apps is a simple target that was disabled by default, and enabling it will allow you to install APks from untrusted sources. Newer android versions will go into a subscreen where you enable access for specific apps to allow APKs to be installed from specific sources. E.g. if you download an APK from Google Drive, then you must enable None of these methods is a recommended way of publishing your app if you can help it. Your end users must jump through a lot of security hoops to install your app this fashion. The play stores often have a certain standard that your app must uphere too, which indirectly gives users some sense of trust when they install your app through official play stores. |
Beta Was this translation helpful? Give feedback.
-
Question , i have a problem with a build , i made a apk file , i signed , i can test it using cordova run with --device flag and works also using adb cli command , but if i want to install from whatsapp or using google drive or sending to the phone with a file manager , said app not installed , do you know what could be the problem ?
i'm using a S10 phone , android 12 , and the app is using the latest sdk , but its just an helloworld.
Beta Was this translation helpful? Give feedback.
All reactions