File tree 5 files changed +14
-10
lines changed
5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
2
2
Pod ::Spec . new do |s |
3
3
s . name = "RNSquarePos"
4
- s . version = "1.0.13 "
4
+ s . version = "1.1.0 "
5
5
s . summary = "RNSquarePos"
6
6
s . description = <<-DESC
7
7
RNSquarePos
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
s . license = "MIT"
11
11
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
12
12
s . author = { "author" => "[email protected] " }
13
- s . platform = :ios , "7 .0"
13
+ s . platform = :ios , "12 .0"
14
14
s . source = { :git => "https://github.com/matix-io/react-native-square-pos.git" , :tag => "master" }
15
15
s . source_files = "ios/**/*.{h,m}"
16
16
s . requires_arc = true
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ buildscript {
12
12
apply plugin : ' com.android.library'
13
13
14
14
android {
15
- compileSdkVersion 28
15
+ compileSdkVersion 30
16
16
buildToolsVersion " 28.0.3"
17
17
18
18
defaultConfig {
19
19
minSdkVersion 16
20
- targetSdkVersion 22
20
+ targetSdkVersion 30
21
21
versionCode 1
22
22
versionName " 1.0"
23
23
}
@@ -31,7 +31,7 @@ repositories {
31
31
}
32
32
33
33
dependencies {
34
- compile ' com.facebook.react:react-native:+'
35
- compile ' com.squareup.sdk:point-of-sale-sdk:2.+'
34
+ implementation ' com.facebook.react:react-native:+'
35
+ implementation ' com.squareup.sdk:point-of-sale-sdk:2.+'
36
36
}
37
-
37
+
Original file line number Diff line number Diff line change 1
1
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- package =" io.matix" >
4
-
3
+ package =" io.matix" >
4
+ <queries >
5
+ <package android : name =" com.squareup" />
6
+ </queries >
5
7
</manifest >
6
8
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ @implementation RNSquarePos
46
46
currType = SCCAPIRequestTenderTypeCash;
47
47
} else if ([tenderType isEqualToString: @" CARD" ]) {
48
48
currType = SCCAPIRequestTenderTypeCard;
49
+ } else if ([tenderType isEqualToString: @" GIFT_CARD" ]) {
50
+ currType = SCCAPIRequestTenderTypeSquareGiftCard;
49
51
} else if ([tenderType isEqualToString: @" CARD_ON_FILE" ]) {
50
52
currType = SCCAPIRequestTenderTypeCardOnFile;
51
53
} else if ([tenderType isEqualToString: @" OTHER" ]) {
Original file line number Diff line number Diff line change 1
1
2
2
{
3
3
"name" : " react-native-square-pos" ,
4
- "version" : " 1.1.2 " ,
4
+ "version" : " 1.1.3 " ,
5
5
"description" : " React Native wrapper around Square's Android / iOS POS SDKs" ,
6
6
"main" : " index.js" ,
7
7
"scripts" : {
You can’t perform that action at this time.
0 commit comments