Comments (5)
I've seen all those types of paths....
This is the line that returns it:
Also not sure if you ommited some numbers or System.currentTimeMillis()
on your phone returns only "160585"
That could explain some problems I've had on my app.....
from canvas2imageplugin.
Feel free to play with the returned value but not sure I will be able to accept a PR as changing that is a big change.
from canvas2imageplugin.
Apologies, I edited the original comment, it was late and I must have accidentally cut off the file name of the png.
For clarification.
The issue is not just the path it returns (which appears to be wrong), but where it is actually storing it.
As from my limited research it appears even if it did somehow return the correct path, under Android 10 it wouldn't be accessible to the app itself due to scoped storage.
I guess there is a scenario where all you might need the plugin for is saving the canvas to an image somewhere on the device, and that is it... but I would think most use cases of such a plugin involve actually addressing the image in some manner.
from canvas2imageplugin.
yeah, unfortunately, I don't have enough Android knowledge to be able to fix it in a way that it stores correctly and returns a usable path.
from canvas2imageplugin.
please feel free to send a PR or open a bounty for someone to do it...
from canvas2imageplugin.
Related Issues (13)
- Save base64 image on Android 10 - Cordova plugin - Bountysource HOT 4
- iphone 7plus prompt failed to save please check if permissions are enabled HOT 2
- I have problem with SaveBase64 HOT 1
- iOS memory leak on saveImageDataToLibrary HOT 4
- How to get the file name? HOT 2
- Issue with saveImageDataToLibrary()
- Warning for plugin 'cordova-plugin-compat' not being compatible with cordova-android 9 HOT 1
- background image on canvas
- Thanks for you solved my problem HOT 1
- Saves to wrong folder on Android 10 HOT 7
- Save as JPEG instead of PNG HOT 13
- Hey everyone!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas2imageplugin.