NSURLErrorDomain error - ios

I'm building an application with phonegap and I'm using the aviary plugin (www.aviary.com). When I try to open a photo taken by the camera, aviary plugin closes and "NSURLErrorDomain error -999" appears in the console log.
This problem doesn't appear when I try to open a web URL file (http://...)
How can I fix it?

Do you have all the appropriate URLs whitelisted.
See: http://docs.phonegap.com/en/2.0.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide

Related

unexpected code 404 on publishing react native app on expo

I have been trying to publish my react-native app on expo so I can show it to others.
But i am facing error. I looked up on internet but couldn't find solution that can solve my problem.
The error is:
Building iOS bundle
Packager URL http://127.0.0.1:80/index.bundle?dev=false&minify=true&hot=false&platform=ios returned unexpected code 404. Please open your project in the Expo app and see if there are any errors. Also scroll up and make sure there were no errors or warnings when opening your project.
I am using visual studio code and when i run app by
expo start
It opens.. shows QR code... I scan with my iphone..and app opens in expo client.. works perfectly fine there but the above error comes when i try to publish.
can anyone tell me what might be the issue here please ?
Try to publish the app again unchecking the 'Optimize Assets' checkbox. This works for me.

Xcode couldn't open the project generated by cordova-ios": "6.1.1" but "5.1.0" is Okay

enter image description here
Xcode error message is:workspace integrity couldn't load project,but when i use cordova plugin 'cordova-ios#5.1.0',Xcode was ok to load the project.
Does anyone know why?I was stuck in this for a quite long time
Try to open xcodeworkspace, intead of project.

How to open iTunes link with ionic inappbrowser?

So I am using the following code to try and open an app from inside my ionic app.
$cordovaInAppBrowser.open('itms-apps://itunes.apple.com/us/app/pages/id333903271?mt=8', '_system', 'location=yes');
I am trying on an iPad Air2 as well as simulator and no matter what I do I cannot get anything to happen, I do not get a url not found just nothing, no app opens. I have console logs above and below so I know the event is firing and no errors are happening. Also note that if I change the URL to be a google play link and I build for android this works fine. Any ideas on what could be going on?
Issue was in how I was calling the event, for whatever reason when switching the string to double quotes it worked over single quotes. Plugin must be specific.
Update your plugin more than version 1.3

phonegap 3.0 console.log plugin http:localhost/!gap_exec 404 NOT FOUND

I've installed the console.log plugin "$ cordova plugin add org.apache.cordova.console" to my phonegap 3.0 project.
When I do console.log("xxx") in xcode, it work fine without any problem / error.
However when I test it in a web browser. The error "http:localhost/!gap_exec 404 NOT FOUND" appeared in the web browser console. When I comment out the console.log("xxx"), this error is disappear.
I just wonder whether it is really work fine in xcode. coz sometime xcode won't display javascript error.
Is there any debug tools for develop phonegap apps for ios / android?
Any cordova(phonegap) plugins is not for the web browser. when we install the console plugins it works on actual device because deviceready event fires but in case of web browser deviceready does not fire thus plugins are not working so, if you are doing so then please remove cordova.js file from your html and try in web-browser. but when you are ready with device include that file it is mandatory.
http:localhost/!gap_exec 404 NOT FOUND errors simply means that cordova(phonegap) does not find the actual device environment.

Blackberry error starting application: verification error

I'm trying to use libraries in a project. The one i'm using is blackberry's Advanced UI sample library, which i added by creating a jar of it and preverifying it.
The code works fine, no issues.
However, I need to include facebook and twitter integration.
I'm trying to use facebook sdk 0.8.25 (requires log4b.jar) and twitter ME API 1.8.
I include them in the build path and tick for them to be copied at build.
When i run the application i get
Error starting --- Module --- has verification error 2644 at offset 08e5
I've tried each jar separately, log4b give the same issue stating error 190.
any idea what i'm doing wrong?
Managed to fix my own fault with the help of this link
http://lwuit.blogspot.com/2009/01/rim-blackberry-verification-errors.html
Basically the device is os6, and the build library was 7.1 which wasn't as issue before.
But it seems the imported libs were trying to use the 7.1 api.

Resources