alitalaee commented on issue #1334: URL: https://github.com/apache/cordova-android/issues/1334#issuecomment-1165656543
> @alitalaee this PR has already been merged and released in 10.1.2. You can see the [Release Notes](https://github.com/apache/cordova-android/blob/master/RELEASENOTES.md#1012-apr-11-2022) here. > > * If you are using an older version of the platform, I recommend upgrading. > * If you already upgraded and still having this issue, it is possible that a plugin is adding stuff to the AndroidManifest file and not explicitly setting the flag. You will need to review which plugin it is coming from. i did upgrade to latest platform version but it does not work... AndroidManifest.xml file `<?xml version='1.0' encoding='utf-8'?> <manifest android:hardwareAccelerated="true" android:versionCode="10000" android:versionName="1.0.0" package="app.neshankala.com" xmlns:android="http://schemas.android.com/apk/res/android"> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /> <uses-permission android:name="android.permission.INTERNET" /> <application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:usesCleartextTraffic="true"> <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:exported="true" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@style/Theme.AppCompat.NoActionBar" android:windowSoftInputMode="adjustResize"> <intent-filter android:label="@string/launcher_name"> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:launchMode="singleTop" android:name="com.gae.scaffolder.plugin.FCMPluginActivity"> <intent-filter> <action android:name="FCM_PLUGIN_ACTIVITY" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <service android:name="com.gae.scaffolder.plugin.MyFirebaseMessagingService" android:stopWithTask="false"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service> <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@mipmap/ic_launcher" /> <provider android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true" android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" /> </provider> <receiver android:enabled="true" android:name="nl.xservices.plugins.ShareChooserPendingIntent"> <intent-filter> <action android:name="android.intent.action.SEND" /> </intent-filter> </receiver> <provider android:authorities="${applicationId}.sharing.provider" android:exported="false" android:grantUriPermissions="true" android:name="nl.xservices.plugins.FileProvider"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/sharing_paths" /> </provider> </application> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-feature android:name="android.hardware.location.gps" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.BLUETOOTH" /> </manifest> ` This is config.xml file `<?xml version='1.0' encoding='utf-8'?> <widget id="app.neshankala.com" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>app</name> <description>An awesome Ionic/Cordova app.</description> <author email="[email protected]" href="http://ionicframework.com/">Ionic Framework Team</author> <content src="index.html" /> <access origin="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <preference name="ScrollEnabled" value="false" /> <preference name="BackupWebStorage" value="none" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="FadeSplashScreenDuration" value="300" /> <preference name="SplashShowOnlyFirstTime" value="false" /> <preference name="SplashScreen" value="screen" /> <preference name="SplashScreenDelay" value="3000" /> <preference name="android-targetSdkVersion" value="31" /> <preference name="android-minSdkVersion" value="22" /> <preference name="hostname" value="localhost" /> <preference name="AndroidInsecureFileModeEnabled" value="true" /> <platform name="android"> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android"> <application android:networkSecurityConfig="@xml/network_security_config" /> <intent-filter> <action android:exported="true" android:name="MainActivity" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </edit-config> <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> <allow-intent href="market:*" /> <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" /> <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" /> <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" /> <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" /> <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" /> <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" /> <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" /> <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" /> <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" /> <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" /> <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" /> <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" /> <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" /> <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" /> <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" /> </platform> <allow-navigation href="http://localhost:8080/*" /> <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" /> <platform name="ios"> <allow-intent href="itms:*" /> <preference name="WKWebViewOnly" value="true" /> <preference name="InAppBrowserStatusBarStyle" value="lightcontent" /> <feature name="CDVWKWebViewEngine"> <param name="ios-package" value="CDVWKWebViewEngine" /> </feature> <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" /> <preference name="deployment-target" value="12" /> <preference name="pods_use_frameworks" value="true" /> <allow-intent href="itms-apps:*" /> <icon height="57" src="resources/ios/icon/icon.png" width="57" /> <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> <icon height="29" src="resources/ios/icon/icon-small.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> <icon height="40" src="resources/ios/icon/[email protected]" width="40" /> <icon height="60" src="resources/ios/icon/[email protected]" width="60" /> <icon height="48" src="resources/ios/icon/[email protected]" width="48" /> <icon height="55" src="resources/ios/icon/[email protected]" width="55" /> <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="88" src="resources/ios/icon/[email protected]" width="88" /> <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> <icon height="152" src="resources/ios/icon/[email protected]" width="152" /> <icon height="167" src="resources/ios/icon/[email protected]" width="167" /> <icon height="172" src="resources/ios/icon/[email protected]" width="172" /> <icon height="196" src="resources/ios/icon/[email protected]" width="196" /> <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> <icon height="57" src="resources/ios/icon/icon.png" width="57" /> <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> <icon height="40" src="resources/ios/icon/[email protected]" width="40" /> <icon height="60" src="resources/ios/icon/[email protected]" width="60" /> <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="48" src="resources/ios/icon/[email protected]" width="48" /> <icon height="55" src="resources/ios/icon/[email protected]" width="55" /> <icon height="88" src="resources/ios/icon/[email protected]" width="88" /> <icon height="172" src="resources/ios/icon/[email protected]" width="172" /> <icon height="196" src="resources/ios/icon/[email protected]" width="196" /> <icon height="216" src="resources/ios/icon/[email protected]" width="216" /> <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> <icon height="152" src="resources/ios/icon/[email protected]" width="152" /> <icon height="167" src="resources/ios/icon/[email protected]" width="167" /> <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> <splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" /> <splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" /> <splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" /> <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> <icon height="57" src="resources/ios/icon/icon.png" width="57" /> <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> <icon height="40" src="resources/ios/icon/[email protected]" width="40" /> <icon height="60" src="resources/ios/icon/[email protected]" width="60" /> <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="48" src="resources/ios/icon/[email protected]" width="48" /> <icon height="55" src="resources/ios/icon/[email protected]" width="55" /> <icon height="88" src="resources/ios/icon/[email protected]" width="88" /> <icon height="172" src="resources/ios/icon/[email protected]" width="172" /> <icon height="196" src="resources/ios/icon/[email protected]" width="196" /> <icon height="216" src="resources/ios/icon/[email protected]" width="216" /> <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> <icon height="152" src="resources/ios/icon/[email protected]" width="152" /> <icon height="167" src="resources/ios/icon/[email protected]" width="167" /> <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> <splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" /> <splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" /> <splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" /> <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> <icon height="57" src="resources/ios/icon/icon.png" width="57" /> <icon height="114" src="resources/ios/icon/[email protected]" width="114" /> <icon height="20" src="resources/ios/icon/icon-20.png" width="20" /> <icon height="40" src="resources/ios/icon/[email protected]" width="40" /> <icon height="60" src="resources/ios/icon/[email protected]" width="60" /> <icon height="29" src="resources/ios/icon/icon-29.png" width="29" /> <icon height="58" src="resources/ios/icon/[email protected]" width="58" /> <icon height="87" src="resources/ios/icon/[email protected]" width="87" /> <icon height="48" src="resources/ios/icon/[email protected]" width="48" /> <icon height="55" src="resources/ios/icon/[email protected]" width="55" /> <icon height="88" src="resources/ios/icon/[email protected]" width="88" /> <icon height="172" src="resources/ios/icon/[email protected]" width="172" /> <icon height="196" src="resources/ios/icon/[email protected]" width="196" /> <icon height="216" src="resources/ios/icon/[email protected]" width="216" /> <icon height="40" src="resources/ios/icon/icon-40.png" width="40" /> <icon height="80" src="resources/ios/icon/[email protected]" width="80" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="50" src="resources/ios/icon/icon-50.png" width="50" /> <icon height="100" src="resources/ios/icon/[email protected]" width="100" /> <icon height="60" src="resources/ios/icon/icon-60.png" width="60" /> <icon height="120" src="resources/ios/icon/[email protected]" width="120" /> <icon height="180" src="resources/ios/icon/[email protected]" width="180" /> <icon height="72" src="resources/ios/icon/icon-72.png" width="72" /> <icon height="144" src="resources/ios/icon/[email protected]" width="144" /> <icon height="76" src="resources/ios/icon/icon-76.png" width="76" /> <icon height="152" src="resources/ios/icon/[email protected]" width="152" /> <icon height="167" src="resources/ios/icon/[email protected]" width="167" /> <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" /> <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" /> <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" /> <splash height="2688" src="resources/ios/splash/Default-2688h~iphone.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-2688h~iphone.png" width="2688" /> <splash height="1792" src="resources/ios/splash/Default-1792h~iphone.png" width="828" /> <splash height="828" src="resources/ios/splash/Default-Landscape-1792h~iphone.png" width="1792" /> <splash height="2436" src="resources/ios/splash/Default-2436h.png" width="1125" /> <splash height="1125" src="resources/ios/splash/Default-Landscape-2436h.png" width="2436" /> <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" /> <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" /> <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" /> <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" /> <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" /> <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" /> <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" /> <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" /> <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" /> <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" /> <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" /> </platform> <plugin name="cordova-plugin-statusbar" spec="2.4.2" /> <plugin name="cordova-plugin-device" spec="2.0.2" /> <plugin name="cordova-plugin-splashscreen" spec="5.0.2" /> <plugin name="cordova-plugin-ionic-webview" spec="^4.0.0" /> <plugin name="cordova-plugin-ionic-keyboard" spec="^2.0.5" /> </widget> ` -- 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]
