Open EsraaMahmoudMohamed opened 2 years ago
you can check https://stackoverflow.com/a/44089388
Expected behavior
view-shot returns an absolute path in Android like IOS
Actual behavior
view-shot returns a relative path in Android
That's one way to confirm if the image is there. What about -
view-shot returns an absolute path in Android like IOS
view-shot returns a relative path in Android
AFAIK file:/// format is the standard way that get accepted by other libraries too like react-native-fs or Image Editor, so we need more detail why this is a problem.
bug report
when using simulator we get the absolute path for image uri
but when we use the emulator we get relative path
when we try to use
open
command to open the image it always fail with errorVersion & Platform
react-native-view-shot Version 3.1.2 react-native Version 0.64.1
Platform: Android
Expected behavior
view-shot returns an absolute path in Android like IOS
Actual behavior
view-shot returns a relative path in Android