Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature not coming with SMS in release mode #238

Open
bhanuka96 opened this issue Jul 23, 2024 · 3 comments
Open

Signature not coming with SMS in release mode #238

bhanuka96 opened this issue Jul 23, 2024 · 3 comments

Comments

@bhanuka96
Copy link

I implemented SMS autofill in my application. It works perfectly in debug mode but does not receive a signature in SMS in release mode.

Here is the relevant code snippet:

class _LoginWidgetState extends State<LoginWidget> with CodeAutoFill {

  @override
  void initState() {
    super.initState();
    listenForCode();
    SmsAutoFill().getAppSignature.then((signature) {
    // no code here
    });
  }

  @override
  void codeUpdated() {
     loginCompleted(code);
  }

  @override
  void dispose() {
    cancel();
    unregisterListener();
    super.dispose();
  }
@nurlan1998
Copy link

in the play store the app signature changes

@s4rath07
Copy link

did you get the solution? Can i use this package for a production application?

@bhanuka96
Copy link
Author

@s4rath07 No, not yet. @jaumard, why is not getting signature in release mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants