mirror of
https://github.com/netbirdio/ios-client.git
synced 2026-09-23 09:28:33 -07:00
The submodule bump changed two exported iOS bindings, and the Swift side was still calling the old ones, so neither extension target compiled. NewAuth takes an MDM policy fetcher now, which moves the error pointer to the fourth argument of the gomobile shim. All four call sites pass a nil fetcher: there is no PolicyFetcher on the Swift side yet, and nil is what keeps enforcement off, so behaviour is unchanged. Preferences dropped GetPreSharedKey for HasPreSharedKey, deliberately - the key is no longer handed back to the native layer. ConfigurationProvider follows with a write-only setPreSharedKey, since a Swift protocol cannot declare a set-only property, and hasPreSharedKey now asks the SDK rather than deriving the answer from a key it can no longer read. The key field in the advanced settings therefore starts empty, and the Remove button and the secure field key off hasPreSharedKey as they already did.