From d7d78fce4c0093e4e5be421fbbb0b3cb877a91b4 Mon Sep 17 00:00:00 2001 From: Pushpam <93931528+Decoder07@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:03:51 +0530 Subject: [PATCH] Vapt fixes (#1700) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added vapt fixes * released sample app version 1.5.128 (428) 🍀 * 🤖 Automated Format and Fix --------- Co-authored-by: Decoder07 --- packages/hmssdk_flutter/example/android/app/build.gradle | 7 ++++--- .../example/android/app/src/main/AndroidManifest.xml | 9 ++++++--- packages/hmssdk_flutter/example/ios/Podfile.lock | 2 +- packages/hmssdk_flutter/example/ios/Runner/Info.plist | 6 +++--- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/hmssdk_flutter/example/android/app/build.gradle b/packages/hmssdk_flutter/example/android/app/build.gradle index 8f5b1ccbd..0cd78d2d8 100644 --- a/packages/hmssdk_flutter/example/android/app/build.gradle +++ b/packages/hmssdk_flutter/example/android/app/build.gradle @@ -22,7 +22,6 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion 33 - sourceSets { main.java.srcDirs += 'src/main/kotlin' } @@ -32,8 +31,8 @@ android { applicationId "live.hms.flutter" minSdkVersion 21 targetSdkVersion 33 - versionCode 427 - versionName "1.5.127" + versionCode 428 + versionName "1.5.128" } signingConfigs { @@ -42,6 +41,8 @@ android { keyPassword keystoreProperties['keyPassword'] storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] + enableV1Signing false + enableV2Signing true } } buildTypes { diff --git a/packages/hmssdk_flutter/example/android/app/src/main/AndroidManifest.xml b/packages/hmssdk_flutter/example/android/app/src/main/AndroidManifest.xml index 54890f3c7..eb7298258 100644 --- a/packages/hmssdk_flutter/example/android/app/src/main/AndroidManifest.xml +++ b/packages/hmssdk_flutter/example/android/app/src/main/AndroidManifest.xml @@ -19,15 +19,16 @@ - + android:allowBackup="false" + android:hasFragileUserData="false"> diff --git a/packages/hmssdk_flutter/example/ios/Podfile.lock b/packages/hmssdk_flutter/example/ios/Podfile.lock index 3f67c33d8..e7280467f 100644 --- a/packages/hmssdk_flutter/example/ios/Podfile.lock +++ b/packages/hmssdk_flutter/example/ios/Podfile.lock @@ -228,7 +228,7 @@ SPEC CHECKSUMS: FirebaseRemoteConfig: b873a427a48159082361343a85649eed3f5377ea FirebaseSessions: 2f348975f6d1c139231c180e12194161da2e0cd6 FirebaseSharedSwift: 2fbf73618288b7a36b2014b957745dcdd781389e - Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 + Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_foreground_task: 21ef182ab0a29a3005cc72cd70e5f45cb7f7f817 GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe GoogleUtilities: 0759d1a57ebb953965c2dfe0ba4c82e95ccc2e34 diff --git a/packages/hmssdk_flutter/example/ios/Runner/Info.plist b/packages/hmssdk_flutter/example/ios/Runner/Info.plist index a9d575544..75ac85528 100644 --- a/packages/hmssdk_flutter/example/ios/Runner/Info.plist +++ b/packages/hmssdk_flutter/example/ios/Runner/Info.plist @@ -21,7 +21,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.5.127 + 1.5.128 CFBundleSignature ???? CFBundleURLTypes @@ -48,7 +48,7 @@ CFBundleVersion - 427 + 428 ITSAppUsesNonExemptEncryption LSApplicationCategoryType @@ -57,7 +57,7 @@ NSAppTransportSecurity - NSAllowsArbitraryLoads + NSAllowsLocalNetworking NSBluetoothAlwaysUsageDescription