react-native-create-bridge icon indicating copy to clipboard operation
react-native-create-bridge copied to clipboard

create-bridge does not create MainApplication.java

Open markandrus opened this issue 7 years ago • 2 comments

Dev setup:

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

I am using create-bridge in a:

  • [x] standalone library
  • [x] 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.

markandrus avatar Jan 13 '18 00:01 markandrus

@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.

jarretmoses avatar Feb 11 '18 22:02 jarretmoses

@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

jerinho avatar Nov 21 '18 06:11 jerinho