diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 359dd00..aa196fd 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ # These are supported funding model platforms -github: hansemannn +github: [hansemannn, m1ga] diff --git a/README.md b/README.md index 4faff8e..e7762dc 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ this project maintained and be able to use the latest Firebase SDK's, please see thank you! ## Requirements -- [x] The [Firebase Core](https://github.com/hansemannn/titanium-firebase-core) module +- [x] The [Firebase Core](https://github.com/hansemannn/titanium-firebase-core) module (iOS only) - [x] iOS: Titanium SDK 6.2.0+ - [x] Android: Titanium SDK 7.0.0+ @@ -137,14 +137,14 @@ non-empty and no more than 256 characters long. Setting userID to nil removes th ## Example ```js // Require the Firebase Core module (own project!) -var FirebaseCore = require('firebase.core'); +if (OS_IOS) { + var FirebaseCore = require('firebase.core'); + FirebaseCore.configure(); +} // Require the Firebase Analytics module var FirebaseAnalytics = require('firebase.analytics'); -// Configure Firebase -FirebaseCore.configure(); - // Get the App Instance ID Ti.API.info('App Instance ID: ' + FirebaseAnalytics.appInstanceID);