Questions tagged [navigator-ios]
23 questions
21
votes
6 answers
React Native Pass properties on navigator pop
I'm using NavigatorIOS on my react native app. I want to pass some properties when navigating back to previous route.
An example case:
I'm in a form page. After submitting data, I want to go back to the previous route and do something based on the…

Habibi
- 595
- 1
- 6
- 16
16
votes
2 answers
React Native Pass data between sibling views
I'm developing a simple todo-list app using React Native, my issue is the following: I have a NavigatorIOS at the root of my project, with a component containing a ListView as initial route, and a navigation bar button that leads to a task creation…

sweepy_
- 1,333
- 1
- 9
- 28
7
votes
4 answers
React native - prevent user from going back to login screen
I've created a Login button using Facebook SDK. Once the user is logged in, the app navigates to the second screen (NavigatorIOS). From that second screen the user can go back to the login screen using the navigation (back button).
How can I…

John
- 3,529
- 14
- 42
- 48
6
votes
2 answers
ReactNative when scrolling auto hide navigatorios
I'm trying to hide the navbar (NavigatorIOS) when scrolling down. How can I achieve that ?
Thanks

Bader
- 825
- 1
- 9
- 26
5
votes
1 answer
Hide navigation bar in NavigatorIOS component (react-native) doesn't work after RN update
I had recently upgraded my react native project from ~0.28 to the most recent version (0.43.2) and for some reason my navigation bar no longer hides for me.
Here is the code (it is sitting in a TabBarIOS component):

Michael Campsall
- 4,325
- 11
- 37
- 52
4
votes
0 answers
React Native NavigatorIOS "PUSH" Crashes App When invoked on componentDidMount [Only on Cold Launch]
The react-native application checks the local storage for an auth token, and if the token is available the app will navigate to the main page,
but the application crashes when trying to call this.props.navigator.push.
This only happens when the app…

Ismail Iqbal
- 2,774
- 1
- 25
- 46
3
votes
1 answer
In React Native how to pass store to Component when using NavigatorIOS?
So originally my app was giving the store to the component fine in index.ios.js like so:
class Laybium extends Component {
render() {
return (
);
}
}
However I…

letter Q
- 14,735
- 33
- 79
- 118
1
vote
1 answer
Navigate back in NavigatorIOS react native
I am testing a NavigatorIOS in my react native project. the issue is when i press the buttons to navigate from a component to an other there is no problem but when I try to go back with the button in title bar which NavigatorIOS produced, I get this…

Ali Bayat Mokhtari
- 173
- 1
- 12
1
vote
1 answer
How to Navigate from React Native Component to Native iOS UIViewController
I've integrated React Native into an existing native Objective-C iOS app. I need to navigate from a React Native Component to a native UIViewController, and back.
I'm currently trying to get a Native Module to work but, while my Native Module is…

tentmaking
- 2,076
- 4
- 30
- 53
1
vote
1 answer
pass props.navigator to parent in react native
Im having issue using react-native-side-menu to navigate between different scene.Mainly because my NavigatorIOS is inside the SideMenu, so I believe the props.navigator doesn't exist until NavigatorIOS is rendered?
the main code:
class HomeScene…

XYZ_Allen
- 253
- 2
- 3
- 15
1
vote
1 answer
How can I reset the navigation stack (and cached screens) in NavigatorIOS on react-native?
I have NavigatorIOS set up to display screens that are populated by a JSON file fetched from our server. This file is cached locally so the app can run offline as well.
When the server updates the JSON, the app downloads the new JSON in the…

Michael Campsall
- 4,325
- 11
- 37
- 52
0
votes
0 answers
Element type is invalid: expected a string when using NavigatorIOS on React Native
I get an error when trying to render a NavigatorIOS component. When attempted with a simple View and a Text, it worked fine. But for the NavigatorIOS it gives an error.
import React, {Component} from 'react';
const LandingPage =…

Nimila Hiranya
- 4,842
- 10
- 35
- 52
0
votes
0 answers
NavigatorIOS initialRoute component export issue
Referring to the sample code provided by the Facebook for NavigatorIOS, I created a simple app which is supposed to show a navigation bar with a root view. The NavigatorIOS has included in the file App.js and the root view has defined in the file…

sree_iphonedev
- 3,514
- 6
- 31
- 50
0
votes
1 answer
Cannot pass correctly Components to NavigatorIOS when using with TabBarIOS
I'm new to ReactNative and started to using TabBarIOS component for a project. I have TabBarIOS component which has 5 different TabBarIOS.Item Component. These each all point another component to present. These different components are all have…

eemrah
- 1,603
- 3
- 19
- 37
0
votes
1 answer
Unable to display content while using NavigatorIOS
I am new to react-native and am building a simple test application.
CODE-
import React, { Component } from 'react';
import { NavigatorIOS, Text, View } from 'react-native';
export default class App extends Component {
render() {
return (
…

varun mantri
- 1
- 1