From a60fc4000aabc6e1760edfb88288ef6844a933c3 Mon Sep 17 00:00:00 2001 From: TC Johnson Date: Sun, 19 Nov 2023 10:34:28 -0600 Subject: [PATCH] First Version Tag v0.1.2+4 --- .gitignore | 2 ++ android/app/build.gradle | 32 +++++++++++++++++++++++--------- ios/Podfile.lock | 4 ++-- pubspec.lock | 2 +- pubspec.yaml | 2 +- 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index df26946..dc159e4 100644 --- a/.gitignore +++ b/.gitignore @@ -54,3 +54,5 @@ app.*.map.json # WASM /web/wasm/ + +android/key.properties \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 73a53e5..11a434c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,6 +25,12 @@ apply plugin: 'com.android.application' apply plugin: 'kotlin-android' 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 { ndkVersion "25.1.8937393" compileSdkVersion flutter.compileSdkVersion @@ -53,15 +59,23 @@ android { versionName flutterVersionName } - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - shrinkResources false - minifyEnabled false - signingConfig signingConfigs.debug - } - } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } + + buildTypes { + release { + shrinkResources false + minifyEnabled false + signingConfig signingConfigs.release + } + } + namespace 'com.veilid.veilidchat' } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 5ba25f2..125a3a8 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -171,8 +171,8 @@ SPEC CHECKSUMS: sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a system_info_plus: 5393c8da281d899950d751713575fbf91c7709aa url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4 - veilid: f5c2e662f91907b30cf95762619526ac3e4512fd + veilid: 51243c25047dbc1ebbfd87d713560260d802b845 PODFILE CHECKSUM: 7f4cf2154d55730d953b184299e6feee7a274740 -COCOAPODS: 1.12.1 +COCOAPODS: 1.14.2 diff --git a/pubspec.lock b/pubspec.lock index d0d040d..04e023f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1552,7 +1552,7 @@ packages: path: "../veilid/veilid-flutter" relative: true source: path - version: "0.2.4" + version: "0.2.5" visibility_detector: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index d498631..faa4993 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: veilidchat description: VeilidChat publish_to: 'none' -version: 1.0.2+0 +version: 0.1.2+4 environment: sdk: '>=3.0.5 <4.0.0'