File tree Expand file tree Collapse file tree 9 files changed +15
-17
lines changed
packages/stripe_platform_interface/lib/src/models Expand file tree Collapse file tree 9 files changed +15
-17
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
2626apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
2727
2828android {
29- compileSdkVersion 30
29+ compileSdkVersion 31
3030
3131 sourceSets {
3232 main. java. srcDirs + = ' src/main/kotlin'
@@ -36,7 +36,7 @@ android {
3636 // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3737 applicationId " com.flutter.stripe.example"
3838 minSdkVersion 21
39- targetSdkVersion 30
39+ targetSdkVersion 31
4040 versionCode flutterVersionCode. toInteger()
4141 versionName flutterVersionName
4242 }
Original file line number Diff line number Diff line change 99 android : theme =" @style/LaunchTheme"
1010 android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1111 android : hardwareAccelerated =" true"
12+ android : exported =" true"
1213 android : windowSoftInputMode =" adjustResize" >
1314 <!-- Specifies an Android theme to apply to this Activity as soon as
1415 the Android process has started. This theme is visible to the user
3637 </intent-filter >
3738 <meta-data android : name =" flutter_deeplinking_enabled" android : value =" true" />
3839 <intent-filter android : autoVerify =" true" >
39- <action android : name =" android.intent.action.VIEW" />
40+ <action android : name =" android.intent.action.VIEW" />
41+
4042 <category android : name =" android.intent.category.DEFAULT" />
4143 <category android : name =" android.intent.category.BROWSABLE" />
4244 <data android : scheme =" flutterstripe" android : host =" safepay" />
Original file line number Diff line number Diff line change 11buildscript {
2- ext. kotlin_version = ' 1.5.0 '
2+ ext. kotlin_version = ' 1.6.10 '
33 repositories {
44 google()
5- jcenter ()
5+ mavenCentral ()
66 }
77
88 dependencies {
9- classpath ' com.android.tools.build:gradle:4.1 .2'
9+ classpath ' com.android.tools.build:gradle:4.2 .2'
1010 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
1111 }
1212}
1313
1414allprojects {
1515 repositories {
1616 google()
17- jcenter ()
17+ mavenCentral ()
1818 }
1919}
2020
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.9 -all.zip
Original file line number Diff line number Diff line change 11PODS:
22 - Flutter (1.0.0)
3- - integration_test (0.0.1):
4- - Flutter
53 - pay_ios (0.0.1):
64 - Flutter
75 - Stripe (21.9.0):
2220
2321DEPENDENCIES:
2422 - Flutter (from `Flutter`)
25- - integration_test (from `.symlinks/plugins/integration_test/ios`)
2623 - pay_ios (from `.symlinks/plugins/pay_ios/ios`)
2724 - stripe_ios (from `.symlinks/plugins/stripe_ios/ios`)
2825 - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
@@ -36,8 +33,6 @@ SPEC REPOS:
3633EXTERNAL SOURCES:
3734 Flutter:
3835 :path: Flutter
39- integration_test:
40- :path: ".symlinks/plugins/integration_test/ios"
4136 pay_ios:
4237 :path: ".symlinks/plugins/pay_ios/ios"
4338 stripe_ios:
@@ -47,7 +42,6 @@ EXTERNAL SOURCES:
4742
4843SPEC CHECKSUMS:
4944 Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
50- integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1
5145 pay_ios: 8c7beb9c61d885f3f51b61f75f8793023fc8843a
5246 Stripe: 41c3d261501e1dc84755b1bdabdaae50ebf92b53
5347 stripe_ios: fce03ba840e641cc31ff5bdb67f5d5b9c938b897
@@ -57,4 +51,4 @@ SPEC CHECKSUMS:
5751
5852PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
5953
60- COCOAPODS: 1.11.2
54+ COCOAPODS: 1.10.1
Original file line number Diff line number Diff line change 157157 97C146E61CF9000F007C117D /* Project object */ = {
158158 isa = PBXProject;
159159 attributes = {
160- LastUpgradeCheck = 1020 ;
160+ LastUpgradeCheck = 1300 ;
161161 ORGANIZATIONNAME = "";
162162 TargetAttributes = {
163163 97C146ED1CF9000F007C117D = {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<Scheme
3- LastUpgradeVersion = " 1020 "
3+ LastUpgradeVersion = " 1300 "
44 version = " 1.3" >
55 <BuildAction
66 parallelizeBuildables = " YES"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ DevicePlatform? get selectedPlatform {
99 if (defaultTargetPlatform == TargetPlatform .android)
1010 return DevicePlatform .android;
1111 if (defaultTargetPlatform == TargetPlatform .iOS) return DevicePlatform .ios;
12+ return null ;
1213}
1314
1415class PlatformIcons extends StatelessWidget {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ class ColorKey {
1111 // ignore: lines_longer_than_80_chars
1212 return '#${color .value .toRadixString (16 ).padLeft (8 , '0' ).toUpperCase ()}' ;
1313 }
14+ return null ;
1415 }
1516
1617 static Color ? fromJson (value) {
You can’t perform that action at this time.
0 commit comments