Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 817 Bytes

manual-installation.md

File metadata and controls

26 lines (15 loc) · 817 Bytes

Android

  1. 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 the getPackages() method

  2. 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')
    
  3. Insert the following lines inside the dependencies block in android/app/build.gradle:

       implementation project(':react-native-picker-module')
    

IOS

This package is using directly React Native Picker and Modal for IOS part.