1

As stated in react-native-popup-menu docs to use it we have to wrap our root App component with the component MenuProvider. In react-native-navigation we have no control over that container since it is managed by the native side so is there a workaround to integrate react-native-popup-menu with react-native-navigation?

Hosam Abdelnaser
  • 127
  • 2
  • 11
  • You still have control over your root component, `App.js` will export the `Navigator` created by `react-native-navigation`. You can just wrap that with `Menu-provider` – Adam Roberts Aug 27 '19 at 15:12
  • @AdamRoberts How!! According to `react-native-navigation` setup, we do not have `App.js`. Instead in `index.js` we register an `appLaunchedListener` in which we call `setRoot` passing a regsitered component identifier – Hosam Abdelnaser Aug 28 '19 at 08:27

0 Answers0