Post not yet marked as solved
I've added an unwanted communication reporting extension target and rebuilt/re-installed/rebooted but when I go to Settings|Phone|SMS/Call Reporting there's nothing there (apart from None). As a result I can't reporting anything via the call/sms history
If I create a new project as a test with an UCE that does nothing by just simply selecting New Project, then New Target and run that, then that does appear.
But it does not appear when I add the UCE target to my existing app, so there's something about my existing app that is preventing the UCE from appearing. Yet my app is sucesfully already using an action extension, a call kit extension, a notification service extension, and a notification content extension all without problem. So why might a unwanted communication extension cause and issue?
Note that the code for the UCE is unaltered from that that gets created as a template by XCode, so there are no coding/compiling issues etc. All I do is just add the target and then build, yet it doesn't appear in Settings.
Why not?
Post not yet marked as solved
A server is sending pushes to my app and when I look at what the iPhone is logging, it says:
Received remote notification request 48E4-17A1 [ waking: 0, hasAlertContent: 1, hasSound: 0 hasBadge: 0 hasContentAvailable: 0 hasMutableContent: 1 pushType: None]
Note that the pushType is None.
However the server is setting apns-push-type to "alert" and the push payload contains an alert section
alert = {
body = "i am a body";
subtitle = "the subTitle";
title = "Hello there";
};
This is causing problems when trying to suppress the notification (using a notification service extension and the com.apple.developer.usernotifications.filtering entitlement). The iPhone is logging:
Notification filtering will not be allowed because the push type 'None' is not 'Alert'
Why does the OS think the push doesn't have a type when the server is setting apns-push-type?
Post not yet marked as solved
The documentation for call reporting and ILClassificationUIExtensionViewController is too minimal to be of much use, and anyway it doesn't correspond with the actual code (i.e. it says "By default, the Done button is disabled. As soon as the user has entered all the information you require, enable the Done button by setting the view controller’s isReadyForClassificationResponse property to true." However, there is isReadyForClassificationResponse property anywhere).The XCode project template doesn't create any example template code (unlike for example the Call Extension template code), and there's no code examples nor nothing of much use.Anybody seen any example code of how to use all this stuff?