|
From: | Peter Van Dender |
Subject: | Re: [Linphone-developers] App is crashing on SDK version 5.4.0 <> iOS version |
Date: | Wed, 10 Jul 2024 13:59:39 +0000 |
Hi Anil,
Be very careful here. Their support is expensive and very limited in time. (3 months)
I learned it the hard way. :-/
Kind regards,
Peter Van: linphone-developers-bounces+pvd=tenera-it.be@nongnu.org <linphone-developers-bounces+pvd=tenera-it.be@nongnu.org> namens Julien Favre-Bulle
<julien.fb@belledonne-communications.com>
Verzonden: maandag 8 juli 2024 10:55:33 Aan: linphone-developers@nongnu.org CC: anil@mobulous.com; alfred@callju.com; 'Akshit Kumar' Onderwerp: Re: [Linphone-developers] App is crashing on SDK version 5.4.0 <> iOS version Dear Anil, This mailing list is about technical discussions about Linphone, Liblinphone, mediastreamer2, ortp… This is not an official support channel. The responses are provided by the community and, on a best effort basis, by some Belledonne Communications’ engineers working on Linphone and its related projects. If you are looking for support from us, please contact me and I will get back to you outside this mailing list with our different support plans and their related fees. Best regards, Julien Favre-Bulle Discover our solutions in 3 minutes! Belledonne Communications, the company behind the Linphone project De : linphone-developers-bounces+julien.fb=belledonne-communications.com@nongnu.org <linphone-developers-bounces+julien.fb=belledonne-communications.com@nongnu.org>
De la part de anil--- via Linphone-developers Hello Support, Can you please help us in the asked questions as we emailed on July 02, 2024. Thanks, Anil From:
anil@mobulous.com <anil@mobulous.com>
Hello Support, We are using the SDK version 5.4.0 for the Linephone i.e. 5.4.0-alpha.236+02c3fff7 , but the app is crashing when it is in background using VOIP Push. We saw on your blogs that this has been a issue raised by some developers. Here is the code which is written using Objective C for the same, it would be great if you can help us asap on the resolution for this.
We have tried using multiple methods and available documentation online but we were not able to find a solution for the same. (void)setupPushKit { PKPushRegistry *pushRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()]; pushRegistry.delegate = self; pushRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP]; } #pragma mark - PKPushRegistryDelegate - (void)pushRegistry:(PKPushRegistry )registry didUpdatePushCredentials:(PKPushCredentials )pushCredentials forType:(PKPushType)type { NSString *deviceToken = [pushCredentials.token description]; dispatch_async(dispatch_get_main_queue(), ^{ linphone_core_did_register_for_remote_push(LC, (__bridge void*)pushCredentials.token); NSUserDefaults *myuserdefaults = [NSUserDefaults standardUserDefaults]; [myuserdefaults setObject:deviceToken forKey:@"deviceToken"]; }); NSLog(@"VoIP Token: %@", deviceToken); } - (void)pushRegistry:(PKPushRegistry *)registry didInvalidatePushTokenForType:(PKPushType)type { NSLog(@"VoIP Token invalidated"); } - (void)pushRegistry:(PKPushRegistry )registry didReceiveIncomingPushWithPayload:(PKPushPayload )payload forType:(PKPushType)type withCompletionHandler:(void (^)(void))completion
{ [LinphoneManager.instance launchLinphoneCore]; [LinphoneManager.instance startLinphoneCore]; linphone_core_refresh_registers(LC); } Thanks, Anil |
[Prev in Thread] | Current Thread | [Next in Thread] |