SDK from Travelpayouts: airline tickets search in your app

Travelpayouts SDK is a powerful tool for developers, allowing to integrate airline search functionality into existing applications. This solution provides everything you need to enable your users to search and book flights right in your app.

You will be able to customize the SDK to seamlessly fit it into your current design and functionality. This will not only improve the user experience, but also give you the opportunity to generate additional revenue from ticket sales.

Note! If you don't have development skills or need a separate app to search for airline tickets, use the White Label App from Travelpayouts. This ready-made solution allows you to create an app from scratch and customize it without requiring deep programming skills. 

Technical requirements for iOS

  • The Integrator must have CocoaPods dependency manager installed.
  • The Integrator must set the minimum supported iOS version to 14.0.
  • The Integrator must adjust the versions of their external dependencies to match the SDK dependencies if there are any overlaps:
'Apollo', '>= 1.9.3', '< 2.0.0'
'AvailableHapticFeedback', '>= 1.0.4', '< 1.1.0'
'ClusterKit', '>= 0.5.0', '< 1.0.0'
'CombineCocoa', '>= 0.4.0', '< 1.0.0'
'CombineExt', '>= 1.8.0', '< 2.0.0'
'CrispyCalendar', '>= 1.0.10', '< 2.0.0'
'DictionaryCoder', '>= 1.0.8', '< 2.0.0'
'ImageViewer.swift', '>= 3.3.8', '< 3.4.0'
'KeychainSwift', '>= 19.0.0', '<= 24.0.0'
'Kingfisher', '>= 7.8.0', '< 8.0.0'
'Moya/Combine', '>= 15.0.0', '< 16.0.0'
'NeedleFoundation', '>= 0.17.2', '< 1.0.0'
'Punycode-Cocoa', '>= 1.3.1', '< 2.0.0'
'R.swift', '>= 7.2.4', '< 8.0.0'
'SkeletonView', '>= 1.30.4', '< 2.0.0'
'SnapKit', '>= 5.6.0', '< 6.0.0'
'SweeterSwift', '>= 1.2.3', '< 1.3.0'
'lottie-ios', '>= 4.2.0', '< 5.0.0'
  • The Integrator must add (or modify an existing) hook in the Podfile:
# Various post-install hooks
post_install do |installer|
 installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
   config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
  end
 end
end
  • In the AppDelegate, in the application(_:didFinishLaunchingWithOptions:) method, add the following code:
LottieConfiguration.shared.renderingEngine = .mainThread

Technical requirements for Android

  • The Integrator must set the minimum supported version of the Android SDK to 28 or higher.
  • Kotlin version must be 1.9 or higher.
  • Gradle version must be 8.6 or higher.

How to get access to the Travelpayouts SDK

1. Register on Travelpayouts

Sign up on the Travelpayouts partner platform if you don’t already have an account.

2.  Request access

SDK is 100% free. To start using the tool and achieve the best results, we grant access by request only to projects that already have a stable audience and demonstrate consistent user activity.

To request access send a message to our support team and include:

  • a link to your existing website or mobile app
  • data confirming user activity (for example, screenshots from analytics).

Our team will review your request and get back to you.

3. Download the SDK Code

Once your request is approved, you will receive an email from support containing further instructions. Launch the White Label App page in your Travelpayouts account and select the needed platform to download the code.

4. Set Up the SDK

Follow the configuration instructions in our help center: