Yes you can’t use import in PlayCanvas scripts. You will have to either use a browser based build of the firebase sdk or use some trick JS to load the module on runtime.
Here is an example for the latter:
Yes you can’t use import in PlayCanvas scripts. You will have to either use a browser based build of the firebase sdk or use some trick JS to load the module on runtime.
Here is an example for the latter: