Countly has several SDKs to choose from. Some of them are officially supported by Countly, and others are contributed by community.
Below you can see a list of mobile and desktop SDKs.
Subscribe to SDK GitHub repositories
In order to get notified about SDK changes, you should be subscribed to corresponding SDK repositories on GitHub. This will help you get notified when there is a new release.
Officially Supported SDKs
This table includes a list of all officially supported SDKs, maintained by Countly.
|SDK name||Download link||Documentation link|
|iOS SDK (Objective-C) with watchOS, tvOS & macOS support||Click to get||Click for documentation|
|Android SDK (Java)||Click to get||Click for documentation|
|Xamarin SDK (C#)||Click to get from Nuget||Documentation for Android|
|Windows Phone & Windows SDK (C#)||Click to get from Nuget||Click for documentation|
|C++ SDKs (C++)||Click to get||Click for documentation|
|Unity SDK (C#)||Click to get||Click for documentation|
Countly Code Generator
If you want to generate mobile or web code easily for custom events, user profiles, crash reporting and all other features that comes with Countly in general, we suggest that you use Countly Code Generator, which is a point and click service that builds necessary code for you.
Community Supported SDKs
These client libraries are developed and supported by Countly community and not Countly directly. Refer to the corresponding author for support and more information.
- Cocos2d-x SDK and documentation page
- Titanium Appcelerator SDK (iOS)
- Titanium Appcelerator SDK (Android)
This is a feature comparison for officially supported SDKs.
|SDK||Analytics||Push notifications||User Profiles||Crash reports|
|PhoneGap & Cordova||YES||YES||YES||YES|
|React Native Bridge||YES||YES||YES||YES|
|Windows / Windows Phone||YES||NO||YES||YES|
Example iOS application for testing
We have built a sample iOS application that can be used to send different types of data (e.g custom events, sessions, crash, user profiles etc) to Countly servers. Please see https://github.com/Countly/countly-sample-ios
Example Android application for testing
Similar to iOS, we have a sample Android application that can send custom events, sessions, crash, user profiles etc to Countly servers. Below you can see the instructions on how to use the example Android application.
- Download / clone Android SDK git repository
- Open downloaded project in Android Studio.
MainActivity.javain either app, or app-messaging module, specifying correct server / credentials / preferences.
- Select correct target:
- Hit Run.