update external api call start
This commit is contained in:
@ -25,6 +25,12 @@ apply plugin: 'com.android.application'
|
|||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
||||||
|
|
||||||
|
def keystoreProperties = new Properties()
|
||||||
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||||
|
if (keystorePropertiesFile.exists()) {
|
||||||
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||||
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
compileSdkVersion 33
|
compileSdkVersion 33
|
||||||
@ -56,13 +62,20 @@ android {
|
|||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
// TODO: Add your own signing config for the release build.
|
keyAlias keystoreProperties['keyAlias']
|
||||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
keyPassword keystoreProperties['keyPassword']
|
||||||
signingConfig signingConfigs.debug
|
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||||
}
|
storePassword keystoreProperties['storePassword']
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
buildTypes {
|
||||||
|
release {
|
||||||
|
signingConfig signingConfigs.release
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
flutter {
|
flutter {
|
||||||
|
|||||||
@ -4,8 +4,10 @@
|
|||||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
||||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||||
|
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
|
||||||
|
<uses-permission android:name="android.permission.CAMERA"/>
|
||||||
<application
|
<application
|
||||||
android:label="岐阜ナビ"
|
android:label="岐阜ナビ"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/ic_launcher">
|
||||||
<activity
|
<activity
|
||||||
|
|||||||
@ -117,6 +117,13 @@ class DrawerPage extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
) :
|
) :
|
||||||
Container(width: 0, height: 0,),
|
Container(width: 0, height: 0,),
|
||||||
|
ListTile(
|
||||||
|
leading: const Icon(Icons.privacy_tip),
|
||||||
|
title: Text("privacy".tr),
|
||||||
|
onTap: (){
|
||||||
|
_launchURL("https://rogaining.sumasen.net/api/privacy/");
|
||||||
|
},
|
||||||
|
)
|
||||||
// ListTile(
|
// ListTile(
|
||||||
// leading: const Icon(Icons.router),
|
// leading: const Icon(Icons.router),
|
||||||
// title: Text("my_route".tr),
|
// title: Text("my_route".tr),
|
||||||
|
|||||||
@ -39,7 +39,7 @@ class ExternalService {
|
|||||||
//print("--- _team : ${_team}-----");
|
//print("--- _team : ${_team}-----");
|
||||||
String _event_code = indexController.currentUser[0]["user"]["event_code"];
|
String _event_code = indexController.currentUser[0]["user"]["event_code"];
|
||||||
|
|
||||||
if(indexController.connectionStatusName != "wifi" || indexController.connectionStatusName != "mobile"){
|
if(indexController.connectionStatusName != "wifi" && indexController.connectionStatusName != "mobile"){
|
||||||
DatabaseHelper db = DatabaseHelper.instance;
|
DatabaseHelper db = DatabaseHelper.instance;
|
||||||
Rog _rog = Rog(
|
Rog _rog = Rog(
|
||||||
id:1,
|
id:1,
|
||||||
@ -84,7 +84,7 @@ class ExternalService {
|
|||||||
|
|
||||||
if(imageurl != null){
|
if(imageurl != null){
|
||||||
|
|
||||||
if(indexController.connectionStatusName != "wifi" || indexController.connectionStatusName != "mobile"){
|
if(indexController.connectionStatusName != "wifi" && indexController.connectionStatusName != "mobile"){
|
||||||
DatabaseHelper db = DatabaseHelper.instance;
|
DatabaseHelper db = DatabaseHelper.instance;
|
||||||
Rog _rog = Rog(
|
Rog _rog = Rog(
|
||||||
id:1,
|
id:1,
|
||||||
|
|||||||
@ -70,7 +70,8 @@ class StringValues extends Translations{
|
|||||||
"You have not reached the goal yet.":"You have not reached the goal yet.",
|
"You have not reached the goal yet.":"You have not reached the goal yet.",
|
||||||
"delete_account": "Delete account",
|
"delete_account": "Delete account",
|
||||||
"accounted_deleted": "Account deleted",
|
"accounted_deleted": "Account deleted",
|
||||||
"account_deleted_message": "your account has beed successfully deleted"
|
"account_deleted_message": "your account has beed successfully deleted",
|
||||||
|
"privacy": "Privacy policy"
|
||||||
},
|
},
|
||||||
'ja_JP': {
|
'ja_JP': {
|
||||||
'drawer_title':'ロゲイニング参加者はログイン するとチェックポイントが参照 できます',
|
'drawer_title':'ロゲイニング参加者はログイン するとチェックポイントが参照 できます',
|
||||||
@ -141,7 +142,8 @@ class StringValues extends Translations{
|
|||||||
"You have not reached the goal yet.":"あなたはまだゴールに達していません。",
|
"You have not reached the goal yet.":"あなたはまだゴールに達していません。",
|
||||||
"delete_account": "アカウントを削除する",
|
"delete_account": "アカウントを削除する",
|
||||||
"accounted_deleted": "アカウントが削除されました",
|
"accounted_deleted": "アカウントが削除されました",
|
||||||
"account_deleted_message": "あなたのアカウントは正常に削除されました"
|
"account_deleted_message": "あなたのアカウントは正常に削除されました",
|
||||||
|
"privacy": "プライバシーポリシー"
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 1.0.0+1
|
version: 1.0.2+2
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.16.0 <3.0.0"
|
sdk: ">=2.16.0 <3.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user