File tree Expand file tree Collapse file tree 6 files changed +22
-16
lines changed
Expand file tree Collapse file tree 6 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1+ ## 2.0.1
2+
3+ * [ Android] Fix Dependency conflict with firebase
4+ * [ Android] Bump minSdkVersion to 21
5+ * [ Android] Enable multiDex
6+
17## 2.0.0
28
39* Null safe migration
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ Easy integration with Google Pay and Apple Pay for your flutter app.
1717Add this to your package's pubspec.yaml file:
1818``` yaml
1919dependencies :
20- mad_pay : 1 .0.0
20+ mad_pay : 2 .0.1
2121` ` `
2222
23+ For Android: set ` minSdkVersion` to 21
24+
2325# # Usage
2426To start using payment you need to get Merchant Identifier :
2527* [For Apple Pay][apple_merchant]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version '1.0-SNAPSHOT'
33
44buildscript {
55 ext. kotlin_version = ' 1.3.50'
6- ext. protobufVersion = ' 0.8.8 '
6+ ext. protobufVersion = ' 0.8.15 '
77 repositories {
88 google()
99 jcenter()
@@ -13,7 +13,6 @@ buildscript {
1313 classpath ' com.android.tools.build:gradle:3.5.0'
1414 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1515 classpath " com.google.protobuf:protobuf-gradle-plugin:$protobufVersion "
16- classpath " com.google.protobuf:protobuf-java-util:$protobufVersion "
1716 }
1817}
1918
@@ -36,8 +35,9 @@ android {
3635 main. proto. srcDirs + = ' ../protos'
3736 }
3837 defaultConfig {
39- minSdkVersion 16
38+ minSdkVersion 21
4039 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
40+ multiDexEnabled true
4141 }
4242 lintOptions {
4343 disable ' InvalidPackage'
@@ -51,24 +51,22 @@ android {
5151
5252protobuf {
5353 protoc {
54- artifact = ' com.google.protobuf:protoc:3.6.1'
55- }
56- plugins {
57- javalite {
58- artifact = ' com.google.protobuf:protoc-gen-javalite:3.0.0'
59- }
54+ artifact = ' com.google.protobuf:protoc:3.14.0'
6055 }
6156 generateProtoTasks {
6257 all(). each { task ->
63- task. plugins {
64- javalite { }
58+ task. builtins {
59+ java {
60+ option " lite"
61+ }
6562 }
6663 }
6764 }
6865}
6966
7067dependencies {
7168 implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
72- implementation ' com.google.protobuf:protobuf-lite :3.0.1 '
69+ implementation ' com.google.protobuf:protobuf-javalite :3.14.0 '
7370 implementation ' com.google.android.gms:play-services-wallet:18.1.2'
71+ implementation " androidx.multidex:multidex:2.0.1"
7472}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ android {
3939 defaultConfig {
4040 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4141 applicationId " ru.madbrains.mad_pay_example"
42- minSdkVersion 16
42+ minSdkVersion 21
4343 targetSdkVersion 29
4444 versionCode flutterVersionCode. toInteger()
4545 versionName flutterVersionName
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ packages:
7373 path: ".."
7474 relative: true
7575 source: path
76- version: "2.0.0 "
76+ version: "2.0.1 "
7777 matcher:
7878 dependency: transitive
7979 description:
Original file line number Diff line number Diff line change 11name : mad_pay
22description : Mad Pay will help you make payments through Apple Pay and Google Pay
3- version : 2.0.0
3+ version : 2.0.1
44repository : https://github.com/MadBrains/Mad-Pay-Flutter
55issue_tracker : https://github.com/MadBrains/Mad-Pay-Flutter/issues
66homepage : https://madbrains.ru/
You can’t perform that action at this time.
0 commit comments