Skip to content

Commit

Permalink
chore: removed flipper
Browse files Browse the repository at this point in the history
  • Loading branch information
Archish27 committed Jan 29, 2024
1 parent a2e3f8d commit 6f8c1aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ end

target 'MiddlewareReactNativeExample' do
config = use_native_modules!

flags = get_default_flags()
use_react_native!(
:path => config[:reactNativePath],
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable the next line.
:hermes_enabled => false,
:fabric_enabled => false,
:hermes_enabled => flags[:hermes_enabled],
:fabric_enabled => flags[:fabric_enabled],
:flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
Expand Down
3 changes: 3 additions & 0 deletions example/react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ const pak = require('../package.json');

module.exports = {
dependencies: {
...(process.env.NO_FLIPPER
? { 'react-native-flipper': { platforms: { ios: null } } }
: {}),
[pak.name]: {
root: path.join(__dirname, '..'),
},
Expand Down

0 comments on commit 6f8c1aa

Please sign in to comment.