firebase

  1. J

    Android Question Real time messaging question

    I have an App that in its simplistic mode is a Tally system for knowing which competitors have gone afloat and who are ashore. The Competitors have RFID tags. There can be multiple stations where the competitors tally out and in. Version 1 of the App Written in B4A can use Android mobile...
  2. fredo

    Android Code Snippet Get Firebase config parameters from google-services.json

    Code to get configuration parameters from google-services.json Put this in the "Starter" service module: Sub Process_Globals Dim mapFirebaseServices As Map End Sub Sub Service_Create 'This is the program entry point. 'This is a good place to load resources that are not specific to...
  3. Gentry

    Android Question Firebase Auth - With Resumable Sub

    I am trying to achieve an elegant Firebase authentication module that transparently re-authenticates and renews the Firebase Token after the initial authentication. If the re-authentication or the token renewal fails, then the module should display the login button and allow a fresh login...
  4. DonManfred

    B4A Library Firebase UI Auth - a new Dimension in Authentication

    This is a Wrap for the Firebase UI-bindings found at Github. It offers Authentification using - Google-Account (Tested) - email and password authentification (Tested) - Telephone-Authentification (Tested) - Twitter (Not tested as i do not have a Twitter-Dev Account) - Facebook (Not tested as i...
  5. Alexander Stolte

    Android Question Firebase Auth - How to add custom auth

    Hello, Currently I'm using the anonymous auth method, but since I've noticed that this ID just changes after a while, I want to use my own ID for authenfication, i store a user_id (on my MySql database) based on a hash value that on the same device is ever the same, this id i want to use in...
  6. fabricio

    B4J Code Snippet Send notifications to one of two apps in the same project at firebase

    Private Sub SendMessage(Topic As String, Title As String, Body As String) Dim Job As HttpJob Job.Initialize("fcm", Me) Dim m As Map = CreateMap("to": $"/topics/${Topic}"$, "restricted_package_name": "YOUR_PACKAGE") Dim data As Map = CreateMap("title": Title, "body": Body)...
  7. fabricio

    Android Code Snippet Send notifications to one of two apps in the same project at firebase

    Private Sub SendMessage(Topic As String, Title As String, Body As String) Dim Job As HttpJob Job.Initialize("fcm", Me) Dim m As Map = CreateMap("to": $"/topics/${Topic}"$, "restricted_package_name": "YOUR_PACKAGE") Dim data As Map = CreateMap("title": Title, "body": Body)...
  8. QtechLab

    B4J Question FCMPush Authentication issue

    Hi, I would like to send notification to specific device with the B4J server. I have the Firebase token of the destination device. I'm in trouble with Firebase authentication. This is the code, FCMPush with little variation: 'Non-UI application (console / server application) #Region Project...
Top