Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashwat12-egov authored Nov 21, 2024
1 parent 93b090a commit 625a4d9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions apps/health_campaign_field_worker_app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,23 @@ if (flutterVersionName == null) {

apply plugin: 'com.android.application'
// START: FlutterFire Configuration
apply plugin: 'com.google.gms.google-services'

if (project.hasProperty('USE_GOOGLE_SERVICES')) {
apply plugin: 'com.google.gms.google-services'
}

// END: FlutterFire Configuration
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
if (!project.hasProperty('USE_GOOGLE_SERVICES')) {
tasks.whenTaskAdded { task ->
if (task.name.contains("GoogleServices")) {
task.enabled = false
}
}
}
compileSdkVersion 34
ndkVersion flutter.ndkVersion

Expand All @@ -47,7 +58,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "org.egov.salama"
applicationId "com.digit.hcm"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21
Expand Down

0 comments on commit 625a4d9

Please sign in to comment.