react-native-smallcase-gateway 1.7.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/LICENSE +2 -3
- package/android/build.gradle +129 -62
- package/android/gradle.properties +5 -0
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/{smallcase/gateway/reactnative → reactnativesmallcasegateway}/SmallcaseGatewayModule.kt +5 -4
- package/android/src/main/java/com/{smallcase/gateway/reactnative → reactnativesmallcasegateway}/SmallcaseGatewayPackage.kt +4 -6
- package/ios/SmallcaseGateway-Bridging-Header.h +2 -0
- package/ios/SmallcaseGateway.m +3 -11
- package/ios/SmallcaseGateway.swift +3 -0
- package/ios/SmallcaseGateway.xcodeproj/project.pbxproj +21 -29
- package/lib/commonjs/SmallcaseGateway.js +235 -0
- package/lib/commonjs/SmallcaseGateway.js.map +1 -0
- package/lib/commonjs/constants.js +43 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/index.js +17 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/util.js +26 -0
- package/lib/commonjs/util.js.map +1 -0
- package/lib/module/SmallcaseGateway.js +228 -0
- package/lib/module/SmallcaseGateway.js.map +1 -0
- package/lib/module/constants.js +34 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/index.js +9 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/util.js +18 -0
- package/lib/module/util.js.map +1 -0
- package/lib/typescript/react-native.d.ts +10 -0
- package/package.json +130 -39
- package/react-native-smallcase-gateway.podspec +23 -14
- package/src/index.js +4 -0
- package/src/util.js +1 -1
- package/android/README.md +0 -14
- package/index.js +0 -4
- package/ios/SmallcaseGateway.h +0 -5
- package/ios/SmallcaseGateway.xcworkspace/contents.xcworkspacedata +0 -7
- package/ios/SmallcaseGateway.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.0.0](https://github.com/smallcase/react-native-smallcase-gateway/compare/v1.7.0...v2.0.0) (2022-12-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* delete old files ([d85689e](https://github.com/smallcase/react-native-smallcase-gateway/commit/d85689eac4324b8c877a502d539aee7317eb7715))
|
|
11
|
+
* move blank ios swift source files ([c5f1e6e](https://github.com/smallcase/react-native-smallcase-gateway/commit/c5f1e6ed8588474d4cbab1521b3eece92f0c60c4))
|
|
12
|
+
* move js source files to ts ([2331df6](https://github.com/smallcase/react-native-smallcase-gateway/commit/2331df678fe4e9ec23ada7b40ceb1c4bd36cb6b6))
|
|
13
|
+
* move new android files ([634ba90](https://github.com/smallcase/react-native-smallcase-gateway/commit/634ba90383214571f704cf9bff459a0e2e32ac15))
|
|
14
|
+
* move new config files ([645014f](https://github.com/smallcase/react-native-smallcase-gateway/commit/645014fbd8dfeda35eccb8e012a0a6832446c354))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* "main" path in package.json ([f29b94b](https://github.com/smallcase/react-native-smallcase-gateway/commit/f29b94b9fa6d3d84952e642bb7077e2c5820998e))
|
|
20
|
+
* add login cta and mf bridge methods to new arch ([ce16ed5](https://github.com/smallcase/react-native-smallcase-gateway/commit/ce16ed5de7610ef38a11e635486a014b3acf5892))
|
|
21
|
+
* index.js imports ([a5272e6](https://github.com/smallcase/react-native-smallcase-gateway/commit/a5272e63f9f23a0d39a2e6f69032dcd2197e099c))
|
|
22
|
+
* ios bridge ([37b900f](https://github.com/smallcase/react-native-smallcase-gateway/commit/37b900f817370de920990fb1cd0dd96f03bd6877))
|
|
23
|
+
* util.ts -> util.js ([3e6f843](https://github.com/smallcase/react-native-smallcase-gateway/commit/3e6f843d2486b2d6982da2045358308e0a3b4ca2))
|
|
24
|
+
* wrong ts usage ([d8125cf](https://github.com/smallcase/react-native-smallcase-gateway/commit/d8125cf55af477011c920e3fd8c33d1f2b65c691))
|
|
5
25
|
### [1.7.1](https://github.com/smallcase/react-native-smallcase-gateway/compare/v1.7.0...v1.7.1) (2022-12-01)
|
|
6
26
|
|
|
7
27
|
## [1.7.0](https://github.com/smallcase/react-native-smallcase-gateway/compare/v1.6.3...v1.7.0) (2022-11-24)
|
package/LICENSE
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
4
|
-
|
|
3
|
+
Copyright (c) 2022 smallcase
|
|
5
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
5
|
of this software and associated documentation files (the "Software"), to deal
|
|
7
6
|
in the Software without restriction, including without limitation the rights
|
|
@@ -18,4 +17,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
17
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
18
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
19
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
20
|
+
SOFTWARE.
|
package/android/build.gradle
CHANGED
|
@@ -1,87 +1,154 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
def
|
|
4
|
-
|
|
1
|
+
buildscript {
|
|
2
|
+
// Buildscript is evaluated before everything else so we can't use getExtOrDefault
|
|
3
|
+
def kotlin_version = rootProject.ext.has('kotlinVersion') ? rootProject.ext.get('kotlinVersion') : project.properties['SmallcaseGateway_kotlinVersion']
|
|
4
|
+
|
|
5
|
+
repositories {
|
|
6
|
+
google()
|
|
7
|
+
mavenCentral()
|
|
8
|
+
}
|
|
5
9
|
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
dependencies {
|
|
11
|
+
classpath 'com.android.tools.build:gradle:3.5.3'
|
|
12
|
+
// noinspection DifferentKotlinGradleVersion
|
|
13
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
14
|
+
}
|
|
8
15
|
}
|
|
9
16
|
|
|
10
|
-
def
|
|
17
|
+
def isNewArchitectureEnabled() {
|
|
18
|
+
return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
|
|
19
|
+
}
|
|
11
20
|
|
|
12
21
|
apply plugin: 'com.android.library'
|
|
22
|
+
apply plugin: 'kotlin-android'
|
|
13
23
|
|
|
24
|
+
if (isNewArchitectureEnabled()) {
|
|
25
|
+
apply plugin: 'com.facebook.react'
|
|
26
|
+
}
|
|
14
27
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
def kv = rootProject.ext.has('kotlinVersion')
|
|
18
|
-
? rootProject.ext.get('kotlinVersion')
|
|
19
|
-
: '1.3.71'
|
|
20
|
-
|
|
21
|
-
if (project == rootProject) {
|
|
22
|
-
repositories {
|
|
23
|
-
google()
|
|
24
|
-
jcenter()
|
|
25
|
-
}
|
|
26
|
-
dependencies {
|
|
27
|
-
classpath 'com.android.tools.build:gradle:4.0.1'
|
|
28
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kv"
|
|
29
|
-
}
|
|
30
|
-
} else {
|
|
31
|
-
repositories {
|
|
32
|
-
jcenter()
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
dependencies {
|
|
36
|
-
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kv")
|
|
37
|
-
}
|
|
38
|
-
}
|
|
28
|
+
def getExtOrDefault(name) {
|
|
29
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties['SmallcaseGateway_' + name]
|
|
39
30
|
}
|
|
40
31
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
32
|
+
def getExtOrIntegerDefault(name) {
|
|
33
|
+
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['SmallcaseGateway_' + name]).toInteger()
|
|
34
|
+
}
|
|
44
35
|
|
|
45
36
|
android {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
37
|
+
compileSdkVersion getExtOrIntegerDefault('compileSdkVersion')
|
|
38
|
+
|
|
39
|
+
defaultConfig {
|
|
40
|
+
minSdkVersion getExtOrIntegerDefault('minSdkVersion')
|
|
41
|
+
targetSdkVersion getExtOrIntegerDefault('targetSdkVersion')
|
|
42
|
+
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
|
43
|
+
}
|
|
44
|
+
buildTypes {
|
|
45
|
+
release {
|
|
46
|
+
minifyEnabled false
|
|
56
47
|
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
lintOptions {
|
|
51
|
+
disable 'GradleCompatible'
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
compileOptions {
|
|
55
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
56
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
57
|
+
}
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
repositories {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
61
|
+
mavenCentral()
|
|
62
|
+
google()
|
|
63
|
+
|
|
64
|
+
maven {
|
|
65
|
+
url "https://artifactory.smallcase.com/artifactory/gradle-dev-local"
|
|
66
|
+
credentials {
|
|
67
|
+
username "react_native_user"
|
|
68
|
+
password "reactNativeUser123"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
def found = false
|
|
73
|
+
def defaultDir = null
|
|
74
|
+
def androidSourcesName = 'React Native sources'
|
|
75
|
+
|
|
76
|
+
if (rootProject.ext.has('reactNativeAndroidRoot')) {
|
|
77
|
+
defaultDir = rootProject.ext.get('reactNativeAndroidRoot')
|
|
78
|
+
} else {
|
|
79
|
+
defaultDir = new File(
|
|
80
|
+
projectDir,
|
|
81
|
+
'/../../../node_modules/react-native/android'
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (defaultDir.exists()) {
|
|
73
86
|
maven {
|
|
74
|
-
|
|
75
|
-
|
|
87
|
+
url defaultDir.toString()
|
|
88
|
+
name androidSourcesName
|
|
76
89
|
}
|
|
77
|
-
|
|
78
|
-
|
|
90
|
+
|
|
91
|
+
logger.info(":${project.name}:reactNativeAndroidRoot ${defaultDir.canonicalPath}")
|
|
92
|
+
found = true
|
|
93
|
+
} else {
|
|
94
|
+
def parentDir = rootProject.projectDir
|
|
95
|
+
|
|
96
|
+
1.upto(5, {
|
|
97
|
+
if (found) return true
|
|
98
|
+
parentDir = parentDir.parentFile
|
|
99
|
+
|
|
100
|
+
def androidSourcesDir = new File(
|
|
101
|
+
parentDir,
|
|
102
|
+
'node_modules/react-native'
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
def androidPrebuiltBinaryDir = new File(
|
|
106
|
+
parentDir,
|
|
107
|
+
'node_modules/react-native/android'
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
if (androidPrebuiltBinaryDir.exists()) {
|
|
111
|
+
maven {
|
|
112
|
+
url androidPrebuiltBinaryDir.toString()
|
|
113
|
+
name androidSourcesName
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
logger.info(":${project.name}:reactNativeAndroidRoot ${androidPrebuiltBinaryDir.canonicalPath}")
|
|
117
|
+
found = true
|
|
118
|
+
} else if (androidSourcesDir.exists()) {
|
|
119
|
+
maven {
|
|
120
|
+
url androidSourcesDir.toString()
|
|
121
|
+
name androidSourcesName
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
logger.info(":${project.name}:reactNativeAndroidRoot ${androidSourcesDir.canonicalPath}")
|
|
125
|
+
found = true
|
|
126
|
+
}
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (!found) {
|
|
131
|
+
throw new GradleException(
|
|
132
|
+
"${project.name}: unable to locate React Native android sources. " +
|
|
133
|
+
"Ensure you have you installed React Native as a dependency in your project and try again."
|
|
134
|
+
)
|
|
135
|
+
}
|
|
79
136
|
}
|
|
80
137
|
|
|
138
|
+
def kotlin_version = getExtOrDefault('kotlinVersion')
|
|
139
|
+
|
|
81
140
|
dependencies {
|
|
82
|
-
|
|
141
|
+
//noinspection GradleDynamicVersion
|
|
83
142
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
84
143
|
implementation 'com.smallcase.gateway:sdk:3.7.0'
|
|
85
144
|
implementation "androidx.core:core-ktx:1.3.1"
|
|
86
145
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
87
146
|
}
|
|
147
|
+
|
|
148
|
+
if (isNewArchitectureEnabled()) {
|
|
149
|
+
react {
|
|
150
|
+
jsRootDir = file("../src/")
|
|
151
|
+
libraryName = "SmallcaseGateway"
|
|
152
|
+
codegenJavaPackageName = "com.reactnativesmallcasegateway"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
package com.
|
|
1
|
+
package com.reactnativesmallcasegateway
|
|
2
2
|
|
|
3
3
|
import android.util.Log
|
|
4
4
|
import com.facebook.react.bridge.*
|
|
@@ -11,8 +11,7 @@ import com.smallcase.gateway.portal.SmallcaseGatewaySdk
|
|
|
11
11
|
import com.smallcase.gateway.portal.SmallplugPartnerProps
|
|
12
12
|
import kotlin.Error
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
class SmallcaseGatewayModule(reactContext: ReactApplicationContext?) : ReactContextBaseJavaModule(reactContext!!) {
|
|
14
|
+
class SmallcaseGatewayModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
|
|
16
15
|
companion object {
|
|
17
16
|
const val TAG = "SmallcaseGatewayModule"
|
|
18
17
|
}
|
|
@@ -21,6 +20,7 @@ class SmallcaseGatewayModule(reactContext: ReactApplicationContext?) : ReactCont
|
|
|
21
20
|
return "SmallcaseGateway"
|
|
22
21
|
}
|
|
23
22
|
|
|
23
|
+
|
|
24
24
|
@ReactMethod
|
|
25
25
|
fun setConfigEnvironment(envName: String, gateway: String, isLeprechaunActive: Boolean, isAmoEnabled: Boolean, preProvidedBrokers: ReadableArray, promise: Promise) {
|
|
26
26
|
|
|
@@ -347,4 +347,5 @@ class SmallcaseGatewayModule(reactContext: ReactApplicationContext?) : ReactCont
|
|
|
347
347
|
|
|
348
348
|
return errObj
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
|
|
351
|
+
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
package com.
|
|
2
|
-
|
|
1
|
+
package com.reactnativesmallcasegateway
|
|
3
2
|
import com.facebook.react.ReactPackage
|
|
4
|
-
import com.facebook.react.bridge.JavaScriptModule
|
|
5
3
|
import com.facebook.react.bridge.NativeModule
|
|
6
4
|
import com.facebook.react.bridge.ReactApplicationContext
|
|
7
5
|
import com.facebook.react.uimanager.ViewManager
|
|
8
|
-
|
|
6
|
+
|
|
9
7
|
|
|
10
8
|
class SmallcaseGatewayPackage : ReactPackage {
|
|
11
9
|
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
|
|
12
|
-
return
|
|
10
|
+
return listOf(SmallcaseGatewayModule(reactContext))
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
|
|
16
14
|
return emptyList()
|
|
17
15
|
}
|
|
18
|
-
}
|
|
16
|
+
}
|
package/ios/SmallcaseGateway.m
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <React/RCTBridgeModule.h>
|
|
2
2
|
|
|
3
3
|
#import <SCGateway/SCGateway.h>
|
|
4
4
|
#import <SCGateway/SCGateway-Swift.h>
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
@implementation SmallcaseGateway
|
|
8
|
-
|
|
9
|
-
RCT_EXPORT_MODULE()
|
|
6
|
+
@interface RCT_EXTERN_MODULE(SmallcaseGateway, NSObject)
|
|
10
7
|
|
|
11
8
|
//MARK: SDK version helpers
|
|
12
9
|
RCT_REMAP_METHOD(setHybridSdkVersion, sdkVersion: (NSString *)sdkVersion) {
|
|
@@ -94,7 +91,7 @@ RCT_REMAP_METHOD(init,
|
|
|
94
91
|
}];
|
|
95
92
|
}
|
|
96
93
|
|
|
97
|
-
//MARK: Trigger Transaction
|
|
94
|
+
//MARK: Trigger Mf Transaction
|
|
98
95
|
RCT_REMAP_METHOD(triggerMfTransaction,
|
|
99
96
|
transactionId:(NSString *)transactionId
|
|
100
97
|
triggerTransactionWithResolver:(RCTPromiseResolveBlock)resolve
|
|
@@ -487,8 +484,3 @@ RCT_REMAP_METHOD(logoutUser,
|
|
|
487
484
|
}
|
|
488
485
|
|
|
489
486
|
@end
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
|
-
|
|
10
|
+
5E555C0D2413F4C50049A1A2 /* SmallcaseGateway.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* SmallcaseGateway.m */; };
|
|
11
|
+
F4FF95D7245B92E800C19C63 /* SmallcaseGateway.swift in Sources */ = {isa = PBXBuildFile; fileRef = F4FF95D6245B92E800C19C63 /* SmallcaseGateway.swift */; };
|
|
11
12
|
/* End PBXBuildFile section */
|
|
12
13
|
|
|
13
14
|
/* Begin PBXCopyFilesBuildPhase section */
|
|
@@ -24,8 +25,9 @@
|
|
|
24
25
|
|
|
25
26
|
/* Begin PBXFileReference section */
|
|
26
27
|
134814201AA4EA6300B7C361 /* libSmallcaseGateway.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSmallcaseGateway.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
B3E7B5891CC2AC0600A0062D /* SmallcaseGateway.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SmallcaseGateway.m; sourceTree = "<group>"; };
|
|
29
|
+
F4FF95D5245B92E700C19C63 /* SmallcaseGateway-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SmallcaseGateway-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
30
|
+
F4FF95D6245B92E800C19C63 /* SmallcaseGateway.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SmallcaseGateway.swift; sourceTree = "<group>"; };
|
|
29
31
|
/* End PBXFileReference section */
|
|
30
32
|
|
|
31
33
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -57,10 +59,10 @@
|
|
|
57
59
|
58B511D21A9E6C8500147676 = {
|
|
58
60
|
isa = PBXGroup;
|
|
59
61
|
children = (
|
|
62
|
+
F4FF95D6245B92E800C19C63 /* SmallcaseGateway.swift */,
|
|
63
|
+
B3E7B5891CC2AC0600A0062D /* SmallcaseGateway.m */,
|
|
64
|
+
F4FF95D5245B92E700C19C63 /* SmallcaseGateway-Bridging-Header.h */,
|
|
60
65
|
134814211AA4EA7D00B7C361 /* Products */,
|
|
61
|
-
18B09301250F83460012829C /* SmallcaseGateway.h */,
|
|
62
|
-
18B09300250F83460012829C /* SmallcaseGateway.m */,
|
|
63
|
-
158F56C62901D6B600238D90 /* Frameworks */,
|
|
64
66
|
);
|
|
65
67
|
sourceTree = "<group>";
|
|
66
68
|
};
|
|
@@ -100,11 +102,11 @@
|
|
|
100
102
|
};
|
|
101
103
|
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "SmallcaseGateway" */;
|
|
102
104
|
compatibilityVersion = "Xcode 3.2";
|
|
103
|
-
developmentRegion =
|
|
105
|
+
developmentRegion = English;
|
|
104
106
|
hasScannedForEncodings = 0;
|
|
105
107
|
knownRegions = (
|
|
108
|
+
English,
|
|
106
109
|
en,
|
|
107
|
-
Base,
|
|
108
110
|
);
|
|
109
111
|
mainGroup = 58B511D21A9E6C8500147676;
|
|
110
112
|
productRefGroup = 58B511D21A9E6C8500147676;
|
|
@@ -121,7 +123,8 @@
|
|
|
121
123
|
isa = PBXSourcesBuildPhase;
|
|
122
124
|
buildActionMask = 2147483647;
|
|
123
125
|
files = (
|
|
124
|
-
|
|
126
|
+
F4FF95D7245B92E800C19C63 /* SmallcaseGateway.swift in Sources */,
|
|
127
|
+
B3E7B58A1CC2AC0600A0062D /* SmallcaseGateway.m in Sources */,
|
|
125
128
|
);
|
|
126
129
|
runOnlyForDeploymentPostprocessing = 0;
|
|
127
130
|
};
|
|
@@ -132,7 +135,6 @@
|
|
|
132
135
|
isa = XCBuildConfiguration;
|
|
133
136
|
buildSettings = {
|
|
134
137
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
135
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
136
138
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
137
139
|
CLANG_CXX_LIBRARY = "libc++";
|
|
138
140
|
CLANG_ENABLE_MODULES = YES;
|
|
@@ -141,14 +143,12 @@
|
|
|
141
143
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
142
144
|
CLANG_WARN_COMMA = YES;
|
|
143
145
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
144
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
145
146
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
146
147
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
147
148
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
148
149
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
149
150
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
150
151
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
151
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
152
152
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
153
153
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
154
154
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
@@ -159,6 +159,7 @@
|
|
|
159
159
|
COPY_PHASE_STRIP = NO;
|
|
160
160
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
161
161
|
ENABLE_TESTABILITY = YES;
|
|
162
|
+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
|
|
162
163
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
163
164
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
164
165
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
@@ -174,13 +175,7 @@
|
|
|
174
175
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
175
176
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
176
177
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
177
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
178
|
-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
179
|
-
LIBRARY_SEARCH_PATHS = (
|
|
180
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
181
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
|
182
|
-
"\"$(inherited)\"",
|
|
183
|
-
);
|
|
178
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
184
179
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
185
180
|
ONLY_ACTIVE_ARCH = YES;
|
|
186
181
|
SDKROOT = iphoneos;
|
|
@@ -191,7 +186,6 @@
|
|
|
191
186
|
isa = XCBuildConfiguration;
|
|
192
187
|
buildSettings = {
|
|
193
188
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
194
|
-
CLANG_ANALYZER_NONNULL = YES;
|
|
195
189
|
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
|
196
190
|
CLANG_CXX_LIBRARY = "libc++";
|
|
197
191
|
CLANG_ENABLE_MODULES = YES;
|
|
@@ -200,14 +194,12 @@
|
|
|
200
194
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
|
201
195
|
CLANG_WARN_COMMA = YES;
|
|
202
196
|
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
|
203
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
|
204
197
|
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
|
205
198
|
CLANG_WARN_EMPTY_BODY = YES;
|
|
206
199
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
207
200
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
208
201
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
209
202
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
210
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
|
211
203
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
212
204
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
213
205
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
@@ -218,6 +210,7 @@
|
|
|
218
210
|
COPY_PHASE_STRIP = YES;
|
|
219
211
|
ENABLE_NS_ASSERTIONS = NO;
|
|
220
212
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
213
|
+
"EXCLUDED_ARCHS[sdk=*]" = arm64;
|
|
221
214
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
222
215
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
223
216
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
@@ -226,13 +219,7 @@
|
|
|
226
219
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
227
220
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
228
221
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
229
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
230
|
-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
|
231
|
-
LIBRARY_SEARCH_PATHS = (
|
|
232
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
233
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
|
234
|
-
"\"$(inherited)\"",
|
|
235
|
-
);
|
|
222
|
+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
|
|
236
223
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
237
224
|
SDKROOT = iphoneos;
|
|
238
225
|
VALIDATE_PRODUCT = YES;
|
|
@@ -252,6 +239,9 @@
|
|
|
252
239
|
OTHER_LDFLAGS = "-ObjC";
|
|
253
240
|
PRODUCT_NAME = SmallcaseGateway;
|
|
254
241
|
SKIP_INSTALL = YES;
|
|
242
|
+
SWIFT_OBJC_BRIDGING_HEADER = "SmallcaseGateway-Bridging-Header.h";
|
|
243
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
244
|
+
SWIFT_VERSION = 5.0;
|
|
255
245
|
};
|
|
256
246
|
name = Debug;
|
|
257
247
|
};
|
|
@@ -268,6 +258,8 @@
|
|
|
268
258
|
OTHER_LDFLAGS = "-ObjC";
|
|
269
259
|
PRODUCT_NAME = SmallcaseGateway;
|
|
270
260
|
SKIP_INSTALL = YES;
|
|
261
|
+
SWIFT_OBJC_BRIDGING_HEADER = "SmallcaseGateway-Bridging-Header.h";
|
|
262
|
+
SWIFT_VERSION = 5.0;
|
|
271
263
|
};
|
|
272
264
|
name = Release;
|
|
273
265
|
};
|