File tree 9 files changed +15
-17
lines changed
packages/stripe_platform_interface/lib/src/models
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'
26
26
apply from : " $flutterRoot /packages/flutter_tools/gradle/flutter.gradle"
27
27
28
28
android {
29
- compileSdkVersion 30
29
+ compileSdkVersion 31
30
30
31
31
sourceSets {
32
32
main. java. srcDirs + = ' src/main/kotlin'
@@ -36,7 +36,7 @@ android {
36
36
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37
37
applicationId " com.flutter.stripe.example"
38
38
minSdkVersion 21
39
- targetSdkVersion 30
39
+ targetSdkVersion 31
40
40
versionCode flutterVersionCode. toInteger()
41
41
versionName flutterVersionName
42
42
}
Original file line number Diff line number Diff line change 9
9
android : theme =" @style/LaunchTheme"
10
10
android : configChanges =" orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
11
11
android : hardwareAccelerated =" true"
12
+ android : exported =" true"
12
13
android : windowSoftInputMode =" adjustResize" >
13
14
<!-- Specifies an Android theme to apply to this Activity as soon as
14
15
the Android process has started. This theme is visible to the user
36
37
</intent-filter >
37
38
<meta-data android : name =" flutter_deeplinking_enabled" android : value =" true" />
38
39
<intent-filter android : autoVerify =" true" >
39
- <action android : name =" android.intent.action.VIEW" />
40
+ <action android : name =" android.intent.action.VIEW" />
41
+
40
42
<category android : name =" android.intent.category.DEFAULT" />
41
43
<category android : name =" android.intent.category.BROWSABLE" />
42
44
<data android : scheme =" flutterstripe" android : host =" safepay" />
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.5.0 '
2
+ ext. kotlin_version = ' 1.6.10 '
3
3
repositories {
4
4
google()
5
- jcenter ()
5
+ mavenCentral ()
6
6
}
7
7
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:4.1 .2'
9
+ classpath ' com.android.tools.build:gradle:4.2 .2'
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
11
}
12
12
}
13
13
14
14
allprojects {
15
15
repositories {
16
16
google()
17
- jcenter ()
17
+ mavenCentral ()
18
18
}
19
19
}
20
20
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =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 1
1
PODS:
2
2
- Flutter (1.0.0)
3
- - integration_test (0.0.1):
4
- - Flutter
5
3
- pay_ios (0.0.1):
6
4
- Flutter
7
5
- Stripe (21.9.0):
22
20
23
21
DEPENDENCIES:
24
22
- Flutter (from `Flutter`)
25
- - integration_test (from `.symlinks/plugins/integration_test/ios`)
26
23
- pay_ios (from `.symlinks/plugins/pay_ios/ios`)
27
24
- stripe_ios (from `.symlinks/plugins/stripe_ios/ios`)
28
25
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
@@ -36,8 +33,6 @@ SPEC REPOS:
36
33
EXTERNAL SOURCES:
37
34
Flutter:
38
35
:path: Flutter
39
- integration_test:
40
- :path: ".symlinks/plugins/integration_test/ios"
41
36
pay_ios:
42
37
:path: ".symlinks/plugins/pay_ios/ios"
43
38
stripe_ios:
@@ -47,7 +42,6 @@ EXTERNAL SOURCES:
47
42
48
43
SPEC CHECKSUMS:
49
44
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
50
- integration_test: 7db6d89f336f671dcbc7563ee27a5b08f6f8aee1
51
45
pay_ios: 8c7beb9c61d885f3f51b61f75f8793023fc8843a
52
46
Stripe: 41c3d261501e1dc84755b1bdabdaae50ebf92b53
53
47
stripe_ios: fce03ba840e641cc31ff5bdb67f5d5b9c938b897
@@ -57,4 +51,4 @@ SPEC CHECKSUMS:
57
51
58
52
PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
59
53
60
- COCOAPODS: 1.11.2
54
+ COCOAPODS: 1.10.1
Original file line number Diff line number Diff line change 157
157
97C146E61CF9000F007C117D /* Project object */ = {
158
158
isa = PBXProject;
159
159
attributes = {
160
- LastUpgradeCheck = 1020 ;
160
+ LastUpgradeCheck = 1300 ;
161
161
ORGANIZATIONNAME = "";
162
162
TargetAttributes = {
163
163
97C146ED1CF9000F007C117D = {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Scheme
3
- LastUpgradeVersion = " 1020 "
3
+ LastUpgradeVersion = " 1300 "
4
4
version = " 1.3" >
5
5
<BuildAction
6
6
parallelizeBuildables = " YES"
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ DevicePlatform? get selectedPlatform {
9
9
if (defaultTargetPlatform == TargetPlatform .android)
10
10
return DevicePlatform .android;
11
11
if (defaultTargetPlatform == TargetPlatform .iOS) return DevicePlatform .ios;
12
+ return null ;
12
13
}
13
14
14
15
class PlatformIcons extends StatelessWidget {
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ class ColorKey {
11
11
// ignore: lines_longer_than_80_chars
12
12
return '#${color .value .toRadixString (16 ).padLeft (8 , '0' ).toUpperCase ()}' ;
13
13
}
14
+ return null ;
14
15
}
15
16
16
17
static Color ? fromJson (value) {
You can’t perform that action at this time.
0 commit comments