-
Notifications
You must be signed in to change notification settings - Fork 1.6k
the problem "...exposed beyond app through Intent.getData() " at Android N #358
Comments
@xiaozhicheng , please provide more detailed information about this issue, thanks. |
The problem occurred on the Android 7 model, |
This could be a result of how RNFB uses |
@wkh237 In this context, is it possible this function is wrong? It is public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data) but if I see this right it should be public void onActivityResult(int requestCode, int resultCode, Intent data) Reference: https://developer.android.com/training/basics/intents/result.html That change also satisfies Android studio, which complains about that method. It also complains about the empty I don't want to change anything in the "fetch" part of the code, I only do filesystem (fs.methods)... |
I am just doing
Is any workaround or any kind of solution to this problem possible? If yes then please tell me as and when possible. I just want to open the downloaded file in its default file opener. |
Update , This is not working on android N(7.0) only. It worked fine in 6.0. So i think whatever @sagar-teallabs and @dantman have written is the ultimate problem . Does anyone have a workaround or solution to this? |
Check #614 , the problem is fixed. |
help
The text was updated successfully, but these errors were encountered: