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!
Post
Replies
Boosts
Views
Activity
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!