RazerMS / Mobile-XDK-RazerMS_React_Native

Razer Merchant Services mobile payment for React Native
https://merchant.razer.com/v3/
10 stars 12 forks source link

'React/RCTBridgeModule.h' file not found #28

Closed hpelitebook745G2 closed 5 years ago

hpelitebook745G2 commented 5 years ago

I was trying to integrate this into my RN project with version 0.60.5 but I got error during compilation:

'React/RCTBridgeModule.h' file not found

Screen Shot 2019-09-22 at 9 00 33 AM

I even tried it in a fresh project with the same RN version but I also got the same error. Did I miss anything or is there any additional configuration due to new RN version?

I tried running the sample app and it worked fine.

LeowWH commented 5 years ago

Hi @hpelitebook745G2,

This issue is due to RN > 0.60.0 have start using CocoaPods integration by default and we have update our plugin to 0.27.1 please try "npm install molpay-mobile-xdk-reactnative-beta@0.27.1" and follow the new installation step thanks.

hpelitebook745G2 commented 5 years ago

I was setting the podspec myself similar to your new commit but I'm not quite sure why that didn't work. Anyway, this version finally fixed the iOS compilation error!