0

Connect firebase in SoloLearn?

So I want to make a messaging app inspired by @Coder. I want to use firebase. But when I want to test and write some data to the real-time database I get a "permission denied" error. Could anyone help? https://code.sololearn.com/WpLB6KTS7VDx/?ref=app

10th Aug 2019, 1:04 PM
Paul Grasser
Paul Grasser - avatar
9 Antworten
+ 4
Have you set the anonymous access in the project console? Are the rules of you firebase project allow writing?
10th Aug 2019, 1:56 PM
Burey
Burey - avatar
+ 4
Okay then Have you enabled anonymous access in sign in method? Authentication => sign-in method => click anonymous => enable => save
10th Aug 2019, 2:04 PM
Burey
Burey - avatar
+ 3
Paul Grasser Would be nice to see the code but you removed the link 😅
11th Aug 2019, 5:48 AM
Burey
Burey - avatar
+ 1
Paul Grasser Can you paste the rules in here?
10th Aug 2019, 2:13 PM
Burey
Burey - avatar
+ 1
Oh for some reason they were still on false 🤦‍♂️ thanks Coding mistakes are always like this
10th Aug 2019, 10:52 PM
Paul Grasser
Paul Grasser - avatar
+ 1
Burey one more question, the message container seems to be going under the input box, how do I make them both next to each other, not one on top? and that it automatically scrolls to the bottom?
10th Aug 2019, 11:01 PM
Paul Grasser
Paul Grasser - avatar
+ 1
I can add the link back for the input box if you can help Burey Well the link is back now.
11th Aug 2019, 6:05 AM
Paul Grasser
Paul Grasser - avatar
0
Burey yes I set it up in test mode (anyone with the link can read and write).
10th Aug 2019, 2:00 PM
Paul Grasser
Paul Grasser - avatar
0
Did it, still get the error 🤔
10th Aug 2019, 2:06 PM
Paul Grasser
Paul Grasser - avatar