Skip to main content
Categories
< All Topics

Add Firebase Notification & Network Status Log

Introduction

This post introduces the new feature of adding Firebase notification and network status log. The changes applied to the listed applications below:

  1. Web Admin
  2. BIGPOS Pro
  3. BIGPOS Lite

Web Admin (Reports)

In the web admin, a new report named “Event History Report” was added under the Reports section. The Event History Report has recorded the log created date, the terminal name, the branch name, the app name, the app type, the app version, the message type and also the message string.

Message Type and Message String

2 types of messages can be found in the Event History Report:

  1. Network (Internet Connection)
  • “Internet is active and connected via Wi-Fi” if connected to Wifi.
  • “Internet is active and connected via Cellular” if using mobile data.
  • “Internet is active and connected via Ethernet” if connected via a wired network.
  • “Internet is active and connected via VPN” if using a VPN.
  • “Internet is active and connected via Other” for any other type of connection.
  • “No active internet connection” if no connection
  1. Notification (QRMenu, Delivery/Pickup)
  • {body=Order No 303, date=2024-11-20 17:49:33, type=1, title=New order #QR-0001D. You have new order for Delivery, firebase_id=6bf14f39aebf7366ca8b32d7ae31933a
  • {“aps”:{“alert”:{“body”:”Order No 306″,”title”:”You have one new order”},”priority”:”high”,”sound”:”default”},”date”:”2024-11-21 09:24:02″,”firebase_id”:”34e6e16ea23e882598b918c4e745273a”,”gcm.message_id”:”1732152247933950″,”google.c.a.e”:”1″,”google.c.fid”:”e7BaZzYFrUBBvr2U0u1N8I”,”google.c.sender.id”:”399292346812″,”text”:”Order No 306″,”type”:”1″}

Additional notes:

Android and iOS have different notification message strings. Because it depends on the OS. Both technology Android and iOS have their way of handling notification

Different Behavior for Android and iOS

Android

  • Able to record network logs if apps running in the background
  • Notification log recorded once device received the order from QRMenu, Delivery & Pickup

iOS

  • Need to click on notification if the app is running in the background. Else, the notification log is not recorded
  • Not able to record network log if apps running in the background
Table of Contents