rns-nativecall 0.8.9 → 0.9.0

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/ios/CallModule.h CHANGED
@@ -7,4 +7,4 @@
7
7
  @property(nonatomic, strong) CXProvider *provider;
8
8
  // Add this property
9
9
  @property(nonatomic, strong) NSUUID *currentCallUUID;
10
- @end
10
+ @end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rns-nativecall",
3
- "version": "0.8.9",
3
+ "version": "0.9.0",
4
4
  "description": "High-performance React Native module for handling native VoIP call UI on Android and iOS.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -9,12 +9,16 @@ Pod::Spec.new do |s|
9
9
  s.homepage = package["homepage"]
10
10
  s.license = package["license"]
11
11
  s.authors = package["author"]
12
- s.platforms = { :ios => "10.0" }
12
+
13
+ # UPDATE: Move this to 13.0 or at least 12.0.
14
+ # iOS 13 is required for the SceneDelegate/Window logic we wrote.
15
+ s.platforms = { :ios => "13.0" }
16
+
13
17
  s.source = { :git => "https://github.com/raiidr.git", :tag => "#{s.version}" }
14
18
 
15
19
  s.source_files = "ios/**/*.{h,m,mm}"
16
20
 
17
- # CRITICAL: Tell iOS to include CallKit for the calling UI
21
+ # These ensure the native compiler links the correct Apple libraries
18
22
  s.frameworks = "CallKit", "AVFoundation"
19
23
 
20
24
  s.dependency "React-Core"
@@ -211,7 +211,6 @@ module.exports = (config, props) => {
211
211
  return withPlugins(config, [
212
212
  withAndroidConfig,
213
213
  withMainActivityDataFix,
214
- withIosAppDelegateMod, // <--- ADDED THIS HERE
215
214
  [withIosConfig, props]
216
215
  ]);
217
216
  };