Issue
We're using SplashScreen plugin on the Ionic App, which seems to work fine on usual debug and release builds.
But when we turn on the DexGuard/ProGuard for build steps and generate a protected APK file,
there the splash screen is not shown at all.
Instead, a black screen is shown with white strange borders and no spinner anymore.
Here are the screenshots before and after Dexguard:
In dexguard rules I've added the following lines to avoid renaming the splash screen images
-keepresourcefiles res/**
But it didn't help.
How to solve the problem?
Solution
It turned out dexguard was somehow still touching the splash screen files or resource names.
As a quick fix adding this rule worked:
-keepresources */*
But we might need a better and more specific solution.
Answered By - Just Shadow
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.