Swift keyboard extension opens a URL when Full Access is not allowed on iOS 26.0 and later

1 day ago 4
ARTICLE AD BOX

I created a button in my keyboard extension to open my app. Previously, the app could be opened even when the user had not enabled Full Access for the keyboard. However, starting from iOS 26, this no longer works—the keyboard must have Full Access enabled first.

Interestingly, the Si_me_ji Keyboard (Japanese keyboard) is still able to open its app from the keyboard even when Full Access is disabled.
Does anyone know what they did to make this work?

Has anyone else encountered this issue? I’ve also noticed that Keyboard==Kit has the same problem and hasn’t been able to resolve it either.

Here is the code:

@objc func goToApp(_ sender: UITapGestureRecognizer? = nil) { let extendParam = queryParam.isEmpty ? "" : "?\(queryParam)" if let url = URL(string: "\(SharedConfigs.APP_BUNDLE_ID)://\(extendParam)") { var responder: UIResponder? = self while responder != nil { if let application = responder as? UIApplication { application.open(url, options: [:], completionHandler: nil) } responder = responder?.next } } }

Error logs:

- unable to make sandbox extension: [22: Invalid argument] - Failed to open URL com.xxx.xxxx://?name=screenName&entryPoint=keyboardOpen: Error Domain=NSOSStatusErrorDomain Code=-54 "(null)" UserInfo={_LSFile=LSOpenOperation.mm, _LSLine=835, _LSFunction=_LSIsRequestAllowed}
Read Entire Article