Skip to content

App Configuration

In this section, we will guide you through the configuration of the app.

  1. After opening the source code folder then go to lib/common/config.dart file and you will see the configuration file as will be shown in the screenshot below:

    You will paste the API Key, API Secret and OneSignal App ID in the config.dart file as will be shown in the screenshot below:

    For apiURL it will be the URL of your Sngine server like https://demo.sngine.com without the / at the end

    For apiURL it will be the URL of your Sngine server like https://demo.sngine.com without the / at the end

  2. You need to run the following command to install the app dependencies.

    flutter pub get

    You can also open the pubspec.yaml and click on Get Packages button to install the dependencies.

    You can also open the pubspec.yaml and click on Get Packages button to install the dependencies.

    You can also open the pubspec.yaml and click on Get Packages button to install the dependencies.

  3. And that's it, you have successfully configured the app. You can customize the app as you want.