fbpx

Enjoy

Upto

70%
Getting Started
Installation
Configuration

How to setup Customer App

demo

Note: Ensure you have Node.js installed on your computer to launch the module.

  • After installing Node.js:
    • Open the Enatega MultiVendor code in a code editor.
    • To run the enatega-multivendor-app, open it in the integrated terminal by:
      • Right-clicking on the enatega-multivendor-app folder and selecting “Open in Integrated Terminal”
      • Or by using the following command in the terminal:
     cd <Project directory>

For example:

     cd enatega-multivendor-app
demo
  • To test the Customer App(you don’t have own server url) and check the look and feel, no changes are needed.
  • To run the customer app against your own server URL:
    • Go to the environment.js file
    • Replace the following in environment.js:
      • GRAPHQL_URL
      • WS_GRAPHQL_URL
      • SERVER_URL
      • Google_MAPS_KEY
demo
  • After completing all the configurations, it’s time to run the Customer App.
  • To run the Enatega Customer App, open the terminal and run the following commands:
     npm install (or yarn install)
     npm start
demo

When you run the commands, you have two options to run your app:

  1. Development build
  2. Using Expo Go

To run the app using Expo Go:

  1. Press S to switch to Expo Go from the development build.
  2. You can either:
    • Use the Expo Go app to scan the QR code to run the app.
    • Use an iOS or Android simulator to run the app.
demo

Note:

The “Continue with Google” feature may not work in the Expo Go app due to certain limitations. The package react-native-google-signin used for Google login does not work on Expo managed projects. For a seamless experience, and to easily run the app in the Expo Go app and Expo simulator, we have removed it. “Continue with Google” is available in production.

Reference: https://react-native-google-signin.github.io/docs/setting-up/expo

On this page