Skip to content

Commit

Permalink
Account for NO_FLIPPER (react-native-flipper) in react-native.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm committed Sep 4, 2023
1 parent 1e432e0 commit 14d18a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions react-native.config.js
Expand Up @@ -2,6 +2,9 @@
// eslint-disable-next-line import/no-commonjs
module.exports = {
dependencies: {
...(process.env.NO_FLIPPER
? { 'react-native-flipper': { platforms: { ios: null } } }
: {}),
'react-native-aes-crypto-forked': {
platforms: {
ios: null, // disable Android platform, other platforms will still autolink if provided
Expand Down

0 comments on commit 14d18a6

Please sign in to comment.