Getting Started
  • 16 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Getting Started

  • Dark
    Light

Article summary

Project Setup

Retail SDK Target & Dependencies

  • Development:Swift 5.9+ (Xcode 15.0.1+  or Xcode 16.0+)
  • Deployment: iOS 15.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