react-native-otp-verify
react-native-otp-verify copied to clipboard
on manual link how to add this
Add new OtpVerifyPackage() to the list returned by the getPackages() method
go to app/src/main/java/.../MainApplication.java scroll down and find getPackages() method
it looks something like this:
protected List<ReactPackage> getPackages() {
// Default React Native Packages
List<ReactPackage> reactPackageList = new ArrayList<>(Arrays.asList(
....
....
after:
protected List<ReactPackage> getPackages() {
// Default React Native Packages
List<ReactPackage> reactPackageList = new ArrayList<>(Arrays.asList(
new OtpVerifyPackage()
dont miss to add this import on top of the same file:
import com.faizal.OtpVerify.OtpVerifyPackage;