Closed hassanharoon321 closed 4 months ago
go to app/src/main/java/.../MainApplication.java scroll down and find getPackages() method
it looks something like this:
protected List
// Default React Native Packages
List<ReactPackage> reactPackageList = new ArrayList<>(Arrays.asList(
....
....
after:
protected List
// 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;
Add new OtpVerifyPackage() to the list returned by the getPackages() method