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

Neither success not error callback invoked when the user clicks back #25

Open
ryaa opened this issue Feb 1, 2017 · 4 comments
Open

Comments

@ryaa
Copy link

ryaa commented Feb 1, 2017

When fileChooser.open invoked with both success and error callbacks and the user clicks back the file choose is closed but none of the callbacks are invoked

@dpaksoni
Copy link

dpaksoni commented Feb 10, 2017

+1. Same issue here. None of the callbacks are invoked.

@nicolasalcina
Copy link

+1

@nicolasalcina
Copy link

I found a solution:
replace:

// TODO NO_RESULT or error callback?
                PluginResult pluginResult = new PluginResult(PluginResult.Status.NO_RESULT);
callback.sendPluginResult(pluginResult);

by:
callback.error("File uri was null");

@Gillardo
Copy link

Gillardo commented Apr 1, 2018

+1

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

No branches or pull requests

4 participants