diff --git a/libphonenumber_plugin/CHANGELOG.md b/libphonenumber_plugin/CHANGELOG.md index 83d3182..9f3024a 100644 --- a/libphonenumber_plugin/CHANGELOG.md +++ b/libphonenumber_plugin/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.0 +* Upgraded to gradle 8 for Android +* Updated libphonenumber to version 8.13.16 + ## 0.3.1 * Added phone format to normalized phone number diff --git a/libphonenumber_plugin/android/build.gradle b/libphonenumber_plugin/android/build.gradle index 46bc5bc..00116ba 100644 --- a/libphonenumber_plugin/android/build.gradle +++ b/libphonenumber_plugin/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.0.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -25,7 +25,7 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 31 + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -45,6 +45,8 @@ android { } dependencies { - api 'com.googlecode.libphonenumber:libphonenumber:8.13.4' + implementation 'com.googlecode.libphonenumber:libphonenumber:8.13.16' } + + namespace 'com.example.libphonenumber_plugin' } diff --git a/libphonenumber_plugin/example/android/app/build.gradle b/libphonenumber_plugin/example/android/app/build.gradle index b52183a..0a4b628 100644 --- a/libphonenumber_plugin/example/android/app/build.gradle +++ b/libphonenumber_plugin/example/android/app/build.gradle @@ -60,6 +60,7 @@ android { signingConfig signingConfigs.debug } } + namespace 'com.example.example' } flutter { diff --git a/libphonenumber_plugin/example/android/app/src/debug/AndroidManifest.xml b/libphonenumber_plugin/example/android/app/src/debug/AndroidManifest.xml index 45d523a..399f698 100644 --- a/libphonenumber_plugin/example/android/app/src/debug/AndroidManifest.xml +++ b/libphonenumber_plugin/example/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,4 @@ - +