react-native-video-trim 6.0.6 → 6.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.
Files changed (2) hide show
  1. package/ios/VideoTrim.mm +8 -1
  2. package/package.json +1 -1
package/ios/VideoTrim.mm CHANGED
@@ -4,7 +4,14 @@
4
4
  #ifdef RCT_NEW_ARCH_ENABLED
5
5
 
6
6
  #import <VideoTrimSpec/VideoTrimSpec.h>
7
- #import <VideoTrim-Swift.h>
7
+
8
+ #if __has_include(<VideoTrim/VideoTrim-Swift.h>)
9
+ // if use_frameworks! :static
10
+ #import <VideoTrim/VideoTrim-Swift.h>
11
+ #else
12
+ #import "VideoTrim-Swift.h"
13
+ #endif
14
+
8
15
  @interface VideoTrim : NativeVideoTrimSpecBase <NativeVideoTrimSpec, VideoTrimProtocol>
9
16
  @end
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-video-trim",
3
- "version": "6.0.6",
3
+ "version": "6.0.7",
4
4
  "description": "Video trimmer for your React Native app",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",