Questions tagged [react-native-navigation-v2]

85 questions
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

Problems with starting on android device. Error with react-native-navigation

After run npm run android --stacktrace, I have an error: Task :react-native-navigation:compileReactNative57_5DebugJavaWithJavac FAILED error: NoOpPromise is not abstract and does not override abstract method…
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
1 answer

How to add react-native-splash-screen with react-native-navigation v2

I am using react-native-navigation v2 in my project, when i follow the step 6 of initial setup of react-native-navigation v2 then following changes are done by me in MainActivity.java -import com.facebook.react.ReactActivity; +import…
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

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…
2
votes
1 answer

Global component in React Native Navigation

I want to create a music player app that has collapsed music player at the bottom of the screen, above the bottom tabs, similar to how Spotify and Apple Music have it. I just want to see how you would do a layout in that case. Any help is…
2
votes
0 answers

React Native Navigation v2 increase topBar height

How can I increase the height of my topbar in React Native Navigation? In the styling docs, there is only an option for height in android, and this doesn't center the other things (title, buttons, etc.) in the topBar, only adding height to the…
2
votes
1 answer

Is there a way to read the options before use the mergeOptions function in react native navigation v2?

Is there a way to read the options before using the mergeOptions function. I'm trying to add a sideMenu that opens and closes with the same button. But to handle that logic, Instead of making use of redux, I want to read the options before the…
Jacobo
  • 1,259
  • 2
  • 19
  • 43
2
votes
1 answer

Wrapping ThemeProvider to wix react-native-navigation V2

I am trying to wrap my RNN v2 based app with react-native-elements ThemeProvider. ThemeProvider works well with same theme if wrapped around a single component but not if registered with Navigation, what I am doing wrong? const theme = { …
2
votes
1 answer

Wix React Native Navigation V2 - custom navigation transitions

Wix React Native Navigation V2 Custom Navigation Transition Content moderators like myself may get tripped up on this one and mark as duplicate as there are similarly named libraries like React Navigation which have nothing to do with this. Is there…
King Friday
  • 25,132
  • 12
  • 90
  • 84
2
votes
0 answers

react-native Intent SEND with react-native-navigation [v2]

After hours of searching and testing, I cannot get my head through this challenge. I am trying to share data (url, image) from another app --> to my app. But I was not able to find proper documentation on how to achieve this (on Android and iOS), or…
Jojo
  • 133
  • 3
  • 9
2
votes
3 answers

getting "reactnativenavigationtest" signin error

whenever I try to run, I get error: Signing for "ReactNativeNavigationTests" requires a development team. Select a development team in the project editor. (in target 'ReactNativeNavigationTests') I am signed in as my development team in…
2
votes
1 answer

Toptabs are not showing up when using react-native-navigation [V2]

When trying to create toptab navigation in react-native-navigation v2 from wix I am unable to get the top tabs to appear. Below is the code I am trying to use. Any idea what I might be doing wrong? stack: { children: [ { …
2
votes
1 answer

How to use MobX with react-native-navigation by Wix?

Quote from site: We fully support Redux, MobX and other state management libraries. But if I try to pass store and Provider to registerComponent() I still receive error, that react-mobx can't inject store that doesn't exists. Also I've tried…