Firebase or Crashlytics in vDesigner 1.0

Is there any crashlytics available in vDesigner 1.0? If yes, what are the features available in that?

3 Likes

Firebase is a Google product that simplifies the development of mobile apps by providing out-of-the-box solutions for common mobile development tasks. Internally, we use Firebase to send and receive push notifications in our mobile apps. Due to the way Firebase works, it’s necessary to create a separate account and Firebase “project”. So, the first step to enable push notifications in your white label app is setting up a Firebase account and project for your app. Firebase is completely free.

  1. Server setup (Things to be taken care of during deployment)
  • Environment must be running on latest VRT version i.e. must having analytics module working if not then this is the first thing to do
  • Micro-services (notification-engine-v2) is to be deployed in vconnect on latest running VRT.
  • Database support: As of now you can push notification supports Postgres, MySql, Oracle database.

You need to edit your database properties(database you are using) in application.properties file of micro-services as shown in screenshot below

2…Add a project on firebase console (firebase.google.com)

    • Click on get started

    • Add a project by clicking on add project as shown below

    • Provide name of the project and click continue

    • Now, click next as shown in the below screen

    • Choose account (default or specifically your) as shown in screenshot below and click on create project. Here default is chosen for testing purpose

    • Hence , please go through below screenshot, the project is created.Click on continue

    • Click on the android icon, to register application in this project as shown in screenshot below

    • Enter package name

which you will get from vahana platform in Download apk option(last option in project management for a particular project). Refer the screenshots below

After clicking on download apk configure option, you need to select environment as shown below

Once you select, you will get the package name

copy and paste it on firebase console as mentioned above and click on register app option.

  • Now you will get the google-services.json file which need to be uploaded on vahana. Please download the file now as shown in screenshot below

  • After clicking on next, click next again as shown below

    • Click on skip this step as shown in screenshot below

    • Now, click on project settings and click on cloud messaging to get fcm server key (copy it from there), which need to be configured on vahana to enable push notification

  1. Configure Push notification in Vahana. Follow the steps below

After clicking on download apk configure option , a dialog box gets open and below screenshots shows mandatory fields to be filled to enable push notification.

  • Upload google-services.json file by clicking on Upload Json, which you have downloaded from firebase as shown below

  • Paste fcm server key copied from firebase as shown in screenshot below

  • Rest of the configuration as shown in below screenshots

  • Now click on submit , your apk link is generated and you can install the application in your phone after 10 minutes of generation

  • Now sync the environment, so that configurations will move to redis in VRT. Below screenshots will show the same.

Click on environment configure button in project management

Click on respective environment, here i have worked on sand_box

Click on sync to sync configurations from CLOUD to VRT

4 Likes

In vDesigner, Whenever you upload google-services.json file while downloading the apk then by default firebase is enabled. There are multiple tasks available as below:

Analytics Log Event
Set user Property
Screen Tracking
Set User Id
Disbale data Collection using Analytics
Enable data Collection using Analytics
In-App Messaging Implement an event listener
Trigger in-app messages programmatically
Temporarily disable in-app messages
Temporarily Enable in-app messages

Link for one of the references: Enable In App Messaging – Vahana Academy

1 Like