vdocipher-rn-bridge 2.0.0 → 2.0.1

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.
@@ -21,8 +21,8 @@ if (project.hasProperty("newArchEnabled") && project.newArchEnabled == "true") {
21
21
  // TODO read from package.json
22
22
  // "releaseVersionName" must be the same as "version" in package.json
23
23
  // "releaseVersionCode" must increment by 1 with every release
24
- def releaseVersionName = "2.0.0"
25
- def releaseVersionCode = 58
24
+ def releaseVersionName = "2.0.1"
25
+ def releaseVersionCode = 59
26
26
 
27
27
  def isNewArchitectureEnabled() {
28
28
  return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
@@ -106,5 +106,5 @@ repositories {
106
106
  dependencies {
107
107
  compileOnly("com.facebook.react:react-native:+")
108
108
  implementation("androidx.appcompat:appcompat:1.3.1")
109
- implementation("com.vdocipher.aegis:vdocipher-android:1.29.8")
109
+ implementation("com.vdocipher.aegis:vdocipher-android:1.29.9")
110
110
  }
@@ -5,7 +5,7 @@ import VdoFramework
5
5
  @objc(VdocipherRnBridge)
6
6
  class VdocipherRnBridge: NSObject {
7
7
 
8
- static let vdocipherRnBridgeVersionString = "2.0.0"
8
+ static let vdocipherRnBridgeVersionString = "2.0.1"
9
9
 
10
10
  @objc static func requiresMainQueueSetup() -> Bool {
11
11
  return true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vdocipher-rn-bridge",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "React native bridge library that delegates to vdocipher native android SDK",
5
5
  "homepage": "https://www.vdocipher.com/docs/mobile/react-native/getting-started/",
6
6
  "scripts": {
@@ -32,7 +32,7 @@
32
32
  "author": "",
33
33
  "license": "",
34
34
  "peerDependencies": {
35
- "react-native": "0.68 - 0.86"
35
+ "react-native": "0.80 - 0.86"
36
36
  },
37
37
  "dependencies": {
38
38
  "deprecated-react-native-prop-types": "^5.0.0",
@@ -1,7 +1,6 @@
1
1
  require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
- folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
5
4
 
6
5
  Pod::Spec.new do |s|
7
6
  s.name = "react-native-vdocipher-rn-bridge"
@@ -19,22 +18,12 @@ Pod::Spec.new do |s|
19
18
  s.dependency "React-Core"
20
19
  s.dependency "VdoFramework", "2.9.4"
21
20
 
22
- # Don't install the dependencies when we run `pod install` in the old architecture.
21
+ # New arch only; -DFOLLY_CFG_NO_COROUTINES=1 keeps folly off coroutines under C++20 (RN ships no folly/coro headers).
23
22
  if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
24
- s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
25
- s.pod_target_xcconfig = {
23
+ s.pod_target_xcconfig = {
26
24
  "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
27
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
25
+ "OTHER_CPLUSPLUSFLAGS" => "$(inherited) -DFOLLY_CFG_NO_COROUTINES=1"
28
26
  }
29
-
30
- if respond_to?(:install_modules_dependencies, true)
31
27
  install_modules_dependencies(s)
32
- else
33
- s.dependency "React-Codegen"
34
- s.dependency "RCT-Folly"
35
- s.dependency "RCTRequired"
36
- s.dependency "RCTTypeSafety"
37
- s.dependency "ReactCommon/turbomodule/core"
38
- end
39
28
  end
40
29
  end