Flurry Analytics
This plugin connects to Flurry Analytics SDK
联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.
Ionic Flurry Analytics插件的安装(Installation)
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
Ionic Flurry Analytics插件支持的平台(Supported Platforms)
- Android
- iOS
Ionic Flurry Analytics插件的用法(Usage)
import { FlurryAnalytics, FlurryAnalyticsObject, FlurryAnalyticsOptions } from '@ionic-native/flurry-analytics/ngx';
constructor(private flurryAnalytics: FlurryAnalytics) { }
...
const options: FlurryAnalyticsOptions = {
appKey: '' , // REQUIRED
reportSessionsOnClose: true,
enableLogging: true
}
let fa: FlurryAnalyticsObject = this.flurryAnalytics.create(options);
fa.logEvent('event name')
.then(() => console.log('Logged an event!'))
.catch(e => console.log('Error logging the event', e));