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

Question: How to follow the README.md #61

Open
deggen84 opened this issue Apr 12, 2019 · 5 comments
Open

Question: How to follow the README.md #61

deggen84 opened this issue Apr 12, 2019 · 5 comments

Comments

@deggen84
Copy link

This is not a bug report, just a question. Im a total beginner.

I called (all on the same folder level) :
react-native init AwesomeProject
react-native-create-library MyLibrary
react-native new-module (using all default value)

How do I answer this :
import com.yourapp.yourmodule.YourModulePackage;

Thanks!

@morenoh149
Copy link

morenoh149 commented Apr 12, 2019

read the readme.

To complete the bridging process, look for MainApplication.java in android/app/src/main/java/com/yourapp

edit this file adding the import

@deggen84
Copy link
Author

Thanks for the reply! Yup i know i need to add it to MainApplication.java

What i dont know is what is “yourapp”, “yourmodule”, and “YourModulePackage”

@morenoh149
Copy link

Those are Whatever you named your project

@deggen84
Copy link
Author

deggen84 commented Apr 15, 2019

I do not know when and if I already named my project.

Based on calling these commands:
react-native init AwesomeProject
react-native-create-library MyLibrary
react-native new-module

am I correct to assume that I have already named my project? If it would not be too much of a hassle, would you please spell out the names for "yourapp", "yourmodule", and "YourModulePackage"?

And if i have not yet named them, do I still need to do another step to provide the project name?

Thanks again in advance.

@morenoh149
Copy link

react-native init AwesomeProject

names your project AwesomeProject

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