react-native-file-opener icon indicating copy to clipboard operation
react-native-file-opener copied to clipboard

Android打开文件报exposed beyond app through Intent.getData()错误

Open Jeijie opened this issue 6 years ago • 1 comments

Android打开文件报exposed beyond app through Intent.getData()错误, 由于项目中还使用了rn-fetch-blob和其他的组件,和reawct-native-file-opener中的AndroidMenifest配置provider有点冲突,合并后现在是:

AndroidMenifest.xml: <provider android:name="android.support.v4.content.FileProvider" android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true">

provider_paths.xml:

真机:306手机vizza, Android版本:7.1.1

项目环境: OS: Windows 7 Node: 10.8.0 Yarn: 1.9.4 npm: 6.2.0 Watchman: Not Found Xcode: N/A Android Studio: Not Found

Packages: (wanted => installed) react: 16.3.1 => 16.3.1 react-native: ^0.55.4 => 0.55.4

Jeijie avatar Aug 26 '18 03:08 Jeijie

Have a look at the other issue here as it seems to be the same: https://github.com/huangzuizui/react-native-file-opener/issues/17

sebastiangrebe avatar Feb 20 '19 10:02 sebastiangrebe