Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

EXPO + Android 7.0 - undefined is not an object (evaluating 'RNFetchBlob.DocumentDir') #371

Open
@apatton724

Description

@apatton724

Hi there,

I know this has been an issue in the past. However, I am using Expo to upload files using the react-native-fetch-blob.

Can someone walk me through how to avoid this issue in android 7.0? In the README it says I have to have the permission granted: https://github.com/wkh237/react-native-fetch-blob#installation

"Beginning in Android 6.0 (API level 23), users grant permissions to apps while the app is running, not when they install the app. So adding permissions in AndroidManifest.xml won't work for Android 6.0+ devices. To grant permissions in runtime, you might use PermissionAndroid API."

As I stated, I'm using Expo. Before I get to the point of asking the user for permission...on load of the app, I get the above mentioned error.

Any ideas on how to reconcile this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions