Settings: FCM Tester (Push Notification Testing)

Purpose

FCM Tester sends Firebase Cloud Messaging (FCM) push notifications for testing.

Access

  • Login required.
  • Typically Owner/Admin.

Target Options

You can choose how to target the notification:

  • Token: send to a single device token
  • All: send to all users
  • Role: send to a role/group
  • User: send to a specific user
  • Topic: send to a topic (default often all-users)

Notes:

  • For Role/User modes, target lists are fetched from the server and can be refreshed with Reload.
  • If targets aren’t loaded yet, the app may load them automatically when the screen opens.

Message Fields

  • Title — required
  • Body — required
  • Data JSON — optional
    Must be valid JSON, example: {\"foo\":\"bar\"}.

Sending Steps

  1. Pick a target mode (Token/All/Role/User/Topic).
  2. Fill the target details:
    • Token: enter the FCM token
    • Topic: enter the topic name
    • Role: pick a role
    • User: pick a user
  3. Enter Title and Body.
  4. (Optional) enter Data JSON.
  5. Tap Send.

On success:

  • The response appears below (usually JSON).

On failure:

  • An error message appears (for example “Invalid JSON” or a server error).

Reset Button

Reset returns the target selection and message form back to the initial state.

Note: This guide content may still be in Indonesian while we prepare the English version.

Published by: MAXsi POS — Android POS App