Open yash365 opened 3 years ago
Have you tried using the in built get app signature method that should give you the value?
Hello @grahamsmith yes i tried that only at first the inbuilt method i.e. :
final smscode = await SmsAutoFill().getAppSignature;
Use this sms format which mentioned:
<#> ExampleApp: Your code is 123456 FA+9qCX9VSu
Ah I don't run Windows.
The signature method should work for a release build without submitting to the Play Store. You just need to run the build locally.
I tried that but didn't work.
I followed all the using keytool mentioned here : https://developers.google.com/identity/sms-retriever/verify#computing_your_apps_hash_string. in windows.
I got the 11 digit has string but it is not working and getting this output after following command:
keytool -exportcert -alias PlayDeploymentCert -keystore MyProductionKeys.keystore | xxd -p | tr -d "[:space:]" | echo -n com.example.myapp cat | sha256sum | tr -d "[:space:]-" | xxd -r -p | base64 | cut -c1-11
Getting the following warning message:
Warning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format tr: write error
Don't know why "tr: write error" is coming ?