Skip to content

localytics/localytics-android-sample

Repository files navigation

Localytics SDK Integration Sample Android Project

This project demonstrates the integration of the Localytics SDK into an Android application. It provides a basic example of how to track events, user attributes, and other data using Localytics.

Features

  • Basic Localytics SDK integration
  • Event tracking
  • Profile attributes tracking
  • Session management
  • Demonstrate the Places feature
  • Notifications
  • In-App messages

Getting Started

Prerequisites

  • Android Studio (latest stable version)
  • Android SDK
  • Localytics SDK
  • Firebase account (for push notifications)

Installation

  1. **Clone the repository:**2. Open the project in Android Studio:

  2. Import the project into Android Studio.

  3. Paste the localytics.xml file: Copy the localytics.xml file (provided with the Localytics SDK) into the app/src/main/res/values directory of your project.

  4. Integrate Firebase: Follow the instructions in the Localytics documentation to integrate Firebase into your project for push notification support. This typically involves adding the google-services.json file to your project.

  5. Sync project files: Sync your project with Gradle files in Android Studio to ensure all dependencies are resolved.

  6. Run the project: Build and run the project on an Android device or emulator.

Usage

The sample project includes basic examples of how to track events and user attributes using the Localytics SDK. Refer to the code comments and the Localytics documentation for more details.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Disclaimer

This is a sample project for demonstration purposes only. It is not intended for production use. Please refer to the official Localytics documentation for comprehensive integration instructions and best practices.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages