Geoloc Monitoring SDK
Options
See how to further customize the SDK
apiURL
string
requiredThis is the address of the Legitimuz API.
Example: https://api.legitimuz.com
token
string
requiredThe token is your integration token. You can generate an integration token on the
integrations page under the installation
tab in the Legitimuz Dashboard.
action
string
The action you want to perform.
The available actions:
signin
: login actionsignup
: registration actiondeposit
: deposit actionwithdraw
: withdrawal actionbet
: Bet actionbet_profit
: Bet profit actionbet_loss
: Bet loss actioncheck
: must be send every 30 minutes
Examples:
enableRequestGeolocation
boolean
default: "false"The enableRequestGeolocation
option allows you to enable or disable the request for the user’s geolocation.
Highly recommended to stay true.
Examples:
eventHandler
function: (event: object): void
The eventHandler
option allows you to receive events from the SDK.
Examples: