rex_firebase_token
Introduction
The first user of a group.
The first user of a group.
Usage
Simple capx
Simple capx
Concept
User join a group, the first user of this group will own the token.
User join a group, the first user of this group will own the token.
Get token
Call "Action:Join" to join a group.
"Condition:On get token" will be triggered while user got the token. Only the first user of the group will get the token. "Condition:Is owner" will return true if current user owns the token. Get the ownerID by "Expression:OwnerID".
Call "Action:Join" to join a group.
"Condition:On get token" will be triggered while user got the token. Only the first user of the group will get the token. "Condition:Is owner" will return true if current user owns the token. Get the ownerID by "Expression:OwnerID".
Leave group
User will leave group in these cases-
User will leave group in these cases-
- Call "Action:Leave" to leave group manually,
- Leave group while disconnected,
- Leave group while suspended, re-join back to group while resumed.
Release token
User might release token when leave group, and "Condition:On release token" will be triggered, "Condition:On owner changed" will also be triggered.
User might release token when leave group, and "Condition:On release token" will be triggered, "Condition:On owner changed" will also be triggered.