-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
- Xcode version: 11.2
- Firebase SDK version: 6.11.0
- Firebase Component: Preformance
- Component version: 3.1.5
Steps to reproduce:
I have isInstrumentationEnabled & isDataCollectionEnabled set to false, then run the app from Xcode in Debug mode, Performance begins infinite logging complaining things like below
[Firebase/Performance][I-PRF100013] Dropping event since data collection is disabled.
One or two logs like that are usually ok. But currently, I got this line log every 1 seconds. Maybe it's because I have a timer that sends a network request every 1 seconds and Performance manages to monitor the request, but then find it should not collect the data, so it complains. Anyway, It makes log console in Xcode completely useless.
Relevant Code:
in func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
Performance.sharedInstance().isInstrumentationEnabled = false
Performance.sharedInstance().isDataCollectionEnabled = false