flutter-template icon indicating copy to clipboard operation
flutter-template copied to clipboard

Standardized way of injecting secrets

Open johsoe opened this issue 3 years ago • 2 comments

Potential candidates for this

flutter_dotenv

johsoe avatar Nov 07 '22 13:11 johsoe

I think this raises a security issue if we're planning on adding sensitive data to the .env file because the .env will be included in the app bundle.

However it's still better than adding the secrets to the code itself, because now production secrets will be hidden from devs.

The ultimate solution would be not to store secrets on FE at all, and store them on BE instead.

https://github.com/java-james/flutter_dotenv/issues/51#issuecomment-1040908470

hassan-saleh-ml avatar Apr 13 '23 08:04 hassan-saleh-ml

Another candidate proposed by Pritam: https://pub.dev/packages/envied

johsoe avatar Sep 04 '23 12:09 johsoe