Setup & Authentication
Setup API Key
AmityUIKitProvider requires an API key. You need a valid API key to begin using the UIKit. Please find your account API key in the social.plus Console.
After logging in Console:
Click Settings to expand the menu.
Select Security.
On the Security page, you can find the API key in the Keys section.

Note: We currently do not support React's Strict Mode. Please make sure that Strict Mode is disabled when integrating AmityUIKitProvider in your application.
Specify Endpoints Manually (Optional)
You can specify endpoints manually via optional parameters. API endpoints for each data center are different so you need to adjust the endpoint accordingly.
We currently support multi-data center capabilities for the following regions:
Europe
ApiEndpoint.EU
api.eu.amity.co
Singapore
ApiEndpoint.SG
api.sg.amity.co
United States
ApiEndpoint.US
api.us.amity.co
Unregister
If your user logs out, you should explicitly unregister the user from the SDK as well, to prevent the current device from receiving any unnecessary or restricted data.
Last updated
Was this helpful?