Quicblox migration issue, No QBVideoChat class available - ios

I am getting this response in the log.
There is no delegates which responds to didReceiveNewSession:userInfo:
I wonder If this points to specific delegate as I am not able to find any relative solution for this.
Also Previously there was a class QBVideoChat which is not mentioned on Quickblox blog or updation guide.
I wonder if that has any thing to do with this issue.
Thanks in advance

QuickBlox has deprecated old QBVideoChat with WebRTC QuickBloxWebRTC
http://quickblox.com/developers/Sample-webrtc-ios
Here is the open source sample-video-chat project available on github
https://github.com/QuickBlox/quickblox-ios-sdk/tree/master/sample-videochat-webrtc
Error There is no delegates which responds to didReceiveNewSession:userInfo: means that you did not add any class to QBRTCClient delegates list

Related

Design Check with Design Automation for Revit - Live Example Does not work

I set up the live example of the Revit Design Check on my Autodesk Hub.
Link Here: https://revitdesigncheck.herokuapp.com/
After uploading the example model, it never created an issue.
does the live example still work? Or has the older api used in the live example been deprecated? Thanks.
That was indeed a problem, wrong Activity name (probably from old deploy), thanks for bringing this up. It's now fixed, and it created the issue as expected (see image)

Opentok not calling the controller methods (sessiondidconnect) in ios

I am trying to implement an OpenTok application using codename one. I already started with android and had pretty much everything working. I use a native interface to import the OpenTok library.
Now I am trying to implement the ios side. I have a class acting like the view controller :
#interface be_lsit_opentok_iosTestHelper <OTSessionDelegate, OTPublisherDelegate> : NSObject
This class implements all the needed methods for the session connection : https://tokbox.com/developer/tutorials/ios/basic-video-chat/ (step 4).
My class implementing the native interface handles the initialization of the session with the api_key... and then calls the session's "connectWithToken".
Once this is done I can notice using the OpenTok Playground that the connection works but I do also notice that opentok does not send a message to call the method "sessionDidConnect" which is a problem.
I do not understand why the call is not done and what sould I do?
I also tryed to call the method myself using a thread call the method only when the connection to the session is made and that its status is "OTSessionConnectionStatusConnected" and this worked.
I'm guessing here since I didn't do this. You implemented the viewDidLoad in your own code instead of the Codename One view did load.
You can inject code into the Codename One viewDidLoad method using the build hint ios.viewDidLoad. So a build hint like:
ios.viewDidLoad=[self connectToAnOpenTokSession];
Should work but you would also need to add an import for the API into our code. Unfortunately I couldn't find a suitable build hint to define that so I added one ios.viewDidLoadInclude which I will add tomorrow to the build will allow you to define an import or include statement required by the statement above.

what is the iOS equivalent of mixpanel.get_property() in javascript

I am trying to increment a super property in mixpanel iOS (OBJC). I am following this blog to do so:
https://blog.mixpanel.com/2015/01/29/incremental-super-properties/
As you can see, it does what I want in javascript using get_property method of mixpanel. But I need to do the same thing on iOS. I can't seem to figure out what is the equivalent of mixpanel.get_property() on iOS.
https://mixpanel.github.io/mixpanel-iphone/Classes/Mixpanel/index.html#//apple_ref/occ/instm/Mixpanel/currentSuperProperties
The above link is equivalent to
https://mixpanel.com/help/reference/javascript-full-api-reference#mixpanel.get_property
Both functions return super properties
Hope this helps,
Cheers Analytics ML.

RestKit: RKClient not recognized by Xcode project

I am using/implementing RestKit into my project at the moment, and I've followed the github wiki to install everything correctly. Everything is there and working properly. The application builds and runs great. I'm just trying to make a HTTP GET request now by first setting up the RKClient, but my project doesn't seem to recognize RKClient even though I've imported the <RestKit/Restkit.h> file in the header of the file.
I'm beginning to think that the RKClient class is deprecated or something because every other class seems to be there as expected.
I've tried looking everywhere and really ensuring that I've followed the instructions to setup RestKit properly, and yet I'm still stuck on the first line!! (Initializing the RKClient).
Another possibility is that I'm doing this all wrong. I just implemented the library, so I'm just playing around with it. But if I'm not doing a HTTP GET request the right way, please guide me the right direction.
Thanks!!
From RestKit 0.20.x onwards RKClient is not part of RestKit. You can use HTTP Client like :
[RKObjectManager myObjManager].HTTPClient
See This Link

UIWebView Expose Objective C to JavaScript

How would I expose an Objective-C method within JavaScript when using the iPhone SDK when using the UIWebView?
Any help would be appreciated!
The best way to do this would be through a custom link, and then use the UIWebView delegate method -webView:shouldStartLoadWithRequest:navigationType: to trap requests. When you see a request come through with your link in it, you know your action has been triggered.
There is an example application in the QuickConnectiPhone framework that shows you how to do this.
QuickConnectiPhone also gives you a JavaScript function called 'makeCall'. You pass it a command and an array of parameters and it will pass them to the Objective-C side of your app for handling. You can then make your function call.
You can find it here on Sourceforge.
To see an example of this check out the PhoneGap source code from Github:
http://github.com/sintaxi/phonegap/tree/master/iphone/Classes/GlassAppDelegate.m

Resources