Configure firebase completely in WP admin - Vibebp - Settings . Especially the private key parts.
The below video shows how it works , althoguh you do not need the PWA, just enableing firebase would fix this, make everything happen in real time. All caches are cleared in real time. Also note we have "Drag to refresh", page refreshes are really not required at all.
Hello,
The messages between the Instructor and the Student don't update automatically, both sides need to refresh the page to see the new message.
How can we make that new messages will appear automatically?
Configure firebase completely in WP admin - Vibebp - Settings . Especially the private key parts.
The below video shows how it works , althoguh you do not need the PWA, just enableing firebase would fix this, make everything happen in real time. All caches are cleared in real time. Also note we have "Drag to refresh", page refreshes are really not required at all.
Hi Ripul,
There are 5 fields to fill at the admin panel (Vibe BP >> Settings):
1) Enter Firebase Config - We already filled this for the social networks login option.
Please send screenshots or video where can we find the rest:
Enter Firebase private key:
Enter Firebase web api key:
Enter Firebase UID:
Enter Firebase service email:
2) Do we need to create a new Firebase project or use the one we created before for the social networks login?
Please check the attached screenshot.
If you could provide a screenshot video that would be great.
Thanks,
I configured the firebase in another ticket. Let me know if it made any improvements
Hi Ripul,
Thanks for configuring Firebase.
Unfortunately messages are not being sent automatically still, please see https://drive.google.com/file/d/1VtwFHLie6ZQvijX0RQ7ZQNQ-E-a8QP9v/view?usp=sharing
Now, we just need to enable service worker for this real time . Locating creds from another ticket and doing that
Hi Ripul,
Any news about this ticket?
Updating for me : https://somup.com/c3jqD5Uchh
Its not chat , its messages .
However if you setup service worker asper video we provide live notification to reload data if user is on messages screen itself .