Post

Replies

Boosts

Views

Activity

Reply to Local Push Connectivity run example
Hi I’m trying to launch the example of local push notification for that I request app push provider entitlement You accept my request of App Push Provider entitlement. But when I select the entitlement when generating provising profile (I select Local Push Provider (Dev)), I can see that in this provising profile I m getting <key>com.apple.developer.networking.networkextension</key> <array> <string>app-push-provider</string> </array> This does not include capabilities com.apple.developer.networking.networkextension app-proxy-provider content-filter-provider dns-proxy dns-settings packet-tunnel-provider When I select this capabilities in Xcode I’m getting error Provisioning profile "test simple push" doesn't match the entitlements file's value for the com.apple.developer.networking.networkextension entitlement. I already added networkextensionin application id If I don’t select capabilities in Xcode and launch the application I’m getting error in Xcode SimplePush[788:64526] [] Failed to load configurations: Error Domain=NEConfigurationErrorDomain Code=10 "permission denied" And the SimplePushProvider never launched I’m stuck on this problem for a week please help
May ’23
Reply to Local Push Connectivity run example
I Configured my app to use local push notification, I’m still tried I request for entitlement, I get the approval from apple, I created certificate for both application simplePush and SimplePushProvider With extension network included both certificate are included on a group id let pushManager = NEAppPushManager() pushManager.matchSSIDs = ["Tenda_6B8340","ouamassi", "Tenda_6B8340_5G", "192.168.1.7"] pushManager.localizedDescription = "PushProvider" pushManager.providerBundleIdentifier = "" // Here I put my id application of the SimplePushProvider I created pushManager.delegate = self pushManager.isEnabled = true pushManager.providerConfiguration = [ "host": "192.168.1.7”. // This is the address ip of my Mac where the server is launched ] pushManager.saveToPreferences(completionHandler: { error in print("error? (error)") print("is active: (pushManager.isActive)") }) My SimplePushProvider is declared like this : class SimplePushProvider: NEAppPushProvider { private let channel = BaseChannel(port: Port.notification, heartbeatTimeout: .seconds(30), logger: Logger(prependString: "Notification Channel", subsystem: .networking)) private var cancellables = Set() private let logger = Logger(prependString: "SimplePushProvider", subsystem: .general) …. public override init() { super.init() …. public override func start() { logger.log("Started") …. The problem is that the SimplePushProvider is never called and pushManager is always no active, I m sure my real device is connected to the ssid included on pushManager.matchSSIDs I tried several ssid but still the same problem I really stuck with this problem several days any helps will be appreciated
May ’23
Reply to adding certificate error
The problem is that I have two personnel teams :  MY4F4VTXXX  (The application id is registered with this team but I don’t have access, it’s a old team) BR7TE9ZXXX (I want register id to be registered here but I can’t it tell me it’s already registered)
Feb ’22