React Native Getting Started
  • 11 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

React Native Getting Started

  • Dark
    Light

Article summary

Getting started


Getting started React Native (iOS)

Ticketmaster SDK's Target & Dependencies

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


SDK Download

Open the .xcworkspace file usually located in the ios folder of a React Native project which will open Xcode

Follow: https://ignite.ticketmaster.com/v1/docs/swift-package-manager to add Ticketmaster frameworks to the Xcode project


Required packages for each SDK:

Accounts SDK

  • TicketmasterAuthentication
  • TicketmasterFoundation

Tickets SDK

  • TicketmasterAuthentication
  • TicketmasterFoundation 
  • TicketmasterSecureEntry
  • TicketmasterTickets

Retail SDK - Pre-Purchase

  • TicketmasterAuthentication
  • TicketmasterDiscoveryAPI
  • TicketmasterFoundation 
  • TicketmasterPrePurchase
  • TicketmasterSecureEntry
  • TicketmasterTickets

Retail SDK - Purchase

  • TicketmasterAuthentication
  • TicketmasterDiscoveryAPI
  • TicketmasterFoundation 
  • TicketmasterPurchase
  • TicketmasterSecureEntry
  • TicketmasterTickets

API-Level Documentation

iOS API Documentation




Ticketmaster SDK Target & Dependencies

  • Min SDK: 26
  • 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"

Ticketmaster SDK Implementation

//build.gradle (Module:app)
implementation 'com.ticketmaster.tickets:tickets:3.0.2'
implementation 'com.ticketmaster.tickets:secure-entry:1.2.7'
implementation "com.ticketmaster.retail:purchase:1.0.8"
implementation "com.ticketmaster.retail:prepurchase:1.0.5"
implementation "com.ticketmaster.retail:discoveryapi:1.0.2"
implementation 'com.ticketmaster.accounts:authentication:3.0.2'

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?