Releases: defold/extension-firebase-analytics
Added analytics.set_default_event_parameters()
Update iOS SDK to 10.22.0 version
- Firebase iOS SDK updated to version 10.22.0
Remove FIR cpp SDK
- Firebase CPP SDK was removed from the extension, and now the extension uses iOS and Android SDKs directly.
- BREAKING CHANGES in API:
- Now
firebase.analytics
uses one callback for all the async event that can be added withfirebase.remoteconfig.set_callback()
firebase.analytics.init()
replaced withfirebase.analytics.initialize()
- see an example in the Firebase manual https://defold.com/extension-firebase-analytics/
- Now
Special thanks to @Sippul79 for doing most of the work.
Upgraded build.gradle for compatibility with Gradle 7.x
FIX: The build.gradle is now compatible with Gradle 7.x and above
CHANGE: The extension uses cocoapods for ios
Control JVM thread on the extension side.
Firebase itself attach thread and doesn't care about detaching. It is a reason of accumulation a huge amount of local references which never cleanup.
On Android 7.0 and lower it's the reason of crashes.
Upgraded to Firebase C++ SDK 8.10.0 and iOS SDK 8.13.0
CHANGE: Upgraded to Firebase C++ SDK 8.10.0 and iOS SDK 8.13.0
CHANGE: analytics.set_screen()
is deprecated in Firebase. Use analytics.log_string(analytics.EVENT_SCREENVIEW, "screen name", "screen class")
instead.
Updated API reference
FIX: API documentation for init()
and get_id()
was not correct.
Added predefined event and parameter constants
NEW: Added all of the predefined event and parameter constants. Example: analytics.EVENT_POSTSCORE
and analytics.PARAM_SCORE
.
Make sure Analytics is initialized before use
FIX: Check that firebase.analytics.init() has been called before any other function is used
Fixed iOS build error
FIX: Added correct iOS frameworks
FIX: Changed the function name of the iOS implementation for logging an event to match firebase_analytics.h