Welcome to the THN Native SDK documentation. This SDK allows you to integrate The Hotels Network widgets into your native iOS and Android applications.
-
Quickstart - Quickstart IOS
-
Quickstart - Quickstart Android
-
Integration Guide - Step-by-step instructions for integrating the SDK
-
Data Models - Detailed information about the data models used in the SDK
-
Troubleshooting - Solutions to common issues
The THN Native SDK provides a lightweight, cross-platform solution for integrating The Hotels Network's personalization widgets into native mobile applications. The SDK handles the complexities of widget rendering, communication, and state management, allowing you to focus on your core app functionality.
- Cross-Platform Compatibility: Works on both iOS and Android
- SwiftUI & UIKit Support: Flexible integration options for iOS
- Kotlin & XML Support: Easy integration for Android
- Lightweight: Minimal impact on app size and performance
- Customizable: Configurable to match your app's needs
- Debug Tools: Built-in debugging capabilities
- iOS 15.0+
- Xcode 14+
- Swift 5.0+
- Android API 21+ (Android 5.0 Lollipop)
- AndroidX compatibility
For additional support:
- Check our troubleshooting guide
- Refer to the sample implementations:
- iOS:
ios/thnnative-ios-sample/ - Android:
android/app/
- iOS:
- Contact support at tech@thehotelsnetwork.com
View LICENSE.md