From 802d13e3ea7b60494cd93d55b66e58672411adc0 Mon Sep 17 00:00:00 2001 From: Maurice Parrish Date: Wed, 26 Jun 2019 16:56:02 -0700 Subject: [PATCH 01/12] Compile all plugins together --- examples/all_plugins/android/app/build.gradle | 8 +- .../android/app/src/main/AndroidManifest.xml | 5 +- .../all_plugins/android/gradle.properties | 2 + examples/all_plugins/ios/Podfile | 72 ++++++++++ examples/all_plugins/pubspec.yaml | 131 ++++++++++-------- script/build_all_plugins_app.sh | 1 + 6 files changed, 155 insertions(+), 64 deletions(-) create mode 100644 examples/all_plugins/ios/Podfile diff --git a/examples/all_plugins/android/app/build.gradle b/examples/all_plugins/android/app/build.gradle index 013bfdcec927..389706e34fb4 100644 --- a/examples/all_plugins/android/app/build.gradle +++ b/examples/all_plugins/android/app/build.gradle @@ -35,10 +35,11 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "io.plugins.all_plugins" minSdkVersion 16 + multiDexEnabled true targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { @@ -56,6 +57,7 @@ flutter { dependencies { testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'androidx.test:runner:1.1.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' + api 'androidx.exifinterface:exifinterface:1.0.0' } diff --git a/examples/all_plugins/android/app/src/main/AndroidManifest.xml b/examples/all_plugins/android/app/src/main/AndroidManifest.xml index cc094789065c..fc8cb90afaa3 100644 --- a/examples/all_plugins/android/app/src/main/AndroidManifest.xml +++ b/examples/all_plugins/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,8 @@ + package="io.plugins.all_plugins" + xmlns:tools="http://schemas.android.com/tools"> + +