文件最后提交记录最后更新时间
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
Format the code format of the Sample project Signed-off-by: Galen wei <1947612015@qq.com> 1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
Format the code format of the Sample project Signed-off-by: Galen wei <1947612015@qq.com> 1 年前
Format the code format of the Sample project Signed-off-by: Galen wei <1947612015@qq.com> 1 年前
add the Copyright-Notice for HUAWEI Signed-off-by: 木叶纷下 <694161290@qq.com>1 年前
Format the code format of the Sample project Signed-off-by: Galen wei <1947612015@qq.com> 1 年前
fix: version in release note & node version Co-authored-by: gyange<gyange@163.com> # message auto-generated for no-merge-commit merge: !2076 merge master into master fix: version in release note & node version Created-by: gyange Commit-by: gyange Merged-by: openharmony_ci Description: <!-- 请在合并之前删除注释代码,以避免将其包含在GIT历史记录中 --> # 描述 <!-- 简要描述PR的目的,例如: 这条PR主要实现metro局域网内远程调试的功能. --> # 变更日志 <!-- 列出可包含在变更日志中的要点的主要变更。 不要列出内部更改。请以下列开头来写每个变更点: - added - fixed - deprecated - removed 如果是一条新增属性的变更,则以[added]开头,例如: - [added] FlatList组件新增inverted属性 --> # 测试步骤 <!-- 如何测试这条PR。例如: 1. 打开Tester工程. 2. 执行npm run start命令. ... --> # 合入前自检 <!-- 请在合入前根据以下条例进行自检 自检完成后在[ ]内填入"x", 例如: - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 --> - [x] 不涉及非兼容性变更;若涉及,已通过相应评审。 - [x] 不涉及性能或已进行性能测试且无性能劣化。 - [x] 符合对应的编码规范。 - [x] 不涉及文档更新,或已更新了文档。 - [ ] 针对可测试性要求,已增加必要的自测用例、合理的日志记录或Trace信息。 - [ ] 不存在非法的文件引入,包括图片和代码等 - [ ] 本PR已经在77分支开启PR或不需要在77分支合入 - 如需合入77分支,PR地址: See merge request: openharmony-sig/ohos_react_native!20764 个月前
更新赋能文档 Signed-off-by: yujunsong <look_s@163.com> 1 年前
README.md

This is a new React Native project, bootstrapped using @react-native-community/cli.

Getting Started

Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.

Step 1: Start the Metro Server

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

# using npm
npm start

# OR using Yarn
yarn start

Step 2: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

For iOS

# using npm
npm run ios

# OR using Yarn
yarn ios

If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.

This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.

Step 3: Modifying your App

Now that you have successfully run the app, let's modify it.

  1. Open App.tsx in your text editor of choice and edit some lines.

  2. For Android: Press the R key twice or select "Reload" from the Developer Menu (Ctrl + M (on Window and Linux) or Cmd ⌘ + M (on macOS)) to see your changes!

    For iOS: Hit Cmd ⌘ + R in your iOS Simulator to reload the app and see your changes!

Congratulations! 🎉

You've successfully run and modified your React Native App. 🥳

Now what?

Troubleshooting

If you can't get this to work, see the Troubleshooting page.

Learn More

To learn more about React Native, take a look at the following resources: