Closed kendyl93 closed 3 years ago
@kendyl93 Are you using the same hash for Prod and Staging App? If you are creating the app hash with signed APK then the hash should be different.
May help this: https://github.com/hanatharesh2712/ionic-native-sms-retriever-plugin-master/issues/22
@kendyl93 Are you using the same hash for Prod and Staging App? If you are creating the app hash with signed APK then the hash should be different.
May help this: #22
Thanks for your answer. As I mentioned in the description. I tried to add the hash both ways. I put that hash the same for staging and production. Funny thing is that it was working but at some point, it stopped and I am not sure why it happened. Any ideas what change I provide that the hash stopped working?
To the link you posted above. I dont have any id
attribute in <widget ...
. I am using capacitor and I signed the hash with package="es.myAwesomeApp.app"
from AndroidManifest.xml
file.
@kendyl93 I mean, The hash generated for Stagging app won't work for the Production app. You need to generate the new hash for the production build.
Closing as no response
@kendyl93 I mean, The hash generated for Stagging app won't work for the Production app. You need to generate the new hash for the production build.
How to generate new hash?
Current behavior: Sms comes and nothing happens. After some time the is the TIMEOUT error.
Expected behavior: App should read the sms activation code and paste it in the inputs in register page.
Related code:
Here you have my package.json
Activation code service:
and here I am listening for the sms code in the register page:
Other information: I have the app made in IONIC(angular) and the hash was working for a few months but it stopped working for any reason. I've updated the hash code for three environments. Local, staging, and production. Staging and production are handled by Appcenter. Locally reading the SMS code is working as well as on staging. When it comes to the production version it is not working at all. I've also enabled the auto-fill option in the device settings.
I've tried to generate the code in two ways:
Both methods are working on staging and locally but not works on the production build.
I am not sure if I provide you enough information but I cannot show you my whole repo because it is private.