Posts

Post not yet marked as solved
0 Replies
737 Views
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?
Posted Last updated
.
Post not yet marked as solved
1 Replies
753 Views
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?
Posted Last updated
.