Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova 10 compatibility - App not installed with cordova 10 build release #55

Open
gdelvecchio opened this issue Nov 11, 2020 · 1 comment

Comments

@gdelvecchio
Copy link

Hi all
I'm migrating my app from Phonegap build to local cordova build.
I'm using Cordova 10.0.0, Gradle 6.7 and Android 9.0.0 (API 29) to run the build.
Cordova builds successfully but when I try to install the app on the device it doesn't install. The APP NOT INSTALLED error returns.
I ran a series of tests with all my plugins and the only one that doesn't install the app is this one.
Below my config.xml file for the build.
<?xml version='1.0' encoding='utf-8'?> <widget android-versionCode="3017" id="com.xxx.xxx" version="3.1.7" versionCode="3170" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>xxx</name> <description>xxx</description> <author email="[email protected]" href="http://sample.com">xxx</author> <preference name="permissions" value="none" /> <preference name="prerendered-icon" value="true" /> <preference name="SplashScreen" value="splash" /> <preference name="SplashScreenDelay" value="3000" /> <preference name="AutoHideSplashScreen" value="true" /> <preference name="android-windowSoftInputMode" value="adjustResize" /> <preference name="fullscreen" value="true" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="FadeSplashScreen" value="false" /> <preference name="ShowSplashScreenSpinner" value="false" /> <preference name="DisallowOverscroll" value="true" /> <preference name="StatusBarOverlaysWebView" value="true" /> <preference name="StatusBarBackgroundColor" value="#000000" /> <preference name="android-minSdkVersion" value="23" /> <preference name="android-targetSdkVersion" value="29" /> <preference name="loadUrlTimeoutValue" value="9000" /> <preference name="orientation" value="portrait" /> <access origin="*" /> <platform name="android"> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:usesCleartextTraffic="true" android:allowBackup="false" /> </edit-config> </platform> <plugin name="cordova-plugin-biometric-keychain" source="npm" /> <plugin name="cordova-plugin-biometric" source="npm" /> <plugin name="cordova-plugin-ios-faceid" source="npm" /> <plugin name="cordova-plugin-network-information" /> <plugin name="cordova-plugin-mcc-camera" source="npm" /> <plugin name="cordova-plugin-device" /> <plugin name="cordova-plugin-file" /> <plugin name="cordova-plugin-file-transfer" /> <plugin name="cordova-plugin-splashscreen" onload="true" /> <plugin name="cordova-plugin-whitelist" /> <plugin name="cordova-plugin-ios-longpress-fix" /> <plugin name="cordova-plugin-statusbar" onload="true" /> <plugin name="cordova-plugin-insomnia" source="npm" /> <plugin name="cordova-plugin-ionic-keyboard" onload="true" source="npm" /> <plugin name="cordova-plugin-bluetooth-serial" source="npm" /> <plugin name="cordova-android-support-gradle-release" source="npm" version="2.0.1" /> <plugin name="cordova-plugin-ble-central" source="npm" /> <plugin name="phonegap-plugin-barcodescanner" source="npm" /> <plugin name="cordova-plugin-fullscreen" source="npm" /> <plugin name="cordova-plugin-app-version" /> <plugin name="cordova-plugin-file-opener2" /> <plugin name="cordova-plugin-dialogs" source="npm" /> <plugin name="cordova-sqlite-evcore-extbuild-free" source="npm" version="0.12.1" /> <icon platform="android" qualifier="ldpi" src="res/PackageIcons.Android.ic_launcher_36_36.png" /> <icon platform="android" qualifier="mdpi" src="res/PackageIcons.Android.ic_launcher_48_48.png" /> <icon platform="android" qualifier="hdpi" src="res/PackageIcons.Android.ic_launcher_72_72.png" /> <icon platform="android" qualifier="xhdpi" src="res/PackageIcons.Android.ic_launcher_96_96.png" /> <splash platform="android" qualifier="ldpi" src="res/PackageIcons.Android.splash_200_320.png" /> <splash platform="android" qualifier="mdpi" src="res/PackageIcons.Android.splash_320_480.png" /> <splash platform="android" qualifier="hdpi" src="res/PackageIcons.Android.splash_480_800.png" /> <splash platform="android" qualifier="xhdpi" src="res/PackageIcons.Android.splash_720_1280.png" /> <splash platform="android" qualifier="land-ldpi" src="res/PackageIcons.Android.splash_320_200.png" /> <splash platform="android" qualifier="land-mdpi" src="res/PackageIcons.Android.splash_480_320.png" /> <splash platform="android" qualifier="land-hdpi" src="res/PackageIcons.Android.splash_800_480.png" /> <splash platform="android" qualifier="land-xhdpi" src="res/PackageIcons.Android.splash_1280_720.png" /> </widget>

Logically the release is signed with its keystore and zipped with zipAlign.

This plugin is compatible with cordova 10.0 and someone has successfully tested and installed it?

Please help me!!
My project is based on this plugin ehehehe.
Any idea about the app not installed on device?

Thanks!!!

@brodycj
Copy link
Contributor

brodycj commented Apr 14, 2021

My apologies for the delay. In case this is still an issue, a minimal reproduction project would be extremely helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants