Cloudinary Integration on iOS

Hi,

Anyone who has integrated cloudinary API in ionic 2/3 app?

I have integrated this npm package -
https://www.npmjs.com/package/cloudinary

It works well when tested on browser via “ionic serve”, BUT fails when run on iOS app.

Any help is appreciated.

Define “fail”.

Did you remote debug the problem on the device already? Follow these instructions here to debug the problem in Safari dev tools: Remote Debug your Ionic App · ionic.zone Look at the console and network tabs for errors.

“Fail” means nothing happens… progress bar keeps on rotating.

cloudinary.uploader.upload(
                    imageData,
                    (result) => {
                        alert(JSON.stringify(result));
                    },
                    {
                        public_id: "Test",
                        crop: 'limit',
                    });

Alert in callback method never fires.

Also, I am testing on iOS device. How do I use “Web Inspector” to view console on iOS device at the time of running app?