GitHub user totalpave added a comment to the discussion: Problem on running apk 
downloading from whatsapp or google drive, says app not installed, adb and 
cordova run works, its just an helloworld

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 `Settings -> Security -> Install unknown apps`.

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 
`Allow from this source` on the Google Drive app to install APKs obtained from 
the Drive app.

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.

GitHub link: 
https://github.com/apache/cordova/discussions/419#discussioncomment-6317711

----
This is an automatically sent email for dev@cordova.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to