jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
289 stars 184 forks source link

function getAppSignature can't run for release mode #90

Closed radigi2207 closed 3 years ago

radigi2207 commented 3 years ago

Hi, I am using this library to fill the OTP which works in most of the cases, but function getAppSignature can't run for release mode, the function return NULL, But when in debug mode it runs normally.

SmsAutoFill().getAppSignature.then((signature) { setState(() { appSignature = signature; // return NULL }); }); Version ^1.3.1 Device Testing

Please help me with this. @jaumard

psycura commented 3 years ago

Same issue

jaumard commented 3 years ago

It's not a function you're supposed to call in release mode, just an helper during debug to get your signature. What are the reason to call this in release ?

jaumard commented 3 years ago

No one ?

jaumard commented 3 years ago

Closing then :)