Firebase Analytics Plugin

This plugin allows you to log events though firebase analytics for iOS(8+) and Android(4.0 +)

Functions:

firebaseAnalytics.init()

-- initialize firebase analytics

firebaseAnalytics.logEvent(eventId, params)

see firebase docs for all events example: SELECT_CONTENT = "select_content" and CONTENT_TYPE = "content_type"

firebaseAnalytics.setUserProperties(name, property)

firebaseAnalytics.setCurrentScreen(screenName, screenClass)

screenName(string)

screenClass(string)

Setup:

Make sure you download and include GoogleServices-Info.plist and put in root folder of corona project. Also add your google-services.json to your root folder and useGoogleServicesJson = true in build.settings.

Helpful Links:

Example

Support

Get Plugin