React-native: Cannot bring up the In-App Developer Menu on iOS simulator or on device after upgrading to 0.43.4

Created on 5 May 2017  路  4Comments  路  Source: facebook/react-native

Description

Steps

  • upgrade react-native to 0.43.4
  • restart the packager
  • rebuild debug version of the app for simulator or device

Observations

  • Shake the device cannot bring up the developer menu
  • In simulator, Command + R works for reload, but, Command + D doesn't work, Hardware -> Shake gesture doesn't work.

  • Revert to version 0.42.3, the Develper Menu works as expected again.

  • Developer Menu in Android app works as expected in version 0.43.4.

Environment

  • React Native version: 0.43.4
  • Platform: iOS
  • Development Operating System: MacOS
  • Dev tools: Xcode
Locked

Most helpful comment

React native 0.48.1
Platform - IOS
Development Operating System: MacOS
Dev tools: Xcode

  • it doesn't work for me. DevSupport in subspecs in podfile.

All 4 comments

Are you using cocoapods ? If so you need to add DevSupport as a subspec of React like so

  pod 'React', :path => react_path, :subspecs => [
    'Core',
    'DevSupport', # Devmenu
    'RCTWebSocket', # needed for debugging
   # everything else you need...
  ]

You are right! Thank you very much. It is working now :)

I've found it very hardly, THANKS FOR U!

React native 0.48.1
Platform - IOS
Development Operating System: MacOS
Dev tools: Xcode

  • it doesn't work for me. DevSupport in subspecs in podfile.
Was this page helpful?
0 / 5 - 0 ratings