Linking in IOS
- Import RNVideoProcessing.h into your project_name-bridging-header.h
what does it mean?
Please @shahen94, I'm lost here too.
Please @shahen94, I'm lost here too22. please~~
@mths0x5f did you solve this problem?
docs aren't maintained, and I could never get this library to work after a few days of trying, but here's a start: https://github.com/shahen94/react-native-video-processing/issues/144
@pyeonjaesik did you click on the screenshot on the main page? It opens up a YouTube video with steps
I followed all of the steps. But I failed again and again...
2019년 7월 12일 (금) 오전 6:15, chai86 [email protected]님이 작성:
@pyeonjaesik https://github.com/pyeonjaesik did you click on the screenshot on the main page? It opens up a YouTube video with steps
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shahen94/react-native-video-processing/issues/235?email_source=notifications&email_token=AJHXTHZTJTXTAGGED7TTYETP66PIRA5CNFSM4H4KFKO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZYACOI#issuecomment-510656825, or mute the thread https://github.com/notifications/unsubscribe-auth/AJHXTH3Z2PZ7GKJTKL5YVMDP66PIRANCNFSM4H4KFKOQ .
So my projectname-bridging-header.h file looks like this (i had to have it precisely like this or build failed):
#ifndef ProjectName_Bridging_Header_h #define ProjectName_Bridging_Header_h
#import <React/RCTBridgeModule.h> #import <React/RCTView.h> #import <React/RCTBridgeModule.h> #import "RNVideoProcessing.h"
#endif /* ProjectName_Bridging_Header_h */
This file also has to be placed in the right folder (try ...ProjectName/ios/ProjectName)
Thanks! I'll try it.
2019년 7월 12일 (금) 오후 11:19, chai86 [email protected]님이 작성:
So my projectname-bridging-header.h file looks like this (i had to have it precisely like this or build failed):
#ifndef ProjectName_Bridging_Header_h #define ProjectName_Bridging_Header_h
#import <React/RCTBridgeModule.h> #import <React/RCTView.h> #import <React/RCTBridgeModule.h> #import "RNVideoProcessing.h"
#endif /* ProjectName_Bridging_Header_h */
This file also has to be placed in the right folder (try ...ProjectName/ios/ProjectName)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/shahen94/react-native-video-processing/issues/235?email_source=notifications&email_token=AJHXTHYZT2CILY6LHTAF7RLP7CHF7A5CNFSM4H4KFKO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZZ4N4A#issuecomment-510904048, or mute the thread https://github.com/notifications/unsubscribe-auth/AJHXTH3S26EDQKPQ77Q6VV3P7CHF7ANCNFSM4H4KFKOQ .
@chai86 Did you followed https://www.youtube.com/watch?v=HRjgeT6NQJM&feature=youtu.be ? I followed it and changed only my projectname-bridging-header.h as you advised. But i failed..
Anyone got it working? My project builds, but i get this error at runtime: "Cannot read property 'Constants' of undefined".
@ramon90 Facing the same issue, did u find any solution for this error?
@sajorahasan https://github.com/shahen94/react-native-video-processing/issues/236#issuecomment-512100770
Same issue, hoping this gets resolved soon. Was really looking forward to using this library.
I had this 'Cannot read property 'Constants' of undefined' issue also. For me it seems that the library wasn't really linked together. I had it working doing all the steps from the video in a fresh app. Following the docs will not work, you need some extra steps that are displayed on video
Does any of you have experience with video processing on Android and iOS? This is a very important library for a lot of people and we might have to fork it
When I created groups in Xcode and copied .swift files, it asked me wether I need to create bridge file, I clicked yes and then It created an empty header file by name "walsos-Bridging-Header.h" keep in mind, my project name here is walsos. If you do not have this file, I suggest, try creating one by the name it suggest in RNVideoProcessing directory