The correct steps of obfuscation toward release version for google app store?

84 views
Skip to first unread message

cargo securitysystems

unread,
Oct 6, 2020, 12:18:42 PM10/6/20
to Flutter Development (flutter-dev)
Hi,
I need some confirmation from some experts here whether I am doing all correct or not. I am about to publish my app to the google app store. So I followed this link https://flutter.dev/docs/deployment/android#publishing-to-the-google-play-store. Coming to this step https://flutter.dev/docs/deployment/obfuscate with regards to obfuscating. I just says run this command flutter build apk --obfuscate --split-debug-info=//. Normally I do run this command too when I would want to test it on my phone etc. So will this command be the last command and then I go the /myapp/build/app/outputs/apk/release/myapp.apk and then I submit the file ready? My question is do I need to also follow and set this configuration too https://medium.com/@swav.kulinski/flutter-and-android-obfuscation-8768ac544421 ? Here its about proguard right? Here is where I am lost please could someone help me confirm which is the right direction and securing my app?  

Souvik Dutta Chowdhury

unread,
Oct 6, 2020, 11:21:17 PM10/6/20
to cargo securitysystems, Flutter Development (flutter-dev)
I think you will have to first follow these medium article to tell proguard about what to not shrink and then use the command as said in the flutter website.

On Tue, 6 Oct 2020, 9:48 pm cargo securitysystems, <crg.srt...@gmail.com> wrote:
Hi,
I need some confirmation from some experts here whether I am doing all correct or not. I am about to publish my app to the google app store. So I followed this link https://flutter.dev/docs/deployment/android#publishing-to-the-google-play-store. Coming to this step https://flutter.dev/docs/deployment/obfuscate with regards to obfuscating. I just says run this command flutter build apk --obfuscate --split-debug-info=//. Normally I do run this command too when I would want to test it on my phone etc. So will this command be the last command and then I go the /myapp/build/app/outputs/apk/release/myapp.apk and then I submit the file ready? My question is do I need to also follow and set this configuration too https://medium.com/@swav.kulinski/flutter-and-android-obfuscation-8768ac544421 ? Here its about proguard right? Here is where I am lost please could someone help me confirm which is the right direction and securing my app?  

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/2f2c27da-ce01-4286-8e87-17e979b76094n%40googlegroups.com.

cargo securitysystems

unread,
Oct 7, 2020, 11:23:47 PM10/7/20
to Flutter Development (flutter-dev)

Hi Souvik,
                  So I follow the medium article method first? What if I don follow and I just follow directly the flutter website what difference will it be? So if I follow the flutter website so the final apk build is to be generated via this command right flutter build apk --obfuscate --split-debug-info=/<project-name>/<directory> and then I upload that build from that directory ? 
Reply all
Reply to author
Forward
0 new messages