Post

Replies

Boosts

Views

Activity

Fairplay Streaming certificate - expiry date and renewal
The list of certificates on the Apple Developer web console shows the expiry of my Fairplay Streaming certificate as 'Never'. However, if I download the same certificate and import it into my KeyChain, the certificate details show the listed expiry as 11 OCT 2023. Which of these is correct? If the expiry in the certificate is correct, how do I renew it safely. With my App the below lines fails at the process of -streamingContentKeyRequestData- CODE guard let contentIdData = (loadingRequest.request.url?.host ?? "").data(using: .utf8), let spcData = try? loadingRequest.streamingContentKeyRequestData( forApp: certificate!, // This certificate is expired contentIdentifier: contentIdData, options: nil ) else { print("Error: Failed to generate SPC data due to expired certificate.") loadingRequest.finishLoading(with: NSError(domain: "com.example.error", code: -3, userInfo: nil)) return false }
1
0
304
Sep ’24
How to know by code that device is connected to "HotSpot" ?
I would like to find a way to know programmatically if the device that currently running my app is connected to a "hotspot" network. I know we can know that it is connected to Wi-Fi by the use of the NWPathMonitor(), which As far as I know it only gives us the info that user is connected to Wi-Fi which could be hotspot, or it could be a public/Enterprise Wi-Fi facility.
1
0
464
Dec ’22