Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

iOS Application crashes when iOS Agent used with Google Firebase

We have seen some application crashes reported when the AppDynamics iOS Agent is used with an application already using Google Firebase.  The related issues have to do with a possible race condition that occurs with overlapping method swizzling between our agent and Firebase during initialization. 

We know of a workaround for this, which is to disable FirebaseAppDelegateProxyEnabled in Firebase. See: https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in.  

Another option is to disable the auto-instrumentation in the iOS Agent (as described in enableAutoInstrument). However, doing this in the iOS Agent would remove a lot of functionality, including auto instrumentation of network requests and system and UI events. You would still retain crash handling, custom metrics, and screenshots.

Version history
Revision #:
3 of 3
Last update:
‎10-12-2018 02:25 PM
Updated by:
 
Labels (1)
0 Kudos