We've got an android app with sms login feature. When user gets an sms message in the format of, for example "Your auth code: 1234 KLa37su2s0g", then the code "1234" is automatically inserted in the code prompt field.
For android devices with google services we use google's SMS Retriever API. For huawei devices (which dont support google services) we use Huawei SMS Retriever API.
The main issue is that we get different hash codes (in the above example: "KLa37su2s0g") for google and huawei SMS Retriever APIs when trying to calculate those hash codes for release builds.
So the question is: do these sms hash codes should be the same or different for google and huawei?
There is no problem with the difference between the hash codes of the SMS messages provided by Google and Huawei.
The
hash_valuefield in the SMS message is generated by the HMS Core SDK to uniquely identify the current application. Huawei hash codes are generated by the HMS Core SDK.