Skip to content

Repository files navigation

Codacy Badge

Countly Java SDK

This repository contains the Countly Java SDK, which can be integrated into Java applications. The Countly Java SDK is intended to be used with Countly Lite, Countly Flex, Countly Enterprise.

What is Countly?

Countly is a product analytics solution and innovation enabler that helps teams track product performance and customer journey and behavior across mobile, web, and desktop applications. Ensuring privacy by design, Countly allows you to innovate and enhance your products to provide personalized and customized customer experiences, and meet key business and revenue goals.

Track, measure, and take action - all without leaving Countly.

Integrating Countly SDK in your projects

For a detailed description on how to use this SDK check out our documentation.

For information about how to add the SDK to your project, please check this section of the documentation.

You can find minimal SDK integration information for your project in this section of the documentation.

For an example integration of this SDK, you can have a look here.

This SDK supports the following features:

Building and testing

./gradlew :sdk-java:build      # compile the core SDK and run its tests
./gradlew :sdk-java-ui:build   # compile the JavaFX UI artifact and run its tests (Java 17+)
./gradlew coverage             # run every published module's tests and print a coverage summary
./gradlew :app-java:run        # console demo
./gradlew :app-javafx:run      # JavaFX demo (Java 17+)

coverage writes a jacoco report per module to <module>/build/reports/jacoco/test/, HTML to read and XML for tooling, and prints line and branch coverage for each one.

The same task runs in CI on every pull request and posts the result as a comment, including coverage of the files that pull request changed. Minimums live in the env block of .github/workflows/coverage.yml and are advisory until ENFORCE_COVERAGE is set to true.

Security

Security is very important to us. If you discover any issue regarding security, please disclose the information responsibly by sending an email to security@count.ly and not by creating a GitHub issue.

Badges

If you like Countly, why not use one of our badges and give a link back to us so others know about this wonderful platform?

Countly - Product Analytics

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/dark.svg" alt="Countly - Product Analytics" /></a>

Countly - Product Analytics

<a href="https://count.ly/f/badge" rel="nofollow"><img style="width:145px;height:60px" src="https://count.ly/badges/light.svg" alt="Countly - Product Analytics" /></a>

How can I help you with your efforts?

Glad you asked! For community support, feature requests, and engaging with the Countly Community, please join us at our Discord Server. We're excited to have you there!

Also, we are on Twitter and LinkedIn if you would like to keep up with Countly related updates.

Releases

Packages

Used by

Contributors

Languages