title: StoreKit SKStoreProductViewController in React Native
body: <p>I'm looking to add StoreKit's <a href="https://developer.apple.com/documentation/storekit/skstoreproductviewcontroller" rel="nofollow noreferrer">SKStoreProductViewController</a> into a React Native project (without using a third-party library). Would like the Store view to show up as a modal when the user taps a &quot;get app&quot; button, which will pass the iTunesID of the product to be displayed.</p>
  <p>While RN's documentation explains how to <a href="https://reactnative.dev/docs/native-components-ios" rel="nofollow noreferrer">integrate a native view component</a> into a project, I'm not sure I'm understanding how this would translate to a view controller.</p>
  <p>While I prefer a solution in objective-c, I can accept a solution that uses Swift.</p>