UTTAM KUMAR
UTTAM KUMAR

Reputation: 120

Signed .apk not working where debug .apk works fine

I am facing a problem of my android app(online streaming app). I had to make an app in which performs online video streaming. It has firebase phone number authentication. my problem is that the debug app is working properly but the signed apk is not working properly at authentication section. it does not send verification code. please help me out configure it..

Upvotes: 0

Views: 606

Answers (2)

Uma Achanta
Uma Achanta

Reputation: 3739

You need to add SHA1 of your release key store file in firebase console.

you can get SHA1 with follow command

keytool -list -v -keystore {keystore_name} -alias {alias_name}

eg:

keytool -list -v -keystore C:\Users\me\Desktop\release.jks -alias sample

Upvotes: 0

Often, this kind of problem is linked with the android permissions. The app works fine in debug mode because android is "allowing" your phone by default. Try to add the "android.permission.INTERNET" in your android manifest and try to deploy the app again.

Hope this is helpful, good luck

Upvotes: 1

Related Questions