EXE_BAD_ACCESS(code=1, address=0*4) in ios - ios

When i use Quiclblox for(App To App Audio and Video Calling) and twilio for(App to Mobile Audio Calling) both in my application then i faced the problem, EXE_BAD_ACCESS(code=1, address=0*4) in IOS(xcode).
But if i use only Quickblox in my application then it works fine,also when i only use twilio then it's also work fine in my app.
But problem comes when i use both third party liabraies(QuickBlox and Twilio) then it shows me:- EXE_BAD_ACCESS(code=1, address=0*4)
error: memory read failed for 0x0
I don't know about this please help me.
I use Zombie to solve this and try to work on instrument to solve this but didn't get anything.

Related

Jumio netvrify error when using webview in iOS. Browser does not support camera

I have website that redirect user to do eKYC through Jumio. It was working fine on Desktop browser, Mobile Browser, Android App(webview).
However, when come to iOS app(wkwebview), my user keeps getting error as in cant complete the eKYC process. Once the user click on start eKYC process, it straight away return failed result. The error code from Jumio is "9822 (Browser does not support camera.)".
I have already enable camera usage in plist and enable camera permission in iOS for the APP. Not sure where went wrong.
As far as i know webrtc is not available in webwiew (UIWebView or WKWebwiew). So you can't have camera access directly from the webview. You will need to open safari or bridge the webrtc call to a native implementation.

Double message on ios when get geolocation

I have created an ios app (Xcode) with a single WebKit View component that loads an external website. This website tries to get the current geolocation with this Javascript: navigator.geolocation.
This all works fine, but the problem is, I get 2 messages:
First a message for the app: 'Allow "NameApp" to access your location while you are using the app?'
Second a message for the webview: 'https://mywebsite.com would like to use your current location'.
I have seen similar questions about this issue, but they all went about a native/offline Cordova app. I have an online app in my Webview.
How can I prevent this double message? Or a workaround for this problem?
I used the WebViewGold for iOS app template for it & it worked out of the box without second / repeated dialog. Maybe helps other developers/no-code guys.

NSURLerrordomain error -1202 Using Appcelerator

I'm working on iPhone application using Appcelerator .Every thing in app working fine .but now one alert shows in this.
A quick google search should bring you to the list of error codes
(https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Constants/index.html#//apple_ref/doc/constant_group/URL_Loading_System_Error_Codes)
In here, we can find the following
NSURLErrorServerCertificateUntrusted = -1202
Meaning that there seems to be a problem with the server certificates.
A quick search on this error gives us a possible cause:
The time of the phone might be wrong
(One of my iPhone users gets an NSURLErrorServerCertificateUntrusted error)
EDIT
I have no experience with appcelerator. This workaround is for native only, however, the idea should be the same.
And a workaround, if you were using NSUrlConnection:
Which makes use of
NSUrlConnection -connection:didReceiveAuthenticationChallenge:
HTTPS with NSURLConnection - NSURLErrorServerCertificateUntrusted

xcode apigee logInUserWithFacebook extra parameter?

I'm using Apigee for my iphone/ipad app.
Like many apps today, mine requires a login via Facebook and Apigee has a function specifically for this in the iOs framework, here's how it's called:
[ApigeeDataClient logInUserWithFacebook:[FBSession activeSession].accessTokenData.accessToken];
As far as my code goes, everything works well up until the above line. I'm receiving the following error.
Response: {"error":"invalid_request","error_description":"missing access token"}
However check out how the function is making the call (from the logs):
Synch outgoing call: 'https://api.usergrid.com/sgfishing/deepseafishing/auth/facebook?ql=fb_access_token=CAADrhKxrQp4BANfZCMuZBdOwUL9nc0H4VzZC1EXVLjABRbcrucTlUgwlKczFinl51GIWyBM5nlZBX1RF84azFAEOfChqN7vgSmvqgwybV8iPU2xjncZB9T5YTdY0pesJkHsSlvOafMhQ6MfIa6qdZCbTYBZCFB2oIPgEnro4runJKcqCy68wZCFQwyIzACVThAC3IEjZADs36hToQxhYZBzAWVhbKlcqJQsroZD'
I would like to bring your attention to this ...facebook?<b>ql=</b>fb_access_token=CAADrh....
I'm not sure why ql= is there, I've checked the definition of logInUserWithFacebook and ql= is nowhere to be found.
Any help would be greatly appreciated.
This is a bug in our iOS SDK. It has been fixed in version 2.0.9 of our SDK (released yesterday).
?ql= is typically used for query language statements see if there is any such code around in your program
This just a tip...may help

Seeing other player nextpeer

I successfully integrate nextpeer into my cocos 2d game.
Now i want to show other people playing online using nextpeer.
The problem is i dont know how to do that.The documentation for it is not opening and i even mail nextpeer and they have not respond more than 24 hrs have gone.Can someone give me some advice the steps involve in it.
Here is the link of an app showing it
https://itunes.apple.com/us/app/chasing-yello/id508314901?mt=8
The nextpeer link which is not opening -
http://developers.nextpeer.com/documentation/docs?page=iOS+Guide#PlayertoPlayerCommunication
Nextpeer document is moved to : https://developers.nextpeer.com/docs/view/ios
Scroll down for PlayertoPlayerCommunication.
These are the two active links for player to player communication now.
https://developers.nextpeer.com/docs/view/ios#PlayertoPlayerCommunication and https://developers.nextpeer.com/docs/view/bestpractice#PlayertoPlayercommunication(P2P).
If you have anymore specific question, feel free to email me directly at alexander#nextpeer.com.
Sorry for the confusion.

Resources