@rusaint/react-native 0.13.1 → 0.13.2

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.
@@ -40,11 +40,11 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
40
40
 
41
41
  cmake_path(
42
42
  SET MY_RUST_LIB
43
- ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/librusaint_ffi.a
43
+ ${CMAKE_SOURCE_DIR}/src/main/jniLibs/${ANDROID_ABI}/librusaint_ffi.so
44
44
  NORMALIZE
45
45
  )
46
- add_library(my_rust_lib STATIC IMPORTED)
47
- set_target_properties(my_rust_lib PROPERTIES IMPORTED_LOCATION ${MY_RUST_LIB})
46
+ add_library(my_rust_lib SHARED IMPORTED)
47
+ set_target_properties(my_rust_lib PROPERTIES IMPORTED_LOCATION ${MY_RUST_LIB} IMPORTED_NO_SONAME ON)
48
48
 
49
49
  # Add ReactAndroid libraries, being careful to account for different versions.
50
50
  find_package(ReactAndroid REQUIRED CONFIG)
@@ -79,7 +79,7 @@ android {
79
79
  }
80
80
  }
81
81
  ndk {
82
- abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
82
+ abiFilters "arm64-v8a", "armeabi-v7a"
83
83
  }
84
84
  }
85
85
 
@@ -8,7 +8,7 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>librusaint_ffi.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>librusaint_ffi.a</string>
14
14
  <key>SupportedArchitectures</key>
@@ -17,12 +17,14 @@
17
17
  </array>
18
18
  <key>SupportedPlatform</key>
19
19
  <string>ios</string>
20
+ <key>SupportedPlatformVariant</key>
21
+ <string>simulator</string>
20
22
  </dict>
21
23
  <dict>
22
24
  <key>BinaryPath</key>
23
25
  <string>librusaint_ffi.a</string>
24
26
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64-simulator</string>
27
+ <string>ios-arm64</string>
26
28
  <key>LibraryPath</key>
27
29
  <string>librusaint_ffi.a</string>
28
30
  <key>SupportedArchitectures</key>
@@ -31,8 +33,6 @@
31
33
  </array>
32
34
  <key>SupportedPlatform</key>
33
35
  <string>ios</string>
34
- <key>SupportedPlatformVariant</key>
35
- <string>simulator</string>
36
36
  </dict>
37
37
  </array>
38
38
  <key>CFBundlePackageType</key>
@@ -6,11 +6,11 @@
6
6
  <dict>
7
7
  <key>ios-arm64-simulator/librusaint_ffi.a</key>
8
8
  <data>
9
- Dv0s9f5JUKf0BYEw0OWHfS/r1ww=
9
+ flUIGQaDdT7jwEl7QJ6AXOlX7KI=
10
10
  </data>
11
11
  <key>ios-arm64/librusaint_ffi.a</key>
12
12
  <data>
13
- y/jsAKyzMtT44LIzyebslgk/uSo=
13
+ SXZ4u5N5aQxpq3IynnAe2vGAkIA=
14
14
  </data>
15
15
  </dict>
16
16
  <key>files2</key>
@@ -19,22 +19,22 @@
19
19
  <dict>
20
20
  <key>hash</key>
21
21
  <data>
22
- Dv0s9f5JUKf0BYEw0OWHfS/r1ww=
22
+ flUIGQaDdT7jwEl7QJ6AXOlX7KI=
23
23
  </data>
24
24
  <key>hash2</key>
25
25
  <data>
26
- gXkOHANF1dTTePUjiGzDhM6JhENU1TMI3CmAlkdpXPU=
26
+ 9C+uYYxs7EfKsVJR7g5RMuN6/hf0ifOJw3oA22Geoug=
27
27
  </data>
28
28
  </dict>
29
29
  <key>ios-arm64/librusaint_ffi.a</key>
30
30
  <dict>
31
31
  <key>hash</key>
32
32
  <data>
33
- y/jsAKyzMtT44LIzyebslgk/uSo=
33
+ SXZ4u5N5aQxpq3IynnAe2vGAkIA=
34
34
  </data>
35
35
  <key>hash2</key>
36
36
  <data>
37
- SvaYT6QnerHcSIRFl1cK1eiytrvdZOZCZwc/SxEGj7Y=
37
+ zZba0QKxK59ReL+IQjBjytozSuepFNJkTjmxHU3Hl9o=
38
38
  </data>
39
39
  </dict>
40
40
  </dict>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rusaint/react-native",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "React native implementation of the rusaint, scraper library for SSU u-saint",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -39,11 +39,10 @@
39
39
  "!**/.*"
40
40
  ],
41
41
  "scripts": {
42
- "ubrn:ios": "ubrn build ios --config ubrn.config.yaml --and-generate && (cd example/ios && pod install)",
42
+ "ubrn:ios": "ubrn build ios --config ubrn.config.yaml --and-generate && (cd example/ios && pod install)",
43
43
  "ubrn:android": "ubrn build android --config ubrn.config.yaml --and-generate",
44
- "ubrn:checkout": "ubrn checkout --config ubrn.config.yaml",
45
44
  "ubrn:release-build": "ubrn build ios --config ubrn.config.yaml --and-generate --release && ubrn build android --config ubrn.config.yaml --and-generate --release",
46
- "ubrn:clean": "rm -Rf cpp/ android/src/main/java ios/ src/Native* src/generated/ src/index.ts*",
45
+ "ubrn:clean": "rm -rfv cpp/ android/CMakeLists.txt android/src/main/java android/*.cpp ios/ src/Native* src/index.*ts* src/generated/",
47
46
  "example": "yarn workspace @rusaint/react-native-example",
48
47
  "test": "jest",
49
48
  "typecheck": "tsc",
@@ -5,7 +5,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
5
5
  folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
6
6
 
7
7
  Pod::Spec.new do |s|
8
- s.name = "RusaintReactNative"
8
+ s.name = "rusaint-react-native"
9
9
  s.version = package["version"]
10
10
  s.summary = package["description"]
11
11
  s.homepage = package["homepage"]