-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crash from Firebase Remote Config #13193
Comments
@rizafran I apologise as I wasn't able to follow up on the similar issue I opend last time, as the crash died down significantly. But now with the updated release, the crashes have increased I have tried to use the |
@nik6018 Does the listener get called? Does modifying it make any difference? |
Yes the listener is called and data is fetched from Remote Config, whenever we change values on the Dashboard. That flow is working is perfectly. We're seeing lots of non fatals For RemoteConfigRealTime that we have logged when the listener error's out.
|
Can you share the listener implementation? |
Here is the implementation:
|
Description
The app is crashing immediately after opening, as indicated from Crashlytics as it's tagged under "Early crashes". The crash is happening randomly.
When the app starts up I have made sure that
func fetch( withExpirationDuration expirationDuration: , completionHandler: ((RemoteConfigFetchStatus, ?) -> [Void])? = nil )
method is only invoked once to avoid any multiple callsI am also using RemoteConfigRealTimeUpdate as well to fetch latest values whenever changes happen.
Can anyone provide me guidance on how I can resolve this crash as it's pointing to
RCNConfigRealtime.m:449
and I have no insight on what's causing itReproducing the issue
Unable to reproduce the issue, as it's occurring on very rare instances on production
Firebase SDK Version
10.22.1
Xcode Version
15.3
Installation Method
Swift Package Manager
Firebase Product(s)
Crashlytics, DynamicLinks, Remote Config
Targeted Platforms
iOS
Relevant Log Output
Fatal Exception: NSGenericException 0 CoreFoundation 0x83f20 __exceptionPreprocess 1 libobjc.A.dylib 0x16018 objc_exception_throw 2 CoreFoundation 0x18220c -[__NSSingleObjectEnumerator init] 3 My App 0x11c3b64 __53-[RCNConfigRealtime fetchLatestConfig:targetVersion:]_block_invoke_2 + 449 (RCNConfigRealtime.m:449) 4 libdispatch.dylib 0x213c _dispatch_call_block_and_release 5 libdispatch.dylib 0x3dd4 _dispatch_client_callout 6 libdispatch.dylib 0x125a4 _dispatch_main_queue_drain 7 libdispatch.dylib 0x121b8 _dispatch_main_queue_callback_4CF 8 CoreFoundation 0x56710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 9 CoreFoundation 0x53914 __CFRunLoopRun 10 CoreFoundation 0x52cd8 CFRunLoopRunSpecific 11 GraphicsServices 0x11a8 GSEventRunModal 12 UIKitCore 0x40a90c -[UIApplication _run] 13 UIKitCore 0x4be9d0 UIApplicationMain 14 My App 0x4daa78 main + 28 (AppDelegate.swift:28) 15 ??? 0x1bbb35e4c (Missing)
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetIf using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: