This project is just a demo how to implement drag & drop functionality into your React Native application using React Native's own PanResponder.
This project was bootstrapped with:
Before running any scripts, make sure you have Yarn installed on your machine and have installed all dependencies:
Expo CLI starts Metro Bundler, which is an HTTP server that compiles the JavaScript code of this app using Babel and serves it to the Expo app. It also pops up Expo Dev Tools, a graphical interface for Expo CLI.
- 🍎 On your iPhone or iPad, open the default Apple "Camera" app and scan the QR code you see in the terminal or in Expo Dev Tools.
- 🤖 On your Android device, press "Scan QR Code" on the "Projects" tab of the Expo client app and scan the QR code you see in the terminal or in Expo Dev Tools.
Expo CLI starts Metro Bundler, pops up Expo Dev Tools, and installs and launches the app on the iOS device/emulator.
Expo CLI starts Metro Bundlder, pops up Expo Dev Tools, and installs and launches the app on the Android device/emulator.
Note: Starting in SDK 33 projects bootstrapped with the Expo CLI will have web support from the start. That means web apps can use the same code-base as your existing native app.
Expo CLI starts Metro Bundler, pops up Expo Dev Tools and launches the app on the web browser with Webpack.
This will download the required dependencies and build native projects under the ios
and android
directories.
You can learn more:
To learn React, check out the React documentation.