-
Build your keytool command. (I ran mine in bash, powershell might behave differently)
Just replace
com.sms_listener
with your own package name. The default-alias
for the debug keystore will always beandroiddebugkey
keytool -exportcert -alias androiddebugkey -keystore debug.keystore | xxd -p | tr -d "[:space:]" | echo -n <<<com.sms_listener>>> `cat` | sha256sum | tr -d "[:space:]-" | xxd -r -p | base64 | cut -c1-11
OR
./sms_retriever_hash_v9.sh — package “com.your.packagename” — keystore /path/to/upload.keystore
If you are using the debug keystore like me, it will ask for a password after you run the above command. The default password is:
android
A string will then be generated, something like this:
gaMzAZ+vMRr
-
In the extended controls for Android Emulator
Phone --> SMS Message
<#> Your Example app code is: 123ABC78 /gaMzAZ+vMRr
Of course replacing the 11 hash characters at the end with your own :)
-
Notifications
You must be signed in to change notification settings - Fork 0
Technaur/sms-listener-example
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published