VideoCall Firebase

VideoCall requires Google's Firebase push notifications in order to send/receive calls in Android.

You will need to create an account, obtain your "google-services.json" file and then select the file in your application's properties.

Instructions

Create or set up your Google's Firebase account. 

Navigate to https://firebase.google.com/ and create your Firebase account.

Create a project

Access the Firebase Console, and create a new project. Follow the instructions and setup your project.

Important!: You can skip this step if you already register your application for regular notifications.

Firebase console "Your Firebase projects" page shows a grid of project tiles (names blurred) with a red arrow pointing to the "Add project" tile, one existing project showing an iOS icon and the domain workwithplus.com.

Setup your Android application integration

Setup Android for your Firebase project, and download the "google-services.json" when prompted.

Important!: You can skip this step if you already register your application for regular notifications.

Firebase Project settings page for VideCallExample shows Project ID "videcallexample", Project number, Default GCP resource location "Not yet selected", Parent org/folder "workwithplus.com", and an Environment section; below, "There are no apps in your project" is shown with a red arrow pointing to the Android platform icon among the Select a platform to get started options.

When creating the application in Firebase, keep in mind that you must have the same Android Package Name as in the main panel of the application in GeneXus, if it does not match, you will get an error when compiling the application.

VideoCallExamples Menu object Properties panel highlights the "Android Package Name" field set to "com.workwithplus.videocallexample", pointed to by a red arrow, alongside Android Version Code 1.0, Android Version Name 1.0, Update URL, and Android Application/Notification Icon settings.

If you miss this part, or you are using a previously create project, you can download the file at any moment, from the project's settings.

Firebase Project settings page for VideCallExample lists the Android app "Videocall Example" (package com.workwithplus.videocallexample) under SDK setup and configuration; a red arrow points to the "google-services.json" download link next to "See SDK instructions", with App nickname and Package name fields shown below.

Setup Videocall in your GeneXus application

Create a new GeneXus file, using the "google-services.json" file you downloaded in previous steps.

Select your application's main object, and set the property 'VC Firebase Android File' using the GeneXus' File you created above.

WorkWithPlus module Properties panel lists integration settings grouped under Firebase (Firebase Android File, Firebase Apple File), FirebaseCrashlytics, In App Billing, MercadoPago, Twitter, WeChat, and VideoCall; a red arrow points to the highlighted "VC Firebase Android File" property under VideoCall, set to "GoogleServices", with Apple Version Code/Name shown below.

 

Once this is done, you should be ready to start/receive vide calls in Android.