Closed japrescott closed 3 years ago
by adding
#import <React/RCTBridgeModule.h>
#import <React/RCTEventEmitter.h>
to the file rn-indy-sdk/ios/IndySdk-Bridging-Header.h
is was able to successfully build. I am not sure if this is due to another issue in my setup so I wont make a PR, just leaving this here for anybody that stumbles over this issue
hmm.. the app compiles but I get an error trying to call createWallet(..)
-> ReferenceError: IndyBridge is not defined
@japrescott That's because while creating this repo I wanted to rename IndyBridge
to IndySdk
but did it only partially, my bad. We need to rename it in both index.js
and Java module. iOS expect the correct IndySdk
name.
Regarding the missing import rn-indy-sdk/ios/IndySdk-Bridging-Header.h
, it's probably bug and your PR would be welcome. Thanks for pointing it out.
I've made a PR #10 with renaming.
It should be solved by #10. This repo is being archived. Issues will be managed in the new repository indy-sdk-react-native.
Hello, I am trying to setup your wrapper to do some tests on iOS. The instructions or prerequisites dont seem to be clear; when building/running
npx react-native run-ios
I get following errors; I am trying to build for iOS 10