File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 11
22Pod ::Spec . new do |s |
33 s . name = "RNSquarePos"
4- s . version = "1.0.13 "
4+ s . version = "1.1.0 "
55 s . summary = "RNSquarePos"
66 s . description = <<-DESC
77 RNSquarePos
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010 s . license = "MIT"
1111 # s.license = { :type => "MIT", :file => "FILE_LICENSE" }
1212 s . author = { "author" => "[email protected] " } 13- s . platform = :ios , "7 .0"
13+ s . platform = :ios , "12 .0"
1414 s . source = { :git => "https://github.com/matix-io/react-native-square-pos.git" , :tag => "master" }
1515 s . source_files = "ios/**/*.{h,m}"
1616 s . requires_arc = true
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ buildscript {
1212apply plugin : ' com.android.library'
1313
1414android {
15- compileSdkVersion 28
15+ compileSdkVersion 30
1616 buildToolsVersion " 28.0.3"
1717
1818 defaultConfig {
1919 minSdkVersion 16
20- targetSdkVersion 22
20+ targetSdkVersion 30
2121 versionCode 1
2222 versionName " 1.0"
2323 }
@@ -31,7 +31,7 @@ repositories {
3131}
3232
3333dependencies {
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.+'
3636}
37-
37+
Original file line number Diff line number Diff line change 11
22<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 >
57</manifest >
68
Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ @implementation RNSquarePos
4646 currType = SCCAPIRequestTenderTypeCash;
4747 } else if ([tenderType isEqualToString: @" CARD" ]) {
4848 currType = SCCAPIRequestTenderTypeCard;
49+ } else if ([tenderType isEqualToString: @" GIFT_CARD" ]) {
50+ currType = SCCAPIRequestTenderTypeSquareGiftCard;
4951 } else if ([tenderType isEqualToString: @" CARD_ON_FILE" ]) {
5052 currType = SCCAPIRequestTenderTypeCardOnFile;
5153 } else if ([tenderType isEqualToString: @" OTHER" ]) {
Original file line number Diff line number Diff line change 11
22{
33 "name" : " react-native-square-pos" ,
4- "version" : " 1.1.2 " ,
4+ "version" : " 1.1.3 " ,
55 "description" : " React Native wrapper around Square's Android / iOS POS SDKs" ,
66 "main" : " index.js" ,
77 "scripts" : {
You can’t perform that action at this time.
0 commit comments