我正在对iOS应用程序的能耗进行故障排除,并且发现Fabric似乎将能耗保持在高/非常高的范围内,即使应用程序在后台也是如此。这是在调试模式下运行。还有其他人看到这个吗?有什么我能做的吗?这是我从Fabric获得的调试信息:
2017-07-11 11:10:28.049449-0700 MyApp[****:*******] [Crashlytics:Answers] Answers enabled with settings: {
"flush_interval_secs" = 10;
"flush_on_background" = 1;
"forward_to_google_analytics" = 0;
"include_purchase_events_in_forwarded_events" = 0;
"max_byte_size_per_file" = 8000;
"max_file_count_per_send" = 1;
"max_pending_send_file_count" = 100;
"sampling_rate" = 1;
"track_custom_events" = 1;
"track_predefined_events" = 1;
"track_view_controllers" = 0;
url = "https://e.crashlytics.com/spi/v2/events";
}
2017-07-11 11:10:28.051540-0700 MyApp[****:*******] [Fabric] Initialized with kit versions: {
"com.twitter.answers.ios" = "1.2.0";
"com.twitter.crashlytics.ios" = "3.7.0";
"io.fabric.sdk.ios" = "1.6.7";
}