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
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
I need to import firebase on web and firebase_io on mobile. Here's how I do it:
import 'package:firebase/firebase.dart'
if (dart.library.io) 'package:firebase/firebase_io.dart'
if (dart.library.html) 'package:firebase/firebase.dart';
It works just fine on web, but on mobile, when using firebase_io, storage() is not defined. Any idea why? How can I avoid this? (Before, I was using firebase_storage/firebase_storage.dart but that doesn't seems compatible with firebase/firebase.dart either)
The text was updated successfully, but these errors were encountered:
Hello!
I need to import
firebase
on web andfirebase_io
on mobile. Here's how I do it:It works just fine on web, but on mobile, when using firebase_io, storage() is not defined. Any idea why? How can I avoid this? (Before, I was using firebase_storage/firebase_storage.dart but that doesn't seems compatible with firebase/firebase.dart either)
The text was updated successfully, but these errors were encountered: