95 lines
2.7 KiB
Dart
95 lines
2.7 KiB
Dart
//
|
|
// LabelCore
|
|
// Label StoreMAX
|
|
//
|
|
// Created by Anthony Gordon.
|
|
// 2020, WooSignal Ltd. All rights reserved.
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
import 'dart:ui';
|
|
|
|
/*
|
|
Developer Notes
|
|
|
|
SUPPORT EMAIL - support@woosignal.com
|
|
VERSION - 2.2.0
|
|
https://woosignal.com
|
|
*/
|
|
|
|
/*<! ------ CONFIG ------!>*/
|
|
|
|
const app_name = "MyApp";
|
|
|
|
const app_key = "Your app key from WooSignal";
|
|
|
|
// Your App key from WooSignal
|
|
// link: https://woosignal.com/dashboard/apps
|
|
|
|
const app_logo_url = "https://woosignal.com/images/120x120_woosignal.png";
|
|
|
|
const app_terms_url = "https://yourdomain.com/terms";
|
|
const app_privacy_url = "https://yourdomain.com/privacy";
|
|
|
|
/*<! ------ APP SETTINGS ------!>*/
|
|
|
|
const app_currency_symbol = "\£";
|
|
const app_currency_iso = "gbp";
|
|
const Locale app_locale = Locale('en');
|
|
const List<Locale> app_locales_supported = [
|
|
Locale('en'),
|
|
Locale('es'),
|
|
Locale('fr'),
|
|
Locale('hi'),
|
|
Locale('it'),
|
|
Locale('pt'),
|
|
];
|
|
// If you want to localize the app, add the locale above
|
|
// then create a new lang json file using keys from en.json
|
|
// e.g. lang/es.json
|
|
|
|
/*<! ------ PAYMENT GATEWAYS ------!>*/
|
|
|
|
// Available: "Stripe", "CashOnDelivery", "RazorPay"
|
|
// Add the method to the array below e.g. ["Stripe", "CashOnDelivery"]
|
|
|
|
const app_payment_methods = ["Stripe"];
|
|
|
|
/*<! ------ STRIPE (OPTIONAL) ------!>*/
|
|
|
|
// Your StripeAccount key from WooSignal
|
|
// link: https://woosignal.com/dashboard
|
|
|
|
const app_stripe_account = "Your Stripe Key from WooSignal";
|
|
|
|
const app_stripe_live_mode = false;
|
|
// For Live Payments follow the below steps
|
|
// #1 SET the above to true for live payments
|
|
// #2 Next visit https://woosignal.com/dashboard
|
|
// #3 Then change "Environment for Stripe" to Live mode
|
|
|
|
/*<! ------ WP LOGIN (OPTIONAL) ------!>*/
|
|
|
|
// Allows customers to login/register, view account, purchase items as a user.
|
|
// #1 Install the "WP JSON API" plugin on WordPress via https://woosignal.com/plugins/wordpress/wpapp-json-api
|
|
// #2 Next activate the plugin on your WordPress and enable "use_wp_login = true"
|
|
// link: https://woosignal.com/dashboard/plugins
|
|
|
|
const use_wp_login = false;
|
|
const app_base_url = "https://mysite.com"; // change to your url
|
|
const app_forgot_password_url =
|
|
"https://mysite.com/my-account/lost-password"; // change to your forgot password url
|
|
const app_wp_api_path = "/wp-json"; // By default "/wp-json" should work
|
|
|
|
/*<! ------ Razor Pay (OPTIONAL) ------!>*/
|
|
// https://razorpay.com/
|
|
|
|
const app_razor_id = "Your Razor ID from RazorPay";
|
|
|
|
/*<! ------ DEBUGGER ENABLED ------!>*/
|
|
|
|
const app_debug = true;
|