Posts

Post not yet marked as solved
3 Replies
2.2k Views
I'm having a hard time finding in the Wallet documentation what the net effect would be when the production signing certificate for a Pass Type ID w/ NFC expires out. I'm pretty sure any attempts to install a pkpass signed by an expired certificate will fail, but what I'm a bit unclear about is whether & how users who have already installed the pkpass previously while the signing certificate was valid would be affected. Will this already installed NFC pkpass signed with the expired certificate no longer be able to provide its function & so push notifications should be sent to attempt to update the pkpass with a new one that is signed with a currently valid certificate? Does the pass get removed automatically from Wallet or is the user notified in some way that the pkpass is expired due to the signing certificate?If anyone can point me at the documentation that covers this, I'd appreciate it.
Posted
by abot.
Last updated
.
Post marked as solved
1 Replies
416 Views
So it seems like in Xcode 12 beta 2, the CPPointofInterestButton mentioned in the "Accelerate your app with CarPlay" session at 22:13 has been replaced with CPEntityButton. Has anyone been able to get CPEntityButton to have custom text but look like the buttons in the WWDC session? Even when setting the type to custom, while I can set the button label using the buttonAttributes dictionary, the color keys & rounded rect don't appear to respond to using the enum values or putting UIColor/boolean values in. So I end up getting buttons that just have white labels and no border to indicate where the button bounds are. Obj-C code:     CPEntityButton *primaryButton = [[CPEntityButton alloc] initWithButtonType:CPEntityButtonTypeCustom handler:^(CPEntityButton * _Nonnull entityButton) {         // Do nothing     }];     primaryButton.buttonAttributes = @{         CPEntityButtonLabelKey : @"Flash Station",         CPEntityButtonBackgroundColorKey : @(CPEntityButtonColors_Gray),         CPEntityButtonIsRoundedKey : @(CPEntityButtonStyle_Rounded),     }; I've filed a Feedback ticket here: FB8004131 Other question I have is more a general question to Apple engineers of whether we should expect the colors to only be available via enums & limited? Our UX team are concerned they can't use our preferred tint color for the primary button.
Posted
by abot.
Last updated
.