diff --git a/android/build.gradle b/android/build.gradle index d9c777f..3040eb7 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.2.0' + classpath 'com.android.tools.build:gradle:8.3.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -26,15 +26,16 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { + namespace 'io.customer.customer_io' compileSdkVersion 33 compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '17' } sourceSets { @@ -58,7 +59,7 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // Customer.io SDK - def cioVersion = "3.9.2" + def cioVersion = "3.10.0" implementation "io.customer.android:tracking:$cioVersion" implementation "io.customer.android:messaging-push-fcm:$cioVersion" implementation "io.customer.android:messaging-in-app:$cioVersion" diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 41dfb87..e411586 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 3c591b3..cc947c5 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1 +1 @@ - + diff --git a/apps/amiapp_flutter/android/app/build.gradle b/apps/amiapp_flutter/android/app/build.gradle index 76dd6ce..d1730a6 100644 --- a/apps/amiapp_flutter/android/app/build.gradle +++ b/apps/amiapp_flutter/android/app/build.gradle @@ -6,6 +6,7 @@ plugins { } android { + namespace 'io.customer.amiapp_flutter' compileSdkVersion 33 ndkVersion flutter.ndkVersion diff --git a/apps/amiapp_flutter/android/app/src/main/AndroidManifest.xml b/apps/amiapp_flutter/android/app/src/main/AndroidManifest.xml index 36d3cdd..09de26d 100644 --- a/apps/amiapp_flutter/android/app/src/main/AndroidManifest.xml +++ b/apps/amiapp_flutter/android/app/src/main/AndroidManifest.xml @@ -1,34 +1,34 @@ - + - + android:icon="@mipmap/ic_launcher" + android:label="Flutter Sample"> + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" /> - - + + - + @@ -59,6 +59,18 @@ + + + + + + +