react-native-sinch-calling 0.6.0 → 0.6.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## 0.7.0
6
+
7
+ ### Fixed
8
+
9
+ - `SinchCalling.eagerlyRegisterForVoipPush()` (added in 0.6.0) was unreachable from a consumer app's Swift code (`Module 'SinchCalling' has no member named 'eagerlyRegisterForVoipPush'`) — the podspec marked its only header (`SinchCalling.h`) as private, which hid it from anything outside this pod's own target. The RN TurboModule bridge never needed it public (it dispatches via the ObjC runtime), but a plain `import SinchCalling` from an app's `AppDelegate` does.
10
+
5
11
  ## 0.6.0
6
12
 
7
13
  ### Added
@@ -15,7 +15,11 @@ Pod::Spec.new do |s|
15
15
 
16
16
  s.swift_version = "5.0"
17
17
  s.source_files = "ios/**/*.{h,m,mm,swift,cpp}"
18
- s.private_header_files = "ios/**/*.h"
18
+ # `SinchCalling.h` (the only header in this pod) must stay public — the
19
+ # RN TurboModule bridge itself doesn't need this (it dispatches via the
20
+ # ObjC runtime, not compile-time imports), but `eagerlyRegisterForVoipPush`
21
+ # is meant to be called directly from a consumer app's native AppDelegate
22
+ # via `import SinchCalling`, which only sees public headers.
19
23
 
20
24
  s.dependency "SinchRTC"
21
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-sinch-calling",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "React Native TurboModule wrapper for Sinch Voice Calling SDK (Android & iOS)",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",