@kaleyra/video-react-native-module 1.3.2 → 1.3.3

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/README.md CHANGED
@@ -48,7 +48,7 @@ npm install @kaleyra/video-react-native-module
48
48
 
49
49
  ### Standalone iOS framework
50
50
 
51
- In case your application already provides the WebRTC framework in a third party module, a conflict may arise when trying to install the depedencies through Cocoapods.
51
+ In case your application already provides the WebRTC framework in a third party module, a conflict may arise when trying to install the dependencies through Cocoapods.
52
52
  In order to resolve the conflict you can download and install the Kaleyra Video iOS framework as a standalone package.
53
53
  To enable the standalone framework you must change your application's Podfile declaring the `$KaleyraNoWebRTC` variable before the first target definition. You can give whatever value you want to the variable as long as it is defined before the target definitions.
54
54
 
@@ -56,9 +56,6 @@ To enable the standalone framework you must change your application's Podfile de
56
56
  platform :ios, min_ios_version_supported
57
57
  prepare_react_native_project!
58
58
 
59
- # use_frameworks! is required for using Bandyer framework, linkage static is required by React Native instead.
60
- use_frameworks! :linkage => :static
61
-
62
59
  $KaleyraNoWebRTC = ''
63
60
 
64
61
  target 'KaleyraVideoReact' do
@@ -168,7 +165,7 @@ In order to get your device push token, you must listen for the **KaleyraVideo.e
168
165
  // The token is received in this listener only after calling kaleyraVideo.connect(_)
169
166
  kaleyraVideo.events.oniOSVoipPushTokenUpdated = (token: string) => {
170
167
  // register the VoIP push token on your server
171
- });
168
+ };
172
169
  ```
173
170
  **Warning:** Make sure this listener is attached before calling kaleyraVideo.connect(_), otherwise the event reporting the device token could be missed.
174
171
 
@@ -280,14 +277,6 @@ To verify a user for the current call.
280
277
  kaleyraVideo.verifyCurrentCall(true);
281
278
  ```
282
279
 
283
- ## iOS Podfile Setup
284
-
285
- Please pay attention to the Podfile setup for your iOS application. Is required to add this to your Podfile:
286
-
287
- ```ruby
288
- use_frameworks! :linkage => :static
289
- ```
290
-
291
280
  ## iOS Broadcast Screen sharing
292
281
 
293
282
  To enable whole device screen share is required and additional setup.
@@ -295,14 +284,23 @@ Open the iOS Xcode project of your React Native application and follow [this gui
295
284
  After completing the procedure described in the guide above you need to add to your Podfile this lines:
296
285
 
297
286
  ```ruby
298
- target 'BroadcastExtension' do
299
- use_frameworks! :linkage => :dynamic
300
287
 
288
+ target 'KaleyraVideoReact' do
289
+ pod 'BandyerBroadcastExtension'
290
+ ...
291
+ end
292
+
293
+ target 'BroadcastExtension' do
301
294
  pod 'BandyerBroadcastExtension'
302
295
  end
303
296
  ```
304
297
 
305
- Furthermore, to allow a correct configuration of the SDK it is necessary to create a file called "KaleyraVideoConfig.plist" and add it to the same target of the application. This file must have the following content:
298
+ Furthermore, to allow a correct configuration of the SDK it is necessary to:
299
+ - create a file called "KaleyraVideoConfig.plist"
300
+ - add it to the same target of the application. (and NOT to the Extension)
301
+ - set Extension Minimum Deployments to match the version of the Application
302
+
303
+ This file must have the following content:
306
304
 
307
305
  ```xml
308
306
  <?xml version="1.0" encoding="UTF-8"?>
@@ -323,9 +321,11 @@ Furthermore, to allow a correct configuration of the SDK it is necessary to crea
323
321
  ## iOS Notifications
324
322
  The module supports **on_call_incoming** notification.
325
323
  You will need to set the **voipHandlingStrategy** and subscribe to **iOSVoipPushTokenUpdated** event to receive the voip token to use on your backend to notify the plugin.
324
+ > Be aware that notifications VOIP notifications are different compared to push. They must be always handled by ensuring the invocation of the configure and connect methods in index.js or App.js.
326
325
 
327
326
  ## Android Notifications
328
327
  Supports only **on_call_incoming** and **on_message_sent** notification types.
328
+ > Be aware that notifications require **HIGH priority**
329
329
 
330
330
  ```javascript
331
331
  kaleyraVideo.handlePushNotificationPayload(payload);
@@ -1 +1 @@
1
- React/1.3.2
1
+ React/1.3.3
@@ -7,7 +7,7 @@ import Foundation
7
7
  class _KaleyraVideoHybridVersionInfo: NSObject {
8
8
 
9
9
  @objc
10
- static let krvVersion: String = "1.3.2"
10
+ static let krvVersion: String = "1.3.3"
11
11
 
12
12
  @objc
13
13
  static let krvPlatform: String = "react"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaleyra/video-react-native-module",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "private": false,
5
5
  "description": "Kaleyra Video module for react native.",
6
6
  "main": "lib/commonjs/index.js",
@@ -19,9 +19,9 @@ Pod::Spec.new do |s|
19
19
  s.dependency "React-Core"
20
20
 
21
21
  if defined?($KaleyraNoWebRTC)
22
- s.dependency "Bandyer/Core", "~> 3.11.0"
22
+ s.dependency "Bandyer/Core", "~> 3.11.1"
23
23
  else
24
- s.dependency "Bandyer", "~> 3.11.0"
24
+ s.dependency "Bandyer", "~> 3.11.1"
25
25
  end
26
26
 
27
27
  # Don't install the dependencies when we run `pod install` in the old architecture.