My App supports two services that is Push Notification for Alerts and a Voip Call feature whose notification also comes in the same way as of PushNotification but video rendering is done with GoogleWebRTC.
The App was working perfectly fine but from past few months these services are not working.[ Nothing is changed in App and on the server side to push the notifications]
Issues:
VoIP (Video call) not working: I have apns certificate which is valid in today's date and stays with the backend Server. My server sends the payload notification to APNS but on iPhone am unable to receive it. I have checked the App registration part also and is able to receive the token for the same.
Framework used are: PushKit, UserNotifications, GoogleWebRTC .
I don't understand where is the gap, the backend triggers the APNS but there no response.
Ports enabled on server are: 443, 5223, 2197, 2195, 2196.
Similarly Push notification were also not working, So I tried to change it to register on Firebase for device registration token And did some coding at backend to send the notification to that device. It was working perfectly fine from last few weeks, but it suddenly stopped. I checked the JSON Payload and tried to send it through PostMan, in both it says 200 Success. And in Application end am waiting for breakpoint to hit in userNotificationCenter(_: , willPresent, completionHandler).
What all I have checked:
1)My server to APNS server connectivity.
2)Verified the apns certificate. The certificate was created in October 2024, whose expiry is in Nov 2025 and it support both Sandbox and Production environment.
3)Checked required delegates are implemented in App. With the capability enable in it, is also sending registration token to backend.
Kindly guide me where I can check in this flow.
Thanks in Advance!
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is it possible to pick the user's current device tone/sound as the Push Notification sound for my app programmatically. So that s/he does not miss out any notification just because of unsustainable sound.
I have gone through the UNNotificationSound Class, it provides the option to opt either the default or the custom sound. But, my concern is to auto pick the sound which user is using on his/her mobile.
Thanks in advance!
Topic:
App & System Services
SubTopic:
Notifications
Tags:
Notification Center
Sound Analysis
User Notifications
I am receiving the error as Command analyse failed with a nonzero exit code.
It is appearing in the package of RealmDatabase > src > realm > alloc_slab.cpp
There is no red highlighted line to identify the error inside that cpp file.
I added the package from the GitHub link which is as :
https://github.com/realm/realm-swift.git
Version: master
Name: Realm
Attached is the Clang's .ips file for further information
Please suggest any possibility.
Thanks in advance!
Error: Command Analyse failed with a nonzero exit code (In RealmDatabase > src > realm > alloc_slab)
Sharing the file.
This is the ips file of clang
In code:
thread Queue: shared_tcpConnWorkQueue
libsp.dylib`spd_checkin_socket.cold.1:
0x242276464 <+0>: adrp x8, 137736
0x242276468 <+4>: adrp x9, 0
0x24227646c <+8>: add x9, x9, #0xa3f ; "Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead"
0x242276470 <+12>: str x9, [x8, #0x390]
0x242276474 <+16>: brk #0x1 ->
EXC_BREAKPOINT (code=1, subcode=0x242276474)
DeviceLogs:
Application Specific Information:
Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead
Thread 3 name: Dispatch queue: shared_tcpConnWorkQueue
Thread 3 Crashed:
0 libsp.dylib 0x216566474 spd_checkin_socket.cold.1 + 16
1 libsp.dylib 0x2165654c0 spd_checkin_socket + 896
2 CFNetwork 0x1b4230ef0 0x1b40f2000 + 1306352
3 CFNetwork 0x1b4232bcc 0x1b40f2000 + 1313740
4 CFNetwork 0x1b42351e0 0x1b40f2000 + 1323488
5 CFNetwork 0x1b42343a0 0x1b40f2000 + 1319840
6 libdispatch.dylib 0x1b9e61850 _dispatch_call_block_and_release + 24
7 libdispatch.dylib 0x1b9e627c8 _dispatch_client_callout + 16
8 libdispatch.dylib 0x1b9e3d854 _dispatch_lane_serial_drain$VARIANT$armv81 + 604
9 libdispatch.dylib 0x1b9e3e2e4 _dispatch_lane_invoke$VARIANT$armv81 + 380
10 libdispatch.dylib 0x1b9e48000 _dispatch_workloop_worker_thread + 612
11 libsystem_pthread.dylib 0x1fa8e2b50 _pthread_wqthread + 284
12 libsystem_pthread.dylib 0x1fa8e267c start_wqthread + 8
I think it is due to voip socket issue. But not getting the point exactly. As am new to ios Development so do not have much idea. Looking forward for guidance.
Thanks in advance!