website icon indicating copy to clipboard operation
website copied to clipboard

Clarify that obfuscation command does not apply only to apks on 'Obfuscate Dart code' page

Open YohanWadia opened this issue 1 year ago • 2 comments

Page URL

https://docs.flutter.dev/deployment/obfuscate/

Page source

https://github.com/flutter/website/tree/main/src/deployment/obfuscate.md

Describe the problem

a command to obfuscate only exists for APKs???? Im given the impression after reading thousands of lines... about how to release an Android app via flutter... and given a special link to a new page about how to OBFUSCATE.... this is only for APKs? and then dont you think there should atleast be a mention of showing how to obfuscate with an app bundle???

Expected fix

Atleast the same direction or line of code incase you chose app bundle.

Additional context

No response

I would like to fix this problem.

  • [ ] I will try and fix this problem on docs.flutter.dev.

YohanWadia avatar Nov 13 '23 08:11 YohanWadia

Hi @YohanWadia, in the supported targets section of the page, you see the list of targets that are supported. See https://docs.flutter.dev/deployment/obfuscate#supported-targets.

You can substitute the apk command for any other target you want to build.

Is there something that you think we need to clarify?

The apk used in the command is just an example

danagbemava-nc avatar Nov 13 '23 12:11 danagbemava-nc

I have seen the list... that is clear. whats not is the all important fact that you mentioned here...

You can substitute the apk command for any other target you want to build.

That should be mentioned in the docs too

YohanWadia avatar Nov 13 '23 15:11 YohanWadia