-
Notifications
You must be signed in to change notification settings - Fork 16
A.3. Add the SDK
If you would like to integrate any of the Firebase ANEs into your AIR app, the first thing you should do is to download and implement the firebaseCore.ane in your app. If you are new to implementing ANEs into AdobeAIR projects, this playlist on YouTube should help you.
Every Firebase ANE is dependent on some other different ANEs or iOS Frameworks. These dependencies are explained in details in this document.
Note1: When adding an ANE dependency to your project, you don't need to initialize it in your AS3 code. All you have to make sure of is that the dependency ANEs are embedded in your project.
Note2: Dependency Frameworks for the iOS side, must be copied to your AdobeAIR SDK to the following path: "yourAirSDK\lib\aot\stub"
Note3: Some Firebase child ANEs (Firestore) have additional iOS resource files. These resources are mentioned in this document. you need to copy them to the root of your project next to your main .swf file. Which is accessible from File.applicationDirectory
.
NOTE4: If you think configuring Firebase ANEs are time-consuming or confusing, which we also think they are, we suggest you to take a look at the ANELAB Software. We have developed this tool to automate all the hard work required for ANE implementations.
After you correctly added the core Firebase ANE, you can add any other features which the required setup for each of them will be explained individually in their own documentation.
Enjoy building Air apps – With ♥ from MyFlashLabs Team
Introduction to Firebase ANEs collection for Adobe Air apps
Get Started with Firebase Core in AIR
- Prerequisites
- Add Firebase to your app
- Add the Firebase SDK
- Init Firebase Core
- Available ANEs
- Managing Firebase iid
Get Started with Authentication
- Add Authentication
- Init Authentication
- Manage Users
- Phone Number
- Custom Auth
- Anonymous Auth
- State in Email Actions
- Email Link Authentication
Get Started with FCM OneSignal
- Add FCM ANE
- Init FCM ANE
- Send Your 1st Message
- Send Msg to Topics
- Understanding FCM Messages
- init OneSignal
- Add Firestore
- Init Firestore
- Add Data
- Transactions & Batches
- Delete Data
- Manage the Console
- Get Data
- Get Realtime Updates
- Simple and Compound
- Order and Limit Data
- Paginate Data
- Manage Indexes
- Secure Data
- Offline Data
- Where to Go From Here
Get Started with Realtime Database
- Add Realtime Database
- Init Realtime Database
- Structure Your Database
- Save Data
- Retrieve Data
- Enable Offline Capabilities
Get Started with Remote Config
- Add Storage ANE
- Init Storage ANE
- Upload Files to Storage
- Download Files to Air
- Use File Metadata
- Delete Files