I followed these steps to integrate:-
and then in package.json ->
dependency {
"BlackBerry-Dynamics-for-React-Native-Base": "file:../../node_modules/BlackBerry-Dynamics-React-Native-SDK/modules/BlackBerry-Dynamics-for-React-Native-Base"
}
While building the react-native iOS app I am getting this issue:-
error Could not find the following native modules: BbdRNBase. Did you forget to run "pod install" ?
Once I moved to my iOS folder and run pod install I am facing issue like:-
[!] Unable to find a specification for `BlackBerryDynamics` depended upon by `BbdRNBase`
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
My react-version is 0.64 Xcode version is:- 12.1
Did you run the following steps?
$ cd ios $ pod install $ cd.. $ react-native run-ios
Answering in hope that it may helps someone,
This may be the issue of installation of the blackberry in the react-native project,
Step 1
Run command :- npm install ********path to the blackberry reactnative base folder********
Step 2
Check if package.json have blackberry now like this :-
[![enter image description here][1]][1]
*note* path may be different , it depends from where you installed it.
Step 3:-
Check if pod file have now black berry like this
pod 'BlackBerryDynamics', :path => '../node_modules/BlackBerry-Dynamics-for-React-Native-Base/ios/BlackBerryDynamics'
if not please add it manually.
That's it
Now it's time to run cd ios && pod install.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.