bamlab / react-native-image-resizer

🗻 Resize local images with React Native
MIT License
1.61k stars 347 forks source link

type NSMutableDictionary cannot be converted to NSString #313

Closed Riaz5687 closed 2 years ago

Riaz5687 commented 2 years ago
                                       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",

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed. Thank you for your contributions.