I’m trying to implement the react-native-fs module in my detached Expo application. The module loads and works when compiling development build variants and running with Expo XDE, but comes up as undefined in the prodRelease variant. Here is the error:
undefined is not an object (evaluating t.RNFSFileTypeRegular)
I’ve tried disabling minification to see if that helps but can’t get past the dex capacity reached issue.
I’m running Expo SDK v24 and Android Studio 3.0.1.
I should mention this works perfectly with iOS in both production and development builds.