Skip to content
Discussion options

You must be logged in to vote

It says also, that the mapping file is found in /build/outputs/mapping/ but I don't see a mapping directory in /build/outputs. Or can I ignore the warning and it's wrong?

Google always warns if you don't provide a mapping. But the mapping is only generated if your build actually uses Proguard, which cordova builds does not.

Because Cordova usually refers to functions by string, using reflection for the cordova bridge, enabling Proguard breaks the cordova framework since proguard will obsfucate/minimize function names to create a smaller build. The mapping is so it can take the proguard output and translate it back to the original symbols.

Because Cordova build doesn't use proguard thoug…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GitToTheHub
Comment options

GitToTheHub Jul 17, 2025
Collaborator Author

Answer selected by GitToTheHub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants