Socket
Socket
Sign inDemoInstall

opentok-react-native

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentok-react-native - npm Package Compare versions

Comparing version 0.8.4 to 0.9.0

android/src/main/java/com/opentokreactnative/utils/EventUtils.java

2

package.json
{
"name": "opentok-react-native",
"version": "0.8.4",
"version": "0.9.0",
"description": "React Native components for OpenTok iOS and Android SDKs",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -14,2 +14,3 @@ # opentok-react-native

- [OTSubscriber Component](https://github.com/opentok/opentok-react-native/tree/master/docs/OTSubscriber.md)
- [Event Data](https://github.com/opentok/opentok-react-native/tree/master/docs/EventData.md)
- [Samples](#samples)

@@ -52,3 +53,3 @@ - [Contributing](#contributing)

# Pods for <YourProject>
pod 'OpenTok', '2.14.0'
pod 'OpenTok', '2.15.0'
end

@@ -64,3 +65,3 @@

7. Open `<YourProjectName>.xcworkspace` file in XCode. This file can be found in the `ios` folder of your React Native project.
7. Open `<YourProjectName>.xcworkspace` contents in XCode. This file can be found in the `ios` folder of your React Native project.

@@ -103,8 +104,6 @@ 7. Click `File` and `New File`

```
* It should look something like this:
* ![](https://dha4w82d62smt.cloudfront.net/items/1W1p0Z27471J210d3M2r/Image%202018-03-08%20at%202.12.38%20PM.png?X-CloudApp-Visitor-Id=2816462&v=8ce583bb)
5. Sync Gradle
6. Make sure the following in your app's gradle `compileSdkVersion`, `buildToolsVersion`, `minSdkVersion`, and `targetSdkVersion` are the same in the OpenTok React Native library.
6. Make sure the following in your app's gradle `compileSdkVersion`, `buildToolsVersion`, `minSdkVersion`, and `targetSdkVersion` are greater than or equal to versions specified in the OpenTok React Native library.

@@ -111,0 +110,0 @@ 7. As for the older Android devices, ensure you add camera and audio permissions to your `AndroidManifest.xml` file:

@@ -11,2 +11,3 @@ import { sanitizeBooleanProperty, reassignEvents } from './OTHelper';

disconnected: 'subscriberDidDisconnect',
reconnected: 'subscriberDidReconnect',
error: 'didFailWithError',

@@ -25,2 +26,3 @@ audioNetworkStats: 'audioNetworkStatsUpdated',

disconnected: 'onDisconnected',
reconnected: 'onReconnected',
error: 'onError',

@@ -27,0 +29,0 @@ audioNetworkStats: 'onAudioStats',

import OTSession from './OTSession';
import OTPublisher from './OTPublisher';
import OTSubscriber from './OTSubscriber';
import { OT } from './OT';

@@ -9,2 +10,3 @@ export {

OTSubscriber,
OT,
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc