Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: AppContainer is not defined #4

Open
jp-jsr-group opened this issue Apr 10, 2020 · 1 comment
Open

ReferenceError: AppContainer is not defined #4

jp-jsr-group opened this issue Apr 10, 2020 · 1 comment

Comments

@jp-jsr-group
Copy link

After running the app on the browser it shows me this error.

Screen Shot 2020-04-10 at 3 30 31 PM

@piscespieces
Copy link

Hello, @jp-jsr-group

in your AppNavigation.js (located in recipes-app-react-native/src/navigations folder), at the bottom of the file you will find in the line 103 the following line as the log in your browser pointed out:

export default AppContainer = createAppContainer(DrawerStack);

Just change it for:

const AppContainer = createAppContainer(DrawerStack);
export default AppContainer;

This will do the trick, however most likely you'll get other kind of error in your console, but the app will work partially

jlandure added a commit to jlandure/demo-app-react-native that referenced this issue May 25, 2020
Coldstream-Louis added a commit to Coldstream-Louis/recipes-app-react-native that referenced this issue Dec 19, 2020
connect to firebase to search remotely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants