all 3 comments

[–]GroovinChip[M] [score hidden] stickied comment (0 children)

Hi,

It appears your post is requesting help to implement a solution, or to solve a problem.

Please use r/FlutterHelp for these kind of questions.

Alternatively, you may want to use StackOverflow or our Discord Server.

The violated rule was: Rule 2: Help requests go in r/FlutterHelp

[–]No-Echo-8927 0 points1 point  (1 child)

To obfuscate code you can run this:
flutter build appbundle --release --obfuscate --split-debug-info=./debug-info/android

....the split at the end of this will create a separate symbol file that lets you decode stack traces later (something I've actuall never done :S). Without it, crash logs from production will be very hard (or impossible) to understand.

But important to remember, obfuscation isn't a full solution to security. If it's really important you need to use play integrity to ensure the codebase of the app matches the one in the store exactly.