|
@@ -67,8 +67,7 @@ public class ViewShot implements UIBlock {
|
67
|
67
|
if ("file".equals(result)) {
|
68
|
68
|
os = new FileOutputStream(output);
|
69
|
69
|
captureView(view, os);
|
70
|
|
- String uri = Uri.fromFile(output).toString();
|
71
|
|
- promise.resolve(uri);
|
|
70
|
+ promise.resolve(output.getAbsolutePath());
|
72
|
71
|
}
|
73
|
72
|
else if ("base64".equals(result)) {
|
74
|
73
|
os = new ByteArrayOutputStream();
|