Closed ryutarosuda closed 3 years ago
Visit the preview URL for this PR (updated for commit 99b5e00):
https://stat-web-6372a--pr202-fix-199-hpwa9w3s.web.app
(expires Thu, 30 Sep 2021 02:15:20 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Well it seems not working... It was working at localhost
I will check again.
@yhakamay It is working indeed.
Did you join from the same browser? Due to the permission configuration
await auth.setPersistence(authInstance, auth.browserLocalPersistence);
joining from the same browser might cause some problem.
Please share your console log as well!
@RQ2L84Q-ROW Thanks for the suggestion. I've tried to join with two Google accounts, one on normal mode, another on incognito mode. And it now works!
Fix #199
Agora Track invisible -> visible
I added
await
atclient.subscribe
Firestore timing fix
It seems just adding
await
beforestat_firebase.init()
inagora.js
did not fix the issue. Instead, I modifiedtry{}...catch{}...finally{}
structure atstat_firebase.js
which resolved the issue.One more thing...
I created custom logging function. Use this for loggings that are not for debugging.