Open toblerpwn opened 5 years ago
Works perfectly fine for my use case, thanks 🥇
@terrylinla any progress on this one?
Would love to see this get in!
I've tried to find any fork that fixed that issue but couldn't succeed so I created my own containing only this fix. I am too lazy to create npm package so if you want to use this you can just use the following:
npm i m4yer/react-native-sketch-canvas
Then use the component like this:
<SketchCanvas
promptForExternalWritePermissions={false}
/>
Related to #100. This is not the best fix, as it does not fix item (2) in the issue noted, but at least it removes the permission prompt for (most?) consumers who don't need it.
A more proper fix, per #100, would prompt not based on a
bool
but actually based on some parameter specifying where one would like to save (and determining that the user doesn't have rights to it). Also, this prompt should appear only aftersave()
(or similar) is invoked--not before.