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
released apk #9
Comments
Comment by Rissmon Facing the related issue with SMS Retriever API. Once the application is downloaded from the play store the automatic msg reading is not working. |
Comment by PemmasaniRajesh I'm also facing the same issue. I've generated the haskey using AppSignatureHelper class and it is working fine in release mode also. But when I downloaded the apk from playstore, it is not working |
Comment by shikhakothiyal Go to build gradient ->and change debugging mode to release mode -> now again run the code and you will get a new key. |
Comment by PemmasaniRajesh It is working in release mode, when i download the apk from playstore it is not working. Google App Signing is enabled for my app. Is this the case, it is not working? |
Comment by Rissmon @PemmasaniRajesh It's the same issue I am facing. Any solution to this problem?. API is working for debug and release build but once uploaded to playstore with Google App Signing is enabled SMS Retrieval API stop working. |
Comment by Rissmon
@shikhakothiyal It will work for release and debug build. We are facing this issue when the same build is downloaded from playstore. |
Comment by sahil994 Facing same issue the API is working fine for release and debug build and does not work when i downloaded from Play Store. |
Comment by ithinkihaveacat Are there any messages in the logs? |
Comment by Rissmon @ithinkihaveacat Issue exists only for the play store build so I'm not able to extract any logs. |
Comment by vikas56 keep log for playstore build and check hash key generated.Because signed apk,debug apk and playstore build apk have different hash keys.Give that hash key of playstore build to backend folks. |
Comment by Rissmon
Yes i tried that but still same issue |
Comment by PemmasaniRajesh
Yeah this is working for me.... |
Comment by sureshperiyasamy
@PemmasaniRajesh Are you generating Hash key using AppSignatureHelper class ? |
Comment by kunalsale I'm facing the same issue. It is working fine in debug build as I'm using AppSignatureHelper for hash key. I used the following command to generate the hash for signed build:
But SMS is not getting auto retrieved. Is there any solution for the issue? |
Comment by sureshperiyasamy
Use this ruby script and get hash key it worked fine for me |
Comment by shivamverma676 Facing same issue the API is working fine for release and debug build and does not work when i downloaded from Play Store. So i found the solution, i have provide the play store generated hash to backend. For generate hash key on playstore, i have used AppSignatureHelper class and make Toast for the generated hash key and upload this build on play store. After successfully rollout, i have download the build. Now Toast will show with the playstore generated hash key, provide this key to backend. It is working fine for me. |
Comment by taufik1993 I am using SMS API for read OTP, I have uploaded build on play store and install in mobile from play store, first time message was not read but when i kill application and run again it is work, Why? |
Comment by taufik1993
When i am running this file this way but getting this result |
Comment by shikhakothiyal Change the build variant setting to release mode and regenerate your key. On Wed, Mar 27, 2019, 5:10 PM Taufik Hussain notifications@github.com
|
Comment by taufik1993
I have changed build variant but getting same issue first time message was not read but when i kill application and run again its work why?? |
Comment by taufik1993
First time message was not read but when i kill application and run again its work why?? |
Comment by VikhyatC
|
Comment by PemmasaniRajesh Yes, I'm using the AppSignatureHelper class only.... |
Comment by VikhyatC
does it work for you? |
Comment by PemmasaniRajesh Yup.... |
Comment by VikhyatC I'm using this link to generate a app hash. https://github.com/googlesamples/android-credentials/blob/master/sms-verification/android/app/src/main/java/com/google/samples/smartlock/sms_verify/AppSignatureHelper.java. am i missing something?.Since this implementation is working on release and debug app but not the app downloaded from playstore. |
Comment by PemmasaniRajesh Yeah, I'm also using the same class. I don't know how you're generating the hashkey in release mode. The hashkey is different for release build and playstore build. First release the app in playstore by generating the hashkey in some screen of your app as toast message. Once you download the app from playstore, you can get the hashkey and save it. After this, release the app once again in playstore with the new hashkey. |
Comment by taufik1993
I facing same issue but when i have registered my BroadcastReciever class inside AndroidManifast.xml It's working fine for me. |
Comment by VikhyatC
|
Comment by PemmasaniRajesh I'm not sure about this. I've tried in production only and it worked. I hope it will not change for alpha and production builds. |
I have a question. |
Of course it does
…On Fri, Nov 20, 2020, 1:14 AM Yuvi7447 ***@***.***> wrote:
I have a question.
Does the Google Play signs the App for beta track and alpha track using
the same certificate used in production?
We have an app published on production, we have calculated hash string
correctly and auto read OTP feature works perfectly on production. Now we
have created a closed track release for upcoming app update to test and
somehow the auto read OTP feature does not work on it.
I got to know google play signs the app when App Signing by Google is
enabled and hash string will be different. But, when we submit app update
on Alpha/ Beta track, does it uses the same certificate to sign the App
that currently it is using for Production.
Can anyone help me understand this? We are blocked on release because we
are unable to test auto read OTP feature with Alpha/Beta release which is
currently working fine in Production.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMF6KA4KJ4ZIPKC2YKBGI3TSQYCMDANCNFSM4IVMOAEQ>
.
|
Can you please elaborate? Feature works perfectly, but we are blocked on the Hash String part. We are seeing it is not working in Alpha/Beta, if the certificate is same for prdo/Alpha/Beta then Hash String for auto read OTP won't be different. |
Same problem but can anyone confirm it there any specific message format like it should start with <#> 2345 is your otp hashkey |
Issue by shikhakothiyal
Monday Dec 17, 2018 at 06:54 GMT
Originally opened as googlearchive/android-credentials#30
Hash key generated is not working for released apk. Do we have different keys for released and debug mode. What changes in program we need to make to get the key for released mode.
The text was updated successfully, but these errors were encountered: