peggyrayzis / react-native-create-bridge

A CLI tool that bridges React Native modules & UI components with ease 🎉
MIT License
1.02k stars 63 forks source link

create-bridge does not create MainApplication.java #42

Open markandrus opened 6 years ago

markandrus commented 6 years ago

Dev setup:

I am using create-bridge in a:

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 commented 6 years ago

@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 commented 6 years ago

@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