uppy/examples/react-native-expo
Kevin van Zonneveld 7e465338cf
Upgrade to eslint-config-transloadit@1.2.0 (#2830)
* Upgrade to eslint-config-transloadit@1.2.0

* allow console.log for /bin files

* Reduce noise in PR
2021-03-25 13:51:50 +01:00
..
assets add icon for files that are not images and don’t have previews 2019-04-09 14:12:34 +03:00
.eslintrc.json Refactor file-picker, add local providers 2018-12-19 15:45:48 +03:00
.gitignore move everything to /examples 2018-12-19 14:46:36 +03:00
.watchmanconfig move everything to /examples 2018-12-19 14:46:36 +03:00
App.js Upgrade to eslint-config-transloadit@1.2.0 (#2830) 2021-03-25 13:51:50 +01:00
app.json update deps 2019-03-15 13:49:28 +03:00
babel.config.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
FileList.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
package.json Update tus-js-client dependency to v2 (#2239) 2020-06-22 12:41:45 +02:00
PauseResumeButton.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
ProgressBar.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
readme.md examples: document npm run build, closes #2024 2020-03-30 16:07:24 +02:00
SelectFilesButton.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
tusFileReader.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00

Uppy in React Native Expo (Beta)

⚠️ In Beta

@uppy/react-native is a basic Uppy component for React Native with Expo. It is in Beta, and is not full-featured. You can select local images or videos, take a picture with a camera or add any file from a remote url with Uppy Companion.

Run it

To run this example, make sure you've correctly installed the repository root:

npm install
npm run build

That will also install the dependencies for this example.

Then, again in the repository root, start this example by doing:

npm run example react-native-expo

Then a tab will open in your browser with Expo UI, and you can choose to run the example in either an iOS or Android simulator, or right on your mobile device with an Expo app — might be easier, if you dont want to install emulators.