question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

expo-file-system missing important Android integration documentation

See original GitHub issue

Context

I’m trying to use expo-2d-context in my vanilla react-native project. This package uses expo-asset which depends on expo-file-system.

Environment

  • Vanilla react-native project using expo universal modules
  • Android device & emulator
  • iOS device & emulator

Steps to Reproduce

  1. Integrate expo with a vanilla react-native project
  2. Integrate expo-file-system
  3. Add require("expo-file-system").FileSystem to your index.js.

Expected Behavior

It should compile and run without an error

Actual Behavior

JavaScript error on this line: https://github.com/expo/expo/blob/master/packages/expo-file-system/src/FileSystem.js#L14

screen shot 2018-12-06 at 15 28 12

Reproducible Demo

  1. Clone https://github.com/flybayer/TestExpoIntegration
  2. Checkout the expo-file-system branch
  3. yarn install
  4. react-native run-ios or react-native run-android

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flybayercommented, Dec 7, 2018

Ah, yay! So then the root problem is that isn’t documented in the expo-file-system README.

Thanks!

0reactions
lock[bot]commented, Jun 13, 2019

This thread has been automatically 🔒locked🔒 since there has not been any recent activity after it was closed. Oftentimes the underlying causes of old issues and steps to reproduce them are different from those of new issues. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FileSystem - Expo Documentation
Expo is an open-source platform for making universal native apps for Android, iOS, and the web with JavaScript and React.
Read more >
How to use the expo-file-system.documentDirectory function in ...
To help you get started, we've selected a few expo-file-system.documentDirectory examples, based on popular ways it is used in public projects.
Read more >
expo-file-system | Yarn - Package Manager
Expo is an open-source platform for making universal native apps that run on Android, iOS, and the web. It includes a universal runtime...
Read more >
File system image in react-native-webview source
I use expo-file-system to download files to the local app directory for ... The heading and paragraph are shown, but the image is...
Read more >
React Native & Expo SDK Setup - OneSignal Documentation
Instructions for adding the OneSignal React Native & Expo SDK to your app for iOS, Android, and derivatives like Amazon.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found