@apirtc/expo-apirtc-options-plugin 0.0.6 → 0.0.7

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.
@@ -9,6 +9,7 @@ import Foundation
9
9
  import ReplayKit
10
10
  import Photos
11
11
  import UIKit
12
+ import React
12
13
 
13
14
  @objc(ReactNativeApiRTC_RPK)
14
15
  class ReactNativeApiRTC_RPK: RCTEventEmitter {
@@ -2,5 +2,10 @@
2
2
  // Use this file to import your target's public headers that you would like to expose to Swift.
3
3
  //
4
4
 
5
-
6
- #import "React/RCTEventEmitter.h"
5
+ // React Native <= 0.75: source-based pods, headers available via HEADER_SEARCH_PATHS
6
+ // React Native >= 0.76: prebuilt XCFramework, headers only accessible via module import
7
+ #if __has_include("React/RCTEventEmitter.h")
8
+ #import "React/RCTEventEmitter.h"
9
+ #else
10
+ @import React;
11
+ #endif
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apirtc/expo-apirtc-options-plugin",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Plugin Expo pour ajouter les features apiRTC dans une application React Native",
5
5
  "main": "index.js",
6
6
  "keywords": [