clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

Use react-native-test-app for example

Open Naturalclar opened this issue 3 years ago • 7 comments

Describe the Feature

use microsoft/react-native-test-app for example app

Possible Implementations

example implementation can be found in https://github.com/react-native-menu/menu

Related Issues

Naturalclar avatar Oct 08 '22 07:10 Naturalclar

Hi I would like to work on this can you assign this to me. Thank you

GeorgeET15 avatar Oct 08 '22 07:10 GeorgeET15

@GeorgeET15 sure!

Naturalclar avatar Oct 08 '22 08:10 Naturalclar

Hi sir, can you please explain the issue. Thank you

GeorgeET15 avatar Oct 08 '22 08:10 GeorgeET15

@GeorgeET15

I'd like to simplify the example project in this repository by using microsoft/react-native-test-app

I'm thinking the steps will be something like this:

  1. Copy the content of example/App.js somewhere
  2. delete the example directory
  3. add react-native-test-app in the devDependency of this project yarn add -d react-native-test-app
  4. initialize the test app by running yarn init-test-app and create a new example project
  5. replace the content in App.js generated with content copied in step 1
  6. follow the platform specific instructions in the react-antive-test-app doc https://github.com/microsoft/react-native-test-app/wiki/Quick-Start#platform-specific-instructions
  7. run yarn in example folder and test that iOS/Android is working fine (check windows and macos too if possible)

Naturalclar avatar Oct 09 '22 03:10 Naturalclar

OK 👍🏻

GeorgeET15 avatar Oct 09 '22 05:10 GeorgeET15

There is no file named App.js in the example directory

GeorgeET15 avatar Oct 10 '22 08:10 GeorgeET15

@GeorgeET15 sorry about that, the original file in example directory is App.tsx

Naturalclar avatar Oct 11 '22 05:10 Naturalclar