Questions tagged [wix-react-native-navigation]

Questions about Wix's React Native Navigation package (react-native-navigation on npm).

269 questions
3
votes
1 answer

How to get bottomTab press action with wix react-native-navigation?

I have set up navigation with Bottom tabs in react-native-navigation, this is working fine bottomTabs: { id: 'BOTTOM_TABS_LAYOUT', children: [ { stack: { id: 'HOME_TAB', children: [ { component: { …
3
votes
4 answers

Finding the cause of React Native Android App Crash

After spending many hours of tracing, I am unable to find the issue for the crash of React Native Android App. A white screen appears after react-native run-android and then suddenly the message displays MyApp has stopped! The App was previously…
3
votes
1 answer

Setting up react native push notification with wix react native navigation v3 - problem when app is closed

I am sending a notification that navigates the user to a specific screen when the notification is clicked. This works perfectly when the app is opened or running in the background, however, when the app is closed onNotification is not being…
3
votes
0 answers

React native navigation Wix Navigation.pop Possible Unhandled Promise Rejection (id: 0):Error: Failed to execute stack command

Description I have used react-native-navigation(V2) Wix in my react-native app. I have got error if pop the componentId. Error:: Possible Unhandled Promise Rejection (id: 0): Error: Failed to execute stack command. Stack secondScreen not…
Harleen Kaur Arora
  • 1,949
  • 2
  • 23
  • 55
3
votes
1 answer

problem with react-native-navigation installation instructions assuming some code does not exist in AppDelegate

I am attempting to install react-native-navigation and am following the instructions from https://wix.github.io/react-native-navigation/#/docs/Installing at the section for editing ios files. The instructions tell me to edit the AppDelegate.m. The…
Manuel Hernandez
  • 504
  • 10
  • 19
3
votes
2 answers

How to resolve React Native iOS linking error:: 'ReactNativeNavigation/ReactNativeNavigation.h' file not found?

I have integrated React Native Navigation package for my React Native application.I need to update my old React Native Navigation version to latest version. I am following it's official docs for setup:: check this link…
3
votes
1 answer

v2 Navigation.showModal creating new component instance but not actually navigating to it

I'm trying to perform the most simple showModal animation with react-native-navigation v2 (version 2.8.0) and I cannot get the new screen to pop over the old one. The new component is hitting a log in its componentDidMount function but the…
Reidweb
  • 41
  • 3
3
votes
1 answer

How to integrate React native navigation with AWS Amplify push notifications in android?

I am trying to get FCM push notifications working in my react native project for android with react-native-notification library and aws-amplify. I have an issue with PushNotification.onRegister method is not called in android to get device token to…
3
votes
1 answer

Stuck on Android Splash Screen when app comes back from background

On Android device, app is stuck on splash screen when app comes from background. This happens when a notification is pressed when outside the app but was previously launched successfully. ALSO happens when app is exited by BackHandler.exitApp()…
3
votes
0 answers

Styling the searchbar in wix's react-native-navigation v2

I'm using the search bar in a react-native app (iOS 11+). These are the options I gave to my screen: options: { topBar: { title: { text: 'MyTitle', testID: TOP_APPS_ID, }, searchBar: true, …
3
votes
1 answer

React-Native-Navigation (WIX) : How do I update the badge count for a bottomTab?

I am using the Navigation.mergeOptions() function to try to update the badge count of the third tab (tabindex = 2), however, the badge count is not updating. Here's what my original layout object looks like for setRoot: { root: { …
3
votes
1 answer

WIX React-native-navigation v2 will not call registerAppLaunchedListener()

I am trying to start a project using react-native-navigation, but cannot seem to get on my way. Right now, the error I receive is that React cannot render the root component, and I have managed to find that the reason (as far as I understand) is…
3
votes
1 answer

How to finish SplashScreen from stack in react-native-navigation

I am new in react-native an I am working on a react-native project, I use react-native-navigation from wix and didn't find any solution for how to clear the SplashScreen or any Screen from stack which I don't need to go back again. I use this to…
3
votes
2 answers

Passing value from lightbox to parent

I am creating a profile screen for user in my apps . I am using lightbox from React-Native-Navigation by wix to perform an edit profile . So , the user will click the touchableopacity and a lightbox will pop up and the user will enter the new…
3
votes
1 answer

From React-native-navigation v1 to react-native-navigation v2 for existing project

Is their any way to convert react-native-navigation v1 project to react-native-navigation v2
1 2
3
17 18