You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
I am developing an app for KaiOS, a fork of the old Firefox OS, for which apps are based on HTML5 + JS. When compiling and running on device, Firebase analytics stops working. I receive an error as follows. I believe the issue is due to the fact that on device the app is served in the browser via a file:// based URL scheme rather than a http:// based scheme.
@firebase/analytics:
DOMException: A request was placed against a transaction which is currently not active, or which is finished.
In my research, I have found that Cordova, Expo, and other file:// based environments have had issues around the use of IndexDB not being supported, which FA relies on. I can confirm that KaiOS does have full support for IndexDB, however the above issue persists.
Feiyang1
changed the title
Firebase Analytics - file:// based environment support
FR: Firebase Analytics - file:// based environment support
May 6, 2020
Describe your environment
Describe the problem
I am developing an app for KaiOS, a fork of the old Firefox OS, for which apps are based on HTML5 + JS. When compiling and running on device, Firebase analytics stops working. I receive an error as follows. I believe the issue is due to the fact that on device the app is served in the browser via a file:// based URL scheme rather than a http:// based scheme.
In my research, I have found that Cordova, Expo, and other file:// based environments have had issues around the use of IndexDB not being supported, which FA relies on. I can confirm that KaiOS does have full support for IndexDB, however the above issue persists.
Relevant Code:
The text was updated successfully, but these errors were encountered: