1xbet restbet betpas casino siteleri

Vendor App Source Code Setup

Estimated reading time: 1 min

To connect our app with your WooCommerce website. Open the vendor app source code folder from the downloaded package.

Inside the folder, you will find all the React Native vendor application source code.

Now open project src/common/Theme.style.js file and change the following.

  • https://your-site-url (it will be the url of your domain)
  • Consumer Key
  • Consumer Secret
Path: src/common/Theme.style.js

It will load WooCommerce products data into your application.

url: '', // your site URL
consumerKey: '', // Your consumer secret
consumerSecret: '', // Your consumer secret

 

Change Splash Screen and App Icon

For Android:

Go into android/app/src/res/mipmap (dpi,mdpi,xhdpi,xxhdpi,xxxhdpi) and replace the splash screen image for your app splash screen and ic_launcher and ic_launcher_round(round shape icon) for icon (name and extension of all images should be same )

Path: android/app/src/res/mipmap 

For iOS:

Go into projectName/ios/projectName/Images.xcassets/splashscreen.imageset and change the splash screen and icon.

Path: projectName/ios/projectName/Images.xcassets/splashscreen.imageset 

How to Set the App Icon

Click in the Project Navigator and then choose AppIcon.

Was this article helpful?
Dislike 0
Views: 69

Continue reading

Previous: Customer App Source Code Setup
Next: Delivery App Source Code Setup
Go to Top