mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 01:35:23 +00:00
add project id to env file and hide about
This commit is contained in:
1
.env.dev
1
.env.dev
@ -1,2 +1,3 @@
|
|||||||
ENV_NAME=development
|
ENV_NAME=development
|
||||||
BASE_URL=https://syncrow-dev.azurewebsites.net
|
BASE_URL=https://syncrow-dev.azurewebsites.net
|
||||||
|
projectId=0e62577c-06fa-41b9-8a92-99a21fbaf51c
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
ENV_NAME=production
|
ENV_NAME=production
|
||||||
BASE_URL=https://syncrow-staging.azurewebsites.net
|
BASE_URL=https://syncrow-staging.azurewebsites.net
|
||||||
|
projectId=bcda711e-9fc2-4168-a05e-171b4026d1ff
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
ENV_NAME=staging
|
ENV_NAME=staging
|
||||||
BASE_URL=https://syncrow-staging.azurewebsites.net
|
BASE_URL=https://syncrow-staging.azurewebsites.net
|
||||||
|
projectId=bcda711e-9fc2-4168-a05e-171b4026d1ff
|
||||||
|
@ -154,11 +154,11 @@ class MenuCubit extends Cubit<MenuState> {
|
|||||||
'title': 'Legal Information',
|
'title': 'Legal Information',
|
||||||
'color': const Color(0xFF001B72),
|
'color': const Color(0xFF001B72),
|
||||||
'buttons': [
|
'buttons': [
|
||||||
{
|
// {
|
||||||
'title': 'About',
|
// 'title': 'About',
|
||||||
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsAbout,
|
// 'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsAbout,
|
||||||
'page': null
|
// 'page': null
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
'title': 'Privacy Policy',
|
'title': 'Privacy Policy',
|
||||||
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsPrivacyPolicy,
|
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsPrivacyPolicy,
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
|
import 'package:flutter_dotenv/flutter_dotenv.dart';
|
||||||
|
|
||||||
class TempConst {
|
class TempConst {
|
||||||
static const projectIdDev = '0e62577c-06fa-41b9-8a92-99a21fbaf51c';
|
static String projectIdDev = dotenv.env['projectId'] ?? '';
|
||||||
static const projectIdStag = 'bcda711e-9fc2-4168-a05e-171b4026d1ff';
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user