E/ReactNativeJS: TypeError: null is not an object (evaluating 'f.DocumentDir')
E/ReactNativeJS: Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
I am getting this issue after click widget in the phone. I think it's because of packaged didn't link when I open like this. here is addPackage function but I think it's not working properly. I tried
.addPackages(((MainApplication)getApplication()).getReactNativeHost().getReactInstanceManager().getPackages()) like this but it's not working neighter.
Please help me with this problem asap.
Thank you in advance.
Description
React Native version:
"rn-fetch-blob": "0.10.15", "react": "16.8.3", "react-native": "0.59.0", "react-native-pdf": "5.0.9",
I am getting this issue after click widget in the phone. I think it's because of packaged didn't link when I open like this. here is addPackage function but I think it's not working properly. I tried .addPackages(((MainApplication)getApplication()).getReactNativeHost().getReactInstanceManager().getPackages()) like this but it's not working neighter.
Please help me with this problem asap. Thank you in advance.