Xamarin/MAUI iOS Local Push Connectivity
I have the local push entitlement from apple and also a separate bundle id for a new local push extension. I am project referencing this extension project from my main iOS .csproj and setting these flags:
<IsAppExtension>true</IsAppExtension>
<IsWatchApp>false</IsWatchApp>
On my local push extension project, I configure info.plist & entitlements.plist with the following values.
Info.Plist
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.networkextension.app-push</string>
<key>NSExtensionPrincipalClass</key>
<string>LocalPushProvider</string>
</dict>
Entitlements.plist
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.mycompany.product</string>
</array>
<key>com.apple.developer.networking.networkextension</key>
<array>
<string>app-push-provider</string>
</array>
</dict>
On my main ios project profile, i have these capabilities on:
Enabled Capabilities
Access Wi-Fi Information, App Groups, Data Protection, In-App Purchase, Network Extension (additional values), Network Extensions, Push Notifications
I've also given NetworkExtension(additional values) and Network Extensions capabilities on my local push provisioning profile which has its own bundle id.
I am keep getting an integrity could not be verified when installing this app on a real device. This works fine without the local push extension project added. Any thoughts?