opentok-react-native
Advanced tools
Comparing version 0.12.1 to 0.12.2
# 0.12.2 (Dec 4, 2019) | ||
- **[Fix]**: Prevent to unpublish on disconnected sessions (merged from [PR356](https://github.com/opentok/opentok-react-native/pull/356)). Adheres to: [#337](https://github.com/opentok/opentok-react-native/issues/337) | ||
- **[Feature]**: Add podspec for autolinking support in RN 0.6x (merged from [PR358](https://github.com/opentok/opentok-react-native/pull/358)). Adheres to: [#332](https://github.com/opentok/opentok-react-native/issues/332) | ||
- Android SDK updated to `2.16.3` | ||
# 0.12.1 (Aug 30, 2019) | ||
@@ -3,0 +9,0 @@ |
{ | ||
"name": "opentok-react-native", | ||
"version": "0.12.1", | ||
"version": "0.12.2", | ||
"description": "React Native components for OpenTok iOS and Android SDKs", | ||
"main": "src/index.js", | ||
"homepage": "www.tokbox.com", | ||
"homepage": "https://www.tokbox.com", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -46,3 +46,3 @@ # opentok-react-native | ||
3. Add the following to your pod file: | ||
**For React Native < 0.60**, add this to your Podfile: | ||
@@ -53,3 +53,3 @@ ``` | ||
# Pods for <YourProject> | ||
pod 'OpenTok', '2.16.1' | ||
pod 'OpenTok', '2.16.3' | ||
end | ||
@@ -59,18 +59,18 @@ | ||
4. Now run, `pod install` | ||
3. Now run, `pod install` | ||
5. After installing the OpenTok iOS SDK, change into your root directory of your project. | ||
4. After installing the OpenTok iOS SDK, change into your root directory of your project. | ||
6. Now run, `react-native link opentok-react-native`. | ||
**For React Native < 0.60**, now run `react-native link opentok-react-native`. | ||
7. Open `<YourProjectName>.xcworkspace` contents in XCode. This file can be found in the `ios` folder of your React Native project. | ||
5. Open `<YourProjectName>.xcworkspace` contents in XCode. This file can be found in the `ios` folder of your React Native project. | ||
7. Click `File` and `New File` | ||
6. Click `File` and `New File` | ||
8. Add an empty swift file to your project: | ||
7. Add an empty swift file to your project: | ||
* You can name this file anything i.e: `OTInstall.swift`. This is done to set some flags in XCode so the Swift code can be used. | ||
9. Click `Create Bridging Header` when you're prompted with the following modal: `Would you like to configure an Objective-C bridging header?` | ||
8. Click `Create Bridging Header` when you're prompted with the following modal: `Would you like to configure an Objective-C bridging header?` | ||
10. Ensure you have enabled both camera and microphone usage by adding the following entries to your `Info.plist` file: | ||
9. Ensure you have enabled both camera and microphone usage by adding the following entries to your `Info.plist` file: | ||
@@ -88,3 +88,3 @@ ``` | ||
2. Click on Build Phases | ||
3. Under the Link Binary With Libraries section, remove the libOpenTokReactNative.a and add it again | ||
3. Under the Link Binary With Libraries section, remove the libOpenTokReactNative.a and add it again | ||
@@ -100,3 +100,3 @@ ### Android Installation | ||
4. Add the following to your project `build.gradle` file: | ||
4. Add the following to your project `build.gradle` file: | ||
@@ -103,0 +103,0 @@ ``` |
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
Sorry, the diff of this file is not supported yet
224185
62