Opening the apk does not properly display the splash screen #667
Closed
siddhishinde0723
started this conversation in
General Discussion
Replies: 1 comment 6 replies
-
@swayangjit is there any solution for the splash screen icon issue |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using SDK 33, I have installed the release 4.6 apk.
My apk's splash screen icon never appears correctly when I open it.
Even after adding the SDK 33 patch to my configuration, the problem persists.
Here is the config file code
<platform name="android"> <preference name="android-targetSdkVersion" value="33" /> <hook src="scripts/deleteUnUsableIosIcon.js" type="before_run" /> <hook src="scripts/deleteUnUsableIosIcon.js" type="before_build" /> <hook src="scripts/android/fix-android-sdk33-migration.js" type="before_run" /> <hook src="scripts/android/fix-android-sdk33-migration.js" type="before_build" /> <hook src="scripts/copyGradleFiles.js" type="before_build" /> <hook src="scripts/copyBundledData.js" type="before_build" /> <hook src="scripts/copyGradleFiles.js" type="before_run" /> <hook src="scripts/copyBundledData.js" type="before_run" /> <hook src="scripts/android/android-10-migration-fix.js" type="before_build" /> <hook src="scripts/application/add_application.js" type="before_run" /> <resource-file src="MainActivity.java" target="app/src/main/java/org/sunbird/app/MainActivity.java" /> <config-file parent="/manifest/application" target="AndroidManifest.xml"> <meta-data android:name="io.fabric.ApiKey" android:value="${fabricKey}" /> <meta-data android:name="io.fabric.ApiSecret" android:value="${fabricSecret}" /> </config-file> <config-file parent="/*" target="AndroidManifest.xml"> <uses-permission android:name="android.permission.RECORD_AUDIO" /> <queries> <intent> <action android:name="android.media.action.IMAGE_CAPTURE" /> </intent> <intent> <action android:name="android.intent.action.GET_CONTENT" /> </intent> </queries> </config-file> <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application"> <application android:allowBackup="false" android:largeHeap="true" android:networkSecurityConfig="@xml/network_security_config" android:usesCleartextTraffic="true" /> </edit-config> <preference name="android-manifest/@xmlns:tools" value="http://schemas.android.com/tools" /> <preference name="android-manifest/application/@tools:replace" value="android:allowBackup" /> <preference name="android-manifest/application/@android:allowBackup" value="false" /> <preference name="loadUrlTimeoutValue" value="700000" /> <preference name="CodePushDeploymentKey" value="agojO-OZt4dZlt_pu9r9j2Ipy_jY90dbb065-3633-45a5-9c55-c0405eafaebb" /> <preference name="AndroidWindowSplashScreenAnimationDuration" value="5000" /> <preference name="AndroidXEnabled" value="true" /> <allow-intent href="market:*" /> <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <icon density="mdpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <icon density="hdpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <icon density="xhdpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <icon density="xxhdpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <icon density="xxxhdpi" src="resources/android/icon/drawable-ldpi-icon.xml" /> <preference name="AutoHideSplashScreen" value="true" /> <preference name="AndroidWindowSplashScreenBackground" value="#ffffff" /> <preference name="FadeSplashScreen" value="false" /> <preference name="SplashScreen" value="resources/android/splash/drawable-ldpi-splash.png" /> <preference name="SplashScreen" value="resources/android/splash/drawable-hdpi-splash.png" /> <preference name="AndroidWindowSplashScreenAnimatedIcon" value="resources/android/splash/drawable-ldpi-splash.png" /> <resource-file src="resources/android/icon/mipmap-hdpi-icon.png" target="app/src/main/res/mipmap-hdpi/n_icon.png" /> <resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" /> </platform>
cc: @swayangjit @luckynvdu @vpPavithra
Beta Was this translation helpful? Give feedback.
All reactions