iOS Tutorial Firebase Integration

Discussion in 'iOS Tutorials' started by Erel, Jul 4, 2016.

  1. Erel

    Erel Administrator Staff Member Licensed User

    B4i v2.80 adds support for Firebase backend:

    The libraries are mostly the same as the B4A Firebase libraries.


    1. Create an iOS application in Firebase console. Make sure that the bundle id is the same as your app package name.
    2. Download GoogleService-info.plist from the console and copy it to Files\Special.
    3. Declare a process global FirebaseAnalytics object and initialize it in Application_Start. FirebaseAnalytics is the base of all Firebase services. The analytics object should be initialized before any other Firebase object (even if you don't need the analytics service).

    The following services are currently supported:

    FirebaseAnalytics, FirebaseAuth (Google + Facebook), FirebaseStorage and FirebaseNotifications (push messages).

    If you are using a local Mac then you should download Firebase frameworks and copy them to the Libs folder: (100mb) and the attached GoogleIPhoneUtilities.framework. Unzip the frameworks on the Mac directly. Otherwise they might be corrupted.

    Attached Files:

    Last edited: May 18, 2017
    stingrae, luke2012 and valentino s like this.
  2. sorex

    sorex Expert Licensed User


    Will there be a seperate Firebase Banner lib aswell like in B4A?
  3. aaronk

    aaronk Well-Known Member Licensed User

    Does this mean my app is now going to increase by 100mb if I use the Firebase framework?
  4. Erel

    Erel Administrator Staff Member Licensed User

    No. There is no iOS Firebase AdMob SDK. It is the same as the current one.

    No. It will add about 1mb - 2mb to the app size. Nothing to be bothered about.
  5. aaronk

    aaronk Well-Known Member Licensed User

  6. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this in the questions forum.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice