-
Open up
android/app/src/main/java/[...]/MainActivity.java
-
Add
import com.taluttasgiran.pickermodule.ReactNativePickerModulePackage;
to the imports at the top of the file -
Add
new ReactNativePickerModulePackage()
to the list returned by thegetPackages()
method
-
-
Append the following lines to
android/settings.gradle
:include ':react-native-picker-module' project(':react-native-picker-module').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-picker-module/android')
-
Insert the following lines inside the dependencies block in
android/app/build.gradle
:implementation project(':react-native-picker-module')
This package is using directly React Native Picker and Modal for IOS part.