Getting Started
  • 21 Aug 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Getting Started

  • Dark
    Light

Article Summary

Project Setup

Retail SDK Target & Dependencies

  • Development: Xcode 14.3+ (Swift 5.8+)
  • Deployment: iOS 14.0+

Retail SDK Download

Import target frameworks using Xcode Swift Package Manager:

https://github.com/ticketmaster/iOS-IgniteSDK

For more details, see Swift Package Manager


Retail SDK Target & Dependencies

  • Min SDK: 23
  • Compile SDK: 33
  • Kotlin Version: 1.8.2
  • Gradle Build Tools: 7.4.2
//build.gradle (Module:app)
implementation 'androidx.datastore:datastore-preferences:1.0.0'
implementation 'androidx.datastore:datastore-preferences-rxjava2:1.0.0'
implementation "io.insert-koin:koin-core:3.2.2"
implementation "io.insert-koin:koin-android:3.2.2"

Retail SDK Implementation

//build.gradle (Module:app)
implementation "com.ticketmaster.retail:purchase:1.1.0"
implementation "com.ticketmaster.retail:prepurchase:1.0.6"
implementation "com.ticketmaster.retail:discoveryapi:1.0.3"

Make sure you have the following:

// build.gradle (Module: app)
android {
  .........
  buildFeatures {
    dataBinding = true
  }
}
 <!-- Base application theme within app/src/main/res/values/styles.xml -->
<style name "AppTheme" parent="...">
   ..............
   ..............
   <item name="windowActionBar">false</item>
   <item name="windowNoTitle">true</item> (add if you're using AppCompatActivity)
</style>

Was this article helpful?

What's Next