react-native-dotenv has been giving us persistent trouble. Sometimes the env vars are available, other times they're not - with no way of predicting when it might break.
This PR swaps out react-native-dotenv for react-native-config which seems to work more consistently.
[ ] I've updated any documentation related to these changes.
Checklist for releasing a new version
- [ ] I have bumped the version number in the [`package.json` file](https://github.com/Shopify/checkout-sheet-kit-react-native/blob/main/modules/%40shopify/checkout-sheet-kit/package.json#L4).
- [ ] I have added a [Changelog](./CHANGELOG.md) entry.
[!TIP]
See the Contributing documentation for instructions on how to publish a new version of the library.
What changes are you making?
react-native-dotenv
has been giving us persistent trouble. Sometimes the env vars are available, other times they're not - with no way of predicting when it might break.This PR swaps out
react-native-dotenv
forreact-native-config
which seems to work more consistently.PR Checklist
Checklist for releasing a new version
- [ ] I have bumped the version number in the [`package.json` file](https://github.com/Shopify/checkout-sheet-kit-react-native/blob/main/modules/%40shopify/checkout-sheet-kit/package.json#L4). - [ ] I have added a [Changelog](./CHANGELOG.md) entry.