![]() Append the following lines to android/adle:.Add new RNCPickerPackage() to the list returned by the getPackages() method.Add import to the imports at the top of the file. ![]() Open application file ( android/app/src/main/java//MainApplication.java).Add libRNCPicker.a to your project's Build Phases ➜ Link Binary With Libraries In XCode, in the project navigator, select your project.Go to node_modules ➜ and add RNCPicker.xcodeproj.In XCode, in the project navigator, right click Libraries ➜ Add Files to.$ react-native link Manual installation iOS The following steps are only necessary if you are working with a version of React Native lower than 0.60 Mostly automatic installation React Native below 0.60 (Link and Manual Installation) MacOSĬocoaPods on MacOS needs this extra step (called from the MacOS directory) pod install app.cppĪdd #include "winrt/ReactNativePicker.h" to the headers included at the top of the file.Īdd PackageProviders().Append(winrt::ReactNativePicker::ReactPackageProvider()) before InitializeComponent(). Right-click main application project > Add > Reference.Ĭheck ReactNativePicker from Solution Projects. Select a reference to ReactNativePicker to your main application project. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |