[v0.7.0-rc.5] - Property 'Buffer' doesn't exist
pandisFox opened this issue · comments
pandisFox commented
This error is happening both on iOS and Android for me.
I have this babel config as suggested in the Readme:
const plugins = [
[
'module-resolver',
{
alias: {
crypto: 'react-native-quick-crypto',
stream: 'readable-stream',
buffer: '@craftzdog/react-native-buffer',
},
},
],
];
Happens on a line such as const encryptedSecret = Buffer.from(encryptedSecretBase64, 'base64');
.
This issue is not present in v0.7.0-rc.4
.
Please let me know if I should try and provide more information or if theres something I'm expected to do on my end considering the new version.
Timothy Shamilov commented
See the breaking changes in rc5 and how to migrate it:
pandisFox commented
worked @shamilovtim! Thank you.