Hello fellow air developers,
Since Flox is phasing out I have decided to migrate to Firebase. However I am unable to get things working.
Maybe I missed something, but I didn't see anything in the docs about the correct import statements.
So far I have added these 4 required ANEs to my project:
com.distriqt.Core
com.distriqt.androidsupport.V4.ane
com.distriqt.playservices.Base.ane
com.distriqt.Firebase
Also, I added the plist file to my root.
I am trying to init Firebase with my app key:
try
{
Firebase.init("app key hidden");
FirebaseAuth.init("app key hidden");
}
catch (e:Error)
{
trace( e );
}
I am getting errors of undefined property firebase and auth.
Can sometime tell me the correct import statements, also I thought we are no longer required to use an app key, but this was in the document so I tried to follow it as is.
Thanks in advance for the help.