-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
api: appcheckcontact-support-insteadPlease contact Firebase Support where you can share private info about your project and get help.Please contact Firebase Support where you can share private info about your project and get help.
Description
Description
Having this code
class SimpleAppCheckProviderFactory: NSObject, AppCheckProviderFactory {
func createProvider(with app: FirebaseApp) -> AppCheckProvider? {
return AppAttestProvider(app: app)
}
}
class AppDelegate: NSObject, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
//...
#if DEBUG
let providerFactory = AppCheckDebugProviderFactory()
#else
let providerFactory = SimpleAppCheckProviderFactory()
#endif
AppCheck.setAppCheckProviderFactory(providerFactory)
FirebaseApp.configure()
}
I can see 100% of unverified requests in AppCheck console for "Google Identity for iOS":

How it is possible?
When testing the app in DEBUG mode, there is no such issue

Reproducing the issue
No response
Firebase SDK Version
11.14
Xcode Version
16.2
Installation Method
Swift Package Manager
Firebase Product(s)
App Check
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved
snippet
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk",
"state" : {
"revision" : "45d327fcbe7793747295346c2209ad419bdead74",
"version" : "11.14.0"
}
}
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock
snippet
Replace this line with the contents of your Podfile.lock!
Metadata
Metadata
Assignees
Labels
api: appcheckcontact-support-insteadPlease contact Firebase Support where you can share private info about your project and get help.Please contact Firebase Support where you can share private info about your project and get help.