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.
- Basic Localytics SDK integration
- Event tracking
- Profile attributes tracking
- Session management
- Demonstrate the Places feature
- Notifications
- In-App messages
- Android Studio (latest stable version)
- Android SDK
- Localytics SDK
- Firebase account (for push notifications)
-
**Clone the repository:**2. Open the project in Android Studio:
-
Import the project into Android Studio.
-
Paste the
localytics.xml
file: Copy thelocalytics.xml
file (provided with the Localytics SDK) into theapp/src/main/res/values
directory of your project. -
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. -
Sync project files: Sync your project with Gradle files in Android Studio to ensure all dependencies are resolved.
-
Run the project: Build and run the project on an Android device or emulator.
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.
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.
This project is licensed under the MIT License.
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.