Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No data received in onActivityResult #222

Open
maxakash opened this issue Oct 23, 2020 · 3 comments
Open

[BUG] No data received in onActivityResult #222

maxakash opened this issue Oct 23, 2020 · 3 comments
Assignees
Labels

Comments

@maxakash
Copy link

While using the latest version 1.0.0-alpha03, no data is received in onActivityResult.
I am using the below code to get data

val path = data?.getParcelableArrayListExtra<Uri>(INTENT_PATH)

But path return empty value.

@sangcomz Please suggest any fix.

@maxakash maxakash added the bug label Oct 23, 2020
@betranthanh
Copy link

Let try the older version 0.11.4 :)
implementation 'com.sangcomz:FishBun:0.11.4'

@sangcomz sangcomz self-assigned this Jan 6, 2021
@meetgandhi24
Copy link

meetgandhi24 commented Dec 1, 2022

Just see your context at "FishBun.with(this)"
if it is different than change it to "this"

Maybe you have given wrong context
You will definitely get data.

@ChanHaoHao
Copy link

When I use FishBun on targetSdkVersion 31, I can get something with FishBun.with(this).getFishBunContext().getContext.getDataDir().toString(), but onActivityResult can't get anything, and I have opened the permission to all files, but the program still shows open failed: EPERM (Operation not permitted), is there is something I am missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants