Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Firebase Chat Doesn't Connect
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by Tyde.
- AuthorPosts
- May 3, 2020 at 12:02 pm #125929TydeParticipant
I just purchased Ultimate specifically for the Chat feature. But the setup for Firebase has changed and when entering the following from your setup guide:
{
“rules”: {
“.read”: “true”,
“.write”: “true”
}
}And
|| request.auth == null
Both lines of code generate errors.
Can you advise what the updated code should be.
Thanks
- May 3, 2020 at 1:26 pm #125955TydeParticipant
Hi there, I figured it out and was able to connect. All good.
- May 22, 2020 at 6:39 pm #134182Kenneth WallParticipant
Hi i was having same issue, what did you do to fix?
- June 4, 2020 at 5:44 pm #138355Kenneth WallParticipant
Hi james, can you let me know what you did to fix it? I had same issue.
- June 4, 2020 at 6:49 pm #138376TydeParticipant
Hi Kenneth
I chose the wrong type of firebase database and the data entry options didn’t match up with the WCLovers guide. Once I used the correct DB it went smoothly. The WCLovers documentation on the steps involved is spot on:
https://docs.wclovers.com/live-chat-firebase-rules/
Also watch out for:
Quote: Step 8 : Add “|| request.auth == null” at the last in to the code
Look at the screen shot – line 4: “allow read, write: if request.auth !=null || request.auth == null;
In the default settings make sure the “:” is moved from after the first “null” to after the second “null”
Good luck!
- AuthorPosts
- You must be logged in to reply to this topic.