Firebase with Ionic

113 views
Skip to first unread message

FHCP

unread,
Aug 16, 2016, 9:54:54 AM8/16/16
to Firebase Google Group
Hi,

I am new to firebase and ionic
However, the app work fine in offline but cannot connect with firebase.
Anyone could help? Or have a better tutorial?

Thanks!

Kato Richardson

unread,
Aug 16, 2016, 12:17:07 PM8/16/16
to Firebase Google Group

I’d start by checking that you’ve whitelisted the appropriate domains (*.firebaseio.com, et al) in your config. That’s usually the culprit for connectivity issues. Beyond that, you’d need to provide a minimal repro that recreates the problem, and some error logs.

You may want to try turning on debugging for some more insights into what’s happening with the server connections:

JS:  firebase.database().enableLogging(true);
iOS:  [FIRDatabase setLoggingEnabled:YES];
Android:  FirebaseDatabase.getInstance().setLogLevel(Logger.Level.DEBUG);

☼, Kato


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/c9a0d089-8ce0-46d5-a5c7-93061a6ed8b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Jorge Andrés Vergara Ebratt

unread,
Aug 16, 2016, 7:28:23 PM8/16/16
to Firebase Google Group
Hey there,

I wrote a series of tutorials to get started with Ionic 2 and Firebase 3 using the JS SDK, check out the series here and let me know if it helps :)
Reply all
Reply to author
Forward
0 new messages