Other Firebase Notifications & Firebase Auth Issues

Discussion in 'Android Questions' started by Erel, Jun 17, 2018.

  1. Erel

    Erel Administrator Staff Member Licensed User

    There were two issues recently with FirebaseNotifications and FirebaseAuth. Both issues were resolved. The purpose of this post is to make things clear as you will find older posts with now incorrect solutions.

    The correct solution is:

    1. Open B4A Sdk Manager and update all recommended items (including firebase-auth).
    2. Update FirebaseAuth and FirebaseAnalytics: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.59340/#post-596101
    3. If you are using B4A v8.00 or below then you should update FirebaseNotifications: https://www.b4x.com/android/forum/threads/updates-to-internal-libraries.59340/#post-592335
    4. If you are using B4A v8.0+ then you should make sure to use the new CreateResourceFromFile macro feature to add the snippets.
    If you are using an older version then you should go over the snippets and copy them to your manifest editor. Some of them were updated.

    Remember to copy the internal libraries to the internal libraries folder.
    ocalle, freedom2000, JCO and 7 others like this.
  2. R D Boozer

    R D Boozer Member Licensed User

    Is the above mentioned problem the reason Firebase Analytics have not been feeding me any "Installs by user" data for the last few days? See the attached screen shot to see what I am talking about. I am using the latest version 8.30 of B4A.
    Anyway I have updated all items in the SDK Manager and made sure the CreateResourceFromFile macro feature is referenced in the Manifest (I had correctly inserted the reference in the Manifest long ago and I changed nothing since then). Also, I don't know what you expect me to do with the stuff in step 2 above.
    Rick Boozer
  3. johndb

    johndb Active Member Licensed User

    Download the zip file in step 2. Unzip the file. Copy the contents - 4 files (FirebaseAnalytics.jar. FirebaseAnalytics.xml, FirebaseAuth.jar, FirebaseAuth.xml) to the B4A "Internal" libraries folder. Make sure that you remove the files by the same name from your "external" libraries folder if you had previously installed the libraries there.
    Xyloidhead and Erel like this.
  4. Erel

    Erel Administrator Staff Member Licensed User

    Not critical as internal libraries have higher priority.

    No. This update fixes crashes related to changes in the Firebase SDK.
    johndb likes this.
  5. R D Boozer

    R D Boozer Member Licensed User

  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