The latest version of ListPro is support to Chat by integrate with the Firebase. We understand that this approach may not meet some of your expection as the Firebase is Paid service, the team is checking solution to release other free Chat platform on next versions release.

As this feature is the same from the ListApp setting, allow us to use the same screenshot for this guide, so that you can see there is some Listapp below.

Enable Realtime Chat

Step 1: Create Firebase App

createFBApp

  • Forward Database Tab, select Realtime Database (as image) databaseFBApp

Step 2: Connect Firebase App To Your App

  • Go to Config folder, move to your theme with .js file. Example here is mylisting theme.
  • Find a key with name general, you will see the key Firebase name fill in it
  • apiKey : Go to Project Overview -> Project settings -> General tab

apiKey

  • authDomain : Go to Database Tab -> find as below image (get prefix .firebaseio.com) example : listapp.firebaseio.com => your authDomain is listapp.firebaseapp.com
  • databaseURL : Go to Database Tab -> find as below image copy full URL paste into as below image

authDomain

  • storageBucket: yourFirebaseApp.appspot.com Example: your firebase app is listappMobile then storageBucket -> listappMobile.appspot.com
  • messagingSenderId: Go to Project Overview -> Project settings -> Cloud Messaging tab messagingSenderId

After config these setting, the chat Feature will be enable after user go the Listing Detail screen.

Enable Push notification

The Listapp is support to push notification via ListApp Manager plugin, please follow these via for the detail step by step. Please refer to the Firebase pricing for more detail pricing.

The saveToken can be configed from the Common/Config/index.js file:

PushNotification: {
    saveTokens:
      // 'https://us-central1-listapp-mobile.cloudfunctions.net/saveTokens',
      'https://exp.host/--/api/v2/push/send',
  },

As the ListApp is base Expo tool so that it has not supported for the OneSignal yet, you can follow up this Feature request - https://expo.canny.io/feature-requests/p/one-signal-push-notification