GameAnalytics Cocos2D SDK.
Documentation can be found here.
If you have any issues or feedback regarding the SDK, please contact our friendly support team here.
ℹ️
The Cocos2D SDK include support for iOS, Android, HTML5, Tizen, Windows, Linux, UWP and Mac platforms
Supports C++, JavaScript and Lua
Requirements:
- Cocos2D-X: 3.x+
- iOS: iOS 7+
- Android: Android API Level 14
- Tizen: Tizen 2.4+
Build size: Note that download size differ from the actual build size.
Android: The SDK build size in a native Android app is only around 49Kb and the dependecies take up to 820Kb depending if your app already uses some of the same dependencies.
iOS: The SDK build size in a native iOS app is only around 242Kb (armv7) / 259Kb (armv8).
4.1.7
- fixed bug in internal error reporting
4.1.6
- added event uuid to events sent
4.1.5
- fixed progression tries bug for desktop platforms
4.1.4
- removed imei identifiers and other alternative identifiers from user identifier logic (android)
4.1.3
- added error events to be sent for invalid custom event fields used
- added optional mergeFields argument to event methods to merge with global custom fields instead of overwrite them
4.1.2
- fixed missing custom event fields for when trying to fix missing session end events
4.1.1
- added functionality to force a new user in a/b testing without having to uninstall app first, simply use custom user id function to set a new user id which hasn't been used yet
4.1.0
- added custom event fields feature
4.0.0
- Changed user identifier logic in preparation for Google changes to GAID. User id for a new install is now a randomised GUID. Existing installs that update SDK will continue using previous identifier logic. It is recommended to update as soon as possible to reduce impact on calculated metrics.
3.4.1
- it should now be possible to not show idfa consent dialog if you don't have any third party code that needs to use idfa (ios)
- prepared for google advertising identifier changes (will not use google advertising identifier when user has opted out) (android)
3.3.8
- it should now be possible to not show idfa consent dialog if you don't have any third party code that needs to use idfa (ios)
- prepared for google advertising identifier changes (will not use google advertising identifier when user has opted out) (android)
3.3.7
- added idfa consent status field to events (ios)
3.3.6
- fixed compile errors
3.3.5
- updated client ts validator
3.3.4
- removed memory info from automatic crash reports
3.3.3
- added arm64 architecture for mac libs
3.3.2
- corrected ad event annotation
3.3.1
- improved user identifier flow for ios (ios)
3.3.0
- added ad event
- fixed various build errors for ios and android
3.2.0
- updated user identifier flow to prepare for iOS 14 IDFA changes (ios)
3.1.0
- exposed functions to get AB testing id and variant id
3.0.7
- added session_num to init request
3.0.6
- removed facebook, gender, birthyear methods
- added auto detect app version for build field (only android, ios)
3.0.5
- A/B testing fixes
3.0.4
- fixed getRemoteConfigsValueAs String bug (ios)
3.0.3
- remote configs fixes
3.0.2
- fixed events bug
3.0.1
- corrected naming of function
3.0.0
- Remote Config calls have been updated and the old calls have deprecated. Please see GA documentation for the new SDK calls and migration guide
- A/B testing support added
2.1.2
- added check if log files and database can't be added
2.1.1
- removed std string and replaced it with c-strings for desktop platforms
- fixed hanging background thread when closing application for desktop platforms
2.1.0
- added enable/disable submission function
2.0.5
- fixed business event validation
2.0.4
- fixed thread hanging on shutdown for desktop platforms
2.0.3
- fixed android compile errors
2.0.2
- fixed jni compile error (android)
2.0.1
- fixed jni compile error (android)
2.0.0
- added command center functionality
- fixed various bugs
1.8.0
- updated jsbindings to work with latest API
1.7.7
- bug fix for events thread stopping and not starting again (desktop platforms)
1.7.6
- fixed session handling for android
- added custom dimensions for design and error events
1.7.5
- fixed session length bug
- fixed not allowing to add events when session is not started
1.7.4
- fixed crash bug for closing down sdk for desktop platforms (windows, mac, linux)
1.7.3
- jni memory leak fixes (android)
1.7.2
- small correction to use int instead of double for session num
1.7.1
- jni bug fix for progression events with scores (android)
1.7.0
- changed the behaviour of using IMEI with the 'READ_PHONE_STATE' permission to guarantee precise analytics for certain regions (android)
1.6.4
- bug fix for end session when using manual session handling
1.6.3
- session length precision improvement
1.6.2
- custom user id bug fix
1.6.1
- added OS version, device model and device manufacturer to event (windows, mac)
1.6.0
- added linux support
1.5.0
- added tizen support
1.4.2
- bug fix for progression events with score in Android builds (android)
1.4.1
- restructured file hierarchy
1.4.0
- added js and lua support
1.3.1
- possible to set custom dimensions and demographics before initialize
1.3.0
- added support for UWP
1.2.2
- fixed user_id tracking for iOS 10 (ios)
- fix isAppStoreReceiptSandbox bug on iOS 6 devices and lower (ios)
- switched to use libCurl as networking library (mac, windows)
1.2.1
- wrong platform in events bug fix (windows, mac)
- crash bug fix (windows, mac)
1.2.0
- added support for manual session handling
1.1.0
- added support for Windows and Mac
1.0.1
- fixed validator in native libs to allow 'cocos2d' as sdk wrapper
1.0.0
- support for iOS and Android
- only C++ supported at the moment