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

create-bridge does not create MainApplication.java #42

Open
2 tasks done
markandrus opened this issue Jan 13, 2018 · 2 comments
Open
2 tasks done

create-bridge does not create MainApplication.java #42

markandrus opened this issue Jan 13, 2018 · 2 comments

Comments

@markandrus
Copy link

Dev setup:

  • react-native-create-bridge version: 1.2.2
  • react-native version: N/A

I am using create-bridge in a:

  • standalone library
  • existing React Native project

What you did:

$ npm init
...
$ npm install react-native-create-bridge
...
$ ./node_modules/.bin/create-bridge
...

What happened:

"Next Steps" in README.md says to edit MainApplication.java; however, no such file exists in my project directory.

@jarretmoses
Copy link
Collaborator

@markandrus MainApplication.java would be part of your React Native app, not created by this package. For example when running react-native init {APP_NAME} the MainApplication,java file is created as part of your app.

@jerinho
Copy link

jerinho commented Nov 21, 2018

@markandrus MainApplication.java would be part of your React Native app, not created by this package. For example when running react-native init {APP_NAME} the MainApplication,java file is created as part of your app.

what if it happens in react-native-create-library?. because as what I've learned react-native init used to create a react native app whereas react-native-create-library to create a native module https://github.com/frostney/react-native-create-library/issues/88

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

3 participants