@haroldtran/react-native-pax 1.0.2 → 1.0.6
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/android/build.gradle
CHANGED
|
@@ -81,7 +81,7 @@ dependencies {
|
|
|
81
81
|
//! https://developer.pax.us/api/v1/files/314390436447793152/download/private#POSLink_Semi_Integration_Java_Android_V2.01.00_20240914.zip
|
|
82
82
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
83
83
|
implementation 'androidx.core:core-ktx:1.16.0'
|
|
84
|
-
implementation 'com.google.code.gson:gson:
|
|
84
|
+
implementation 'com.google.code.gson:gson:2.9.1'
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
if (isNewArchitectureEnabled()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haroldtran/react-native-pax",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "React Native native module for PAX devices",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"src",
|
|
11
11
|
"lib",
|
|
12
|
+
"*.ts",
|
|
13
|
+
"*.js",
|
|
12
14
|
"android",
|
|
13
15
|
"ios",
|
|
14
16
|
"cpp",
|
|
@@ -34,7 +36,8 @@
|
|
|
34
36
|
"react-native-pax-poslink.podspec",
|
|
35
37
|
"README.md",
|
|
36
38
|
"tsconfig.build.json",
|
|
37
|
-
"tsconfig.json"
|
|
39
|
+
"tsconfig.json",
|
|
40
|
+
"react-native.config.mjs"
|
|
38
41
|
],
|
|
39
42
|
"scripts": {
|
|
40
43
|
"prebuild": "yarn && yarn typecheck && yarn lint && yarn prepack",
|
|
@@ -4,18 +4,16 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
|
|
|
4
4
|
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
|
-
s.name = "
|
|
7
|
+
s.name = "react-native-pax"
|
|
8
8
|
s.version = package["version"]
|
|
9
9
|
s.summary = package["description"]
|
|
10
10
|
s.homepage = package["homepage"]
|
|
11
11
|
s.license = package["license"]
|
|
12
12
|
s.authors = package["author"]
|
|
13
|
-
|
|
14
|
-
s.platforms = { :ios => "11.0" }
|
|
15
13
|
s.source = { :git => "https://github.com/phattran1201/react-native-pax.git", :tag => "#{s.version}" }
|
|
16
14
|
|
|
15
|
+
s.platforms = { :ios => "12.0" }
|
|
17
16
|
s.source_files = "ios/**/*.{h,m,mm}"
|
|
18
|
-
|
|
19
17
|
s.dependency "React-Core"
|
|
20
18
|
|
|
21
19
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|