LogoKikoMart Docs

Register Platforms

Allow your apps and web domains to access Appwrite.

Appwrite only accepts requests from registered platforms. Register every app and web domain to prevent CORS errors and blocked SDK requests.

Android and iOS apps#

If you followed the app setup pages, these are already registered. Check under Integrations & Platforms (or Apps) that all of them are listed:

AppExample package name
Customer Appcom.yourcompany.kiko_mart_user
Store Appcom.yourcompany.kiko_mart_store
Delivery Appcom.yourcompany.kiko_mart_delivery

To add a missing one, click + Add Platform and enter the package name.

Web domains#

  1. In the Appwrite Console, go to Integrations & Platforms → + Add Platform → Web.
  2. Add each domain your web apps run on, e.g. store.yourdomain.com and user.yourdomain.com.

Enter the hostname only, without https:// and without a trailing slash. Registering the Customer App's web domain is required for the forgot password feature to work.

Configuration overview#

Which values each app needs in its appwrite_config.dart:

Constant Store Customer Delivery
apiEndpoint, projectId, databaseId ✓ ✓ ✓
apiKey ✓ ✓
postsBucketId ✓ ✓ ✓
messagingProviderId ✓ ✓ ✓
notificationFunctionId ✓ ✓ ✓
broadCastTopicId, storeAdminTopicId ✓ ✓ ✓
stripePaymentFunctionId ✓
allDeliverymanTopicId ✓