Third-party module undefined in Android prodRelease build variant

I needed to use the writeFile method to write base64 data to save a jpeg to the app document directory, something like so: RNFS.writeFile(destinationPath, imageData, 'base64')

Based on what I read here in the expo forums I figured using RNFS module was the only way.