Integrating Apple Music Subscriptions into a React Native App

Hi everyone, I'm currently developing an iOS app using React Native and recently got accepted into the Apple Music Global Affiliate Program. To fully utilize this opportunity, I need to implement the following functionalities:

  1. Authorize Apple Music usage
  2. Play Apple Music within my app
  3. Identify if a user has an Apple Music subscription
  4. Initiate and complete Apple Music subscription within my app

I've successfully implemented the first three functionalities using the react-native-apple-music module. Now, I need your help to understand how I can directly trigger the Apple Music subscription process from within my app.

Thank you for your help!

Integrating Apple Music Subscriptions into a React Native App
 
 
Q