Setting up the branch.io service in expo for android it asks for “SHA256 Cert Fingerprints”
how do I get this. is it from play store console do I need to hack it off the finished APK?
https://www.learn2crack.com/2013/12/setup-google-play-services-sha1-fingerprint.html
Some crafty forum searching, soul searching lead me to find.
Android Signing Key to get your android keystore file.
Run exp fetch:android:keystore
Then Branch says to run keytool -list -v -keystore my-release-key.keystore
and then the CLI asks for your keystore password which expo has given from the first command.
But then Java happens…
Enter keystore password:
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at sun.security.tools.keytool.Main.doCommands(Main.java:933)
at sun.security.tools.keytool.Main.run(Main.java:366)
at sun.security.tools.keytool.Main.main(Main.java:359)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
... 7 more
So close but no success…
Aha I entered the wrong password.
Cool my awesome way works.
exp fetch:android:keystore
keytool -list -v -keystore my-release-key.jks
Paste the SHA256: into branch.io
Glad you figured it out @gregbenner!
Also, thanks for posting your findings for the rest of the community to see. We always appreciate that.
Cheers,
Adam
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.