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
Files downloaded with Chrome cannot be used in Android Pie #223
Comments
In imagepicker.android.ts we have:
that we can maybe replace with:
But a bigger problem awaits:
On Android 7, the columns for the rows of cursor are: On Android 8.1 (I have a Go edition) the _data and a lot of the other columns are not there anymore. So in the query it is looking for _data, but it does not exist. I guess the only way to fix this is to copy the contents to a stream and save it in a cache directory or something. I added this debug code to determine the columns returned:
|
I'm also having this issue. What workaround would you suggest for now? |
I did a ugly one. I replaced ..../node_modules/nativescript-imagepicker/imagespicker.android.js with the file in the zip below. As you know with the next tns plugin add... it will be gone. |
Thanks @leoncc! I replaced the contents of the file, but I'm still getting the error. Is there some other npm command I need to run to register the changes? If not, I'll just hold out for the next release. |
Try deleting the platforms folder (the one of your project not in node_modules) and then do tns run android again. |
I also run into the same issue as described. The temporary fix posted in the file by @stevenspiel is working for me but it would by nice to have a more permanent solution in the repo. |
I'm having the same problem the plugin will be updated with this solution above? |
Same issue here! |
Hi all, This issue has not been added to our immediate plans so if anyone is upto the task if contributing to this project we will be more than happy to review and merge a PR that resolves the above issue. For details on how you could contribute read this section. |
The fix is published in nativescript-imagepicker@6.3.0 |
Which platform(s) does your issue occur on?
Please, tell us how to recreate the issue in as much detail as possible.
The text was updated successfully, but these errors were encountered: