Hello! I am using react-native-navigation v3. Android auto-linked Native modules no longer work.
This is true for react-native-async-storage, react-native-cookies, react-native-device-info
Does your MainApplication.java file include the following line?
new PackageList(this).getPackages()
I think it must be included to auto-link native packages.
But I cannot find it at react-native-navigation v3.
I don't know it is the right way but I added this snippet to createAdditionalReactPackages() method.
Yeah. I was having the same error. Recheck your MainApplication.java. @JongtaekChoi 's changes will help.
Got it thanks! I鈥檒l try this out today, let you know how it goes.
Awesome thank you @JongtaekChoi and @heroic.
For future reference:
@Override
public List<ReactPackage> createAdditionalReactPackages() {
return new PackageList(this).getPackages();
}
Fixes auto linking in v3.
Most helpful comment
Awesome thank you @JongtaekChoi and @heroic.
For future reference:
Fixes auto linking in v3.