Skip to content

ReactNative Bare project proof of concepts app collection

License

Notifications You must be signed in to change notification settings

amwebexpert/poc-archiver-bare

Repository files navigation

ReactNative (Bare) POCs

GitHub release (latest by date) GitHub Release Date GitHub last commit GitHub

Note:

  • See also poc-archiver for other POCs packaged as another app!

This app includes the following proof of concept

  • @react-native-clipboard/clipboard
  • @shopify/flash-list
  • axios
  • jail-monkey
  • mobx-react
  • react-native-date-picker
  • react-native-device-info
  • react-native-document-fs
  • react-native-document-picker
  • react-native-email-link
  • react-native-markdown-display
  • react-native-network-logger
  • react-native-wheel-color-picker
  • styled-components
  • and many more...

Screen recordings of some POCs

iOS Generic Drawer POC iOS Zoom In/Out Drawer POC Android open existing svg Android Zoom edit undo

TODOs

  • replace both prettier and eslint by Biomejs
  • support additional svg element types:
    • polygon (ex: triangle <polygon points="100,10 150,190 50,190" ... />)
    • rect
    • line
    • polyline
    • text
  • implement add the redo feature
  • implement multiple items selection mode
  • implement fill color
  • implement brush size selector
  • implement move to back and move to front

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:

yarn start

Step 2: Start 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

yarn android

For iOS

yarn ios

Reactotron integration

Android usefull instructions and commands

  • connect device with usbc cable
  • adb devices
  • adb reverse tcp:9090 tcp:9090
  • adb logcat -s ReactNativeJS to see console.log of reanimated worklet

Troubleshooting

undefined method __apply_Xcode_12_5_M1_post_install_workaround'

CocoaPods could not find compatible versions for pod xyz

➜ Implicit dependency on target 'React-runtimescheduler' in project 'Pods' via options... in build setting 'OTHER_LDFLAGS

References links

Upgrading RN