Firebase Performance¶
Configuration¶
Android¶
Modify build.gradle
dependencies {
implementation 'com.senspark.ee:firebase-performance:2.8.0'
}
iOS¶
Modify Podfile
pod 'ee-x/firebase-performance', '2.8.0'
Basic usage¶
Initialization
#include <ee/Cpp.hpp>
auto plugin = ee::PluginManager::createPlugin<ee::IFirebasePerformance>();
co_await plugin->initialize();
Starts a trace
auto trace = plugin->newTrace("default");
trace->start();