1. Home
  2. Docs
  3. Store Manager Documents
  4. Configure your app
  5. Update constant file

Update constant file

For the app to be connected with your website you will need to add below configuration to your app:

Generate Rest API keys:
In your WordPress admin panel go to:
Woocommerce => Settings => Advanced => Rest API

Open constant.js file located in src/configs/constant.js 
Change API (your domain) and replace your Rest API keys with below and Replace xxxxxxxxx with your ONE_SIGNAL_APP_ID and save.

export const API = 'https://yourdomain.com';

export const CONSUMER_KEY = 'xxxxxxxxxxxxxxxxx';
export const CONSUMER_SECRET = 'xxxxxxxxxxxxxx';

export const ONE_SIGNAL_APP_ID = 'xxxxxxxxxxxxx';
Was this article helpful to you? Yes No

How can we help?