1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Wish Add FirebaseRealtime- and FirebaseFirestore- registrar to Manifestsnippet

Discussion in 'Bugs & wishlist' started by DonManfred, Aug 5, 2019.

  1. DonManfred

    DonManfred Expert Licensed User

    in the past we had the problem of adding a Firebaserealtimedatabase registrar.
    https://www.b4x.com/android/forum/threads/google-firebase-manifestentries.106275/#content

    The solution was to add a new ComponentDiscoveryService

    @Multiverse app discovered the same issue. It was of no help for him to add another ComponenetDiscoveryService at the end of the manifest.

    It still refused to work. When the app runs NOT the last ComponentDiscoveryService is used; due to this the DatabaseRegistrar was missing.


    I then edited FirebaseAnalytics Firebase.b4x_excluded and added the Realtimeregistrar to it.
    We then replaced the original jar with the changed one.

    It now works in his app.

    My WISH:
    Please add FirebasDatabase and Firestore to the default-snippet too. The full snippet is attachet.
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Please make a test and test this snippet when not using FirebaseDatabase and Firestore libraries. Do you get any errors?
     
    DonManfred likes this.
  3. DonManfred

    DonManfred Expert Licensed User

    I did.

    I used my edited FirebaseAnalytics jar

    I use FirebaseStorageexample to test.

    Edited the packagename, edited the manifest, created a firebaseproject for this packagename, downloaded the json.

    I ran the app (without any error).

    No! :)
     

    Attached Files:

    Erel and Multiverse app like this.
Loading...
  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