diff --git a/README.md b/README.md index 3e920baf..fb72bf8f 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,12 @@

- + Don't forget to see the example attached to github here V_CHAT_SDK Example
+Try the example apk
+ Example APK
**Content** - About V_CHAT_SDK diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 10808e08..eac91de3 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -24,11 +24,11 @@ if (flutterVersionName == null) { 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)) -//} +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} android { compileSdkVersion 31 @@ -54,37 +54,37 @@ android { versionCode flutterVersionCode.toInteger() versionName flutterVersionName } -// signingConfigs { -// release { -// keyAlias keystoreProperties['keyAlias'] -// keyPassword keystoreProperties['keyPassword'] -// storeFile file(keystoreProperties['storeFile']) -// storePassword keystoreProperties['storePassword'] -// } -// debug { -// keyAlias keystoreProperties['keyAlias'] -// keyPassword keystoreProperties['keyPassword'] -// storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null -// storePassword keystoreProperties['storePassword'] -// } -// } - -// buildTypes { -// debug { -// signingConfig signingConfigs.release -// } -// release { -// signingConfig signingConfigs.release -// } -// } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile file(keystoreProperties['storeFile']) + storePassword keystoreProperties['storePassword'] + } + debug { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } buildTypes { + debug { + signingConfig signingConfigs.release + } release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug + signingConfig signingConfigs.release } } + +// buildTypes { +// release { +// // TODO: Add your own signing config for the release build. +// // Signing with the debug keys for now, so `flutter run --release` works. +// signingConfig signingConfigs.debug +// } +// } } flutter {