Post

Replies

Boosts

Views

Activity

Is there a reason I can't access the state of a Safari Extension on iOS
On macOS we have SFSafariExtensionManager and class func getStateOfSafariExtension(withIdentifier: String, completionHandler: (SFSafariExtensionState?, Error?) -> Void) Which allows us to inform the user in the container app if the extension is currently enabled. This API is not available in iOS. Is there a technical reason or policy behind this or is it just a missing feature in which case I will raise a feature request?
0
1
656
Jul ’22
TestFlight crashing when accessed via Public Link
We currently have an app running in TestFlight distributed via a public link. We have sent this link to around 50 people and of that cohort 30 people have successfully installed and are using our app. 10 users have gotten in touch complaining that when they follow the link on their device the TestFlight app crashes on launch (not our app but TestFlight itself). Any ideas what could be causing this?
1
0
503
May ’22
DateEncodingStrategy.custom encoder is immutable type?
Trying to implement a custom date encoding strategy using the following leads to a compile time error (smallest possible example to create error, not my prod code here) let encoder = JSONEncoder() encoder.dateEncodingStrategy = .custom({ date, encoder in encoder.singleValueContainer().encode(date.timeIntervalSince1970) }) This produces the following error (which makes sense as it is not an inout variable) Cannot use mutating member on immutable value: function call returns immutable value Am I using the API incorrectly? If so what is the correct way to encode the data?
2
0
764
Dec ’21