Open FinSlate opened 4 years ago
For anyone wondering- this is very similar to this repo
https://github.com/terrylinla/react-native-sketch-canvas
The other repo handles layouts better on Android. However, this one allows you to save files to the androids internal app directory so you don't need permissions..depends on your use case.
To switch Terry's over you need to go into the Android/src/sketch.java and change the Save path from external to mContext.GetDir() in both instances.
Hopes this helps someone.
Steps to reproduce.
Expected:
Actual:
I am trying to look in to the optional parameters we can pass to dispatchViewManagerCommand and the 'DrawView' native Android component.
Thanks.