Skip to content

[Documentation] Proguard Rules for firebase products and other plugins as needed #37839

@raveesh-me

Description

@raveesh-me

Use case

In the build and release on android page,
https://flutter.dev/docs/deployment/android#step-1---configure-proguard
Screenshot (37)

There are indications that we need additional proguard rules for firebase products.

In the firebase launch checklist,
https://firebase.google.com/support/guides/launch-checklist#authentication
Screenshot (38)

We are told to configure proguard rules to work with auth. But clicking on the link (https://firebase.google.com/docs/auth/android/start/#proguard) produces nothing at all.

This is kind of confusing. And the warnings during minification/obfuscation of release build are also very scary as to the stability of the release builds.

Proposal

Readme of the official plugins should come with their release build instructions, that include precise guidance of if there are additional configuration like proguard needed, and exactly what those rules are, and should be updated if those rules change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.packageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions