Hi All,We are able to disable Dark mode within app, my question:are there settings to disable some dialog popped up by system?Like: Location access confirmation dialog, Phone Call dialog when initializing a call within app.Thanks,
Post
Replies
Boosts
Views
Activity
Hi All,I have encountered one issue for Service extension APNS payload. what we want to do is to surpess the Serviceextension Notification and compose programmatically.If payload like:{"aps": {"alert": {"body": "", "title": "Test"},"mutable-content": 1}} or {"aps": {"alert": {"body": "", "title": "Test"},"mutable-content": 1}}then it will get delivered to Serviceextension,But if the below payload, then it will not get delivered to ServiceExtension{"aps": {},"mutable-content": 1} or {"aps": {"alert": {"body": "", "title": ""},"mutable-content": 1}}Why have to specify title or body in the payload?
Hi All,I have an legacy app which was created for a couple of years ago, Recently We have to add to support ServiceExtension per apple request.Before I implement the service extenion on my legacy project, I have created sample project by Xcode 11.2.1 and works fine.on sample project, when App runs in foreground, If I send regular APNS with payload with mutable-content=1:{"aps":{"alert":{"body":"myBody","title": "myTitle"},"mutable-content":"1"}}it will invoke the method:- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler{once put those implementention on my legacy project, it never get call when receiving the same payload as sample project, it will only get called with content-available: 1Where should I check on the configuration? or something else?Thanks in advance.
my app randomly has been terminated by IOS at some time.
Data Source: Microstackshots
Shared Cache: 0x36a90000 F409EE7C-4825-377F-B10A-B53F999FA728
Command: VCS
Path: /private/var/containers/Bundle/Application/A71F3652-CBE2-4B12-A591-78B53C98EF0A/myapp.app/myapp
Version: 3.8.0 (3.8.0.2629)
Beta Identifier: 4DD81AC4-16E8-4B51-A4FE-D51FE71935F4
PID: 748
Event: cpu usage
Action taken: Process killed
CPU: 9 seconds cpu time over 9 seconds (100% cpu average), exceeding limit of 60% cpu over 15 seconds
CPU limit: 9s
Limit duration: 15s
CPU used: 9s
CPU duration: 9s
Duration: 9.02s
Duration Sampled: 4.92s
Steps: 3
Hardware model: iPhone12,1
Active cpus: 6
Heaviest stack for the target process:
3 ??? (libsystempthread.dylib + 14100) [0x1b6c03714]
3 ??? (libdispatch.dylib + 80168) [0x1b6bac928]
3 ??? (libdispatch.dylib + 46304) [0x1b6ba44e0]
3 ??? (libdispatch.dylib + 131152) [0x1b6bb9050]
3 ??? (libdispatch.dylib + 131376) [0x1b6bb9130]
3 ??? (libsystemkernel.dylib + 166176) [0x1b6ce4920]
What is best way to detect heavy task by instruments ?
I have tried, but I can't see which part cause this issue?
BTW: I see the heavy task is audio session, but cause my app is voip, and only when app runs in background receive PUshkit to get CallKit, it will occur
Thanks,