I was trying to integrate Google Sign-in System to my app using Firebase Authentication component.
here’s what i did.
uploaded google services json file to assets,
also added fingerprint keystore to firebase
configured firebased properly
did simple coding just to run and test,
but when i compile apk it shows, “Given string is empty or null” END APPLICATION
, though it works on live test.
where i went wrong ?
Is your package name correct?
yes i checked but still can u tell how to dobule check it,
update : yes i checked, package name is correct, because sign up & sign in with email is working fine.
vknow360
(Sunny Gupta)
April 4, 2019, 4:05am
#5
Try using firebase authentication login success block.
Please tell me the process
process of what ? @sanjay5_329
1 Like
vknow360
(Sunny Gupta)
April 4, 2019, 1:19pm
#8
If you want to know how to use firebase authentication then go the link given below.
The Doc part for "Sign in with Google " provided by Kodular is not complete . You need SHA1 key must.
Steps for Sign in with Google
Google Login¶
To enable Google Login for Firebase Authentication you need to do a few more steps.
Go to the Authenticaiton Section in the Firebase Console and click on the Google Login ![Firebase Auth Google]
[image]
Set the “Enable” switch to enabled
After that you need to add your SHA1 key to you app in Firebase.
[Screenshot%20(269)]
Step 2
You need a s…
Use my advice:- First try yourself and then if you stuck then show what you tried and be polite.
You should read this:
Before you Ask
Do a search of the forum to see if your question has already been asked.
Check the Makeroid Documentation to see if there’s an example you can use.
Make sure you have a really descriptive topic title for your post.
Creating A Helpful Topic Title
Avoid using titles like, “my app is broken” or “HELP ME!!!”, instead try to briefly describe the problem you are trying to solve. i.e.
“How do I change the background color of Screen1?”
Asking Your Question
Take your time when writ…
1 Like
I have followed every single step of the post that you have provided, also integrated the SHA1 key still when I run the apk on phone it says it is an empty string
SVasco
(SVasco)
April 5, 2019, 11:31am
#10
Same problem here: “Given string is empty or null” error
1 Like
SVasco
(SVasco)
April 5, 2019, 11:50am
#11
When i saved the .apk in my computer, I opened it with the Winrar, and I could see that the assets folder does not have the google-services.json file inside the folder!
That is normal?
If not, how to solved it?
The .aia file has the google-services.json inside!
Also, the google-services.json file appears in the console assets screen.
1 Like
yaa, i also uploaded json file but it is not compilling with the apk. if someone from @KodularCreator is watching please resolve this
@a5artilary i know its annoying but nobody has come up with a solution yet
1 Like
pavi2410
(Pavitra Golchha)
April 6, 2019, 7:50am
#15
Can someone verify whether this works?
pavi2410
(Pavitra Golchha)
April 6, 2019, 10:49am
#17
Check the presence of
"api_key": [
{
"current_key": "validity-key-xxxxxxxxxxxxxxx"
}
]
in google-services.json file.
@pavi2410 YES it is there in json file now ??? I mean how do we check it is correct or not ? I have tried so many times, on different projects
1 Like
a5artilary
(A5Artilary)
April 6, 2019, 10:56am
#19
Yeah . maybe @The_Developer_2.0 can help.
a5artilary
(A5Artilary)
April 6, 2019, 11:09am
#20
What is the key? Is that web api of firebase project or different one?