Проверка приложения Firebase не работает с iOS 16IOS

Программируем под IOS
Гость
Проверка приложения Firebase не работает с iOS 16

Сообщение Гость »


It looks like for my app the firebase app check is not working with iOS16. I have configured the app attest and its been working for more than a year, it's still working with older iOS versions but not iOS 16.

This is the code that I initialise app check

Код: Выделить всё

import SwiftUI import Firebase import FirebaseAppCheck @main struct appointmeparterAppApp: App {     @Environment(\.scenePhase) var scenePhase     @UIApplicationDelegateAdaptor(AppDelegate.self) var delegate          init() {         let providerFactory = YourAppCheckProviderFactory()         AppCheck.setAppCheckProviderFactory(providerFactory)          FirebaseApp.configure()     } }    class YourAppCheckProviderFactory: NSObject, AppCheckProviderFactory {   func createProvider(with app: FirebaseApp) -> AppCheckProvider? {       return AppAttestProvider(app: app)   } } 
I am sure the problem is app check because if it's not enforced everything works as expected, and if I enforce it then i get permissions error. (this happens only on iOS 16)


Источник: https://stackoverflow.com/questions/741 ... ith-ios-16

Вернуться в «IOS»