react-native-image-resizer
react-native-image-resizer copied to clipboard
type NSMutableDictionary cannot be converted to NSString
ImageResizer.createResizedImage(
'file:///var/mobile/Containers/Data/Application/E713A80B-37A4-4B73-B68F-
D090667366C7/tmp/3B85353B-510F-421E-B08A-96F4066A7742.jpg',
100,
100,
'JPG',
100,
)
.then(resizerResponse => {
console.log('response')
})
.catch(e => {
console.log('on fail')
})
giving me the following error in ios:
JSON value '{ column = 26; line = 258506; sourceURL = "http://192.168.18.136:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.workreel.ios.app"; }' of type NSMutableDictionary cannot be converted to NSString
and working fine on android.
"react-native-image-resizer": "^1.4.5", "react-native": "0.68.0",