|
|
|
|
169
|
console.log('The file saved to ', res.path())
|
169
|
console.log('The file saved to ', res.path())
|
170
|
// Beware that when using a file path as Image source on Android,
|
170
|
// Beware that when using a file path as Image source on Android,
|
171
|
// you must prepend "file://"" before the file path
|
171
|
// you must prepend "file://"" before the file path
|
172
|
- imageView = <Image source={{ uri : Platform.OS === 'android' ? 'file://' : '' + res.path() }}/>
|
|
|
|
|
172
|
+ imageView = <Image source={{ uri : Platform.OS === 'android' ? 'file://' + res.path() : '' + res.path() }}/>
|
173
|
})
|
173
|
})
|
174
|
```
|
174
|
```
|
175
|
|
175
|
|