FlutterOAuth icon indicating copy to clipboard operation
FlutterOAuth copied to clipboard

how to hide YOUR_CLIENT_SECRET from my app

Open rupamking1 opened this issue 4 years ago • 5 comments

how to hide YOUR_CLIENT_SECRET from my app

rupamking1 avatar Jan 11 '21 05:01 rupamking1

use:

--dart-define=SECRET=Value

as your env-variable.

Ahmadre avatar Feb 20 '21 20:02 Ahmadre

use:

--dart-define=SECRET=Value

as your env-variable.

can i hide completely secret key from my app using this method?

rupamking1 avatar Feb 21 '21 13:02 rupamking1

use:

--dart-define=SECRET=Value

as your env-variable.

can i hide completely secret key from my app using this method?

Yes, of course. Seems like you never heard of env-variables. They appear nowhere, check this out: stackoverflow and please close this, because this hasn't anything to do with the package :)

Ahmadre avatar Feb 21 '21 21:02 Ahmadre

is that works on release mode.

rupamking1 avatar Feb 22 '21 01:02 rupamking1

is that works on release mode.

Of course! It's especially made for releases and flavoured apps. Why don't you just try ;)

Ahmadre avatar Feb 23 '21 01:02 Ahmadre