So Im trying to connect to Apple Music from an iOS device using a react native application, There is an API present for doing the same but I need to call a function from the storekit framework ? to make personalised requests.
Apple Music API : https://developer.apple.com/documentation/applemusicapi
Function to be called : https://developer.apple.com/documentation/storekit/skcloudservicecontroller/2909079-requestusertoken
Im not sure how to go about this, I'm a beginner at React Native, could you guys help me out
UPDATE:
So I figured I need to make use of something known as React Native Modules ?
More here : https://facebook.github.io/react-native/docs/native-modules-ios#content
still trying things out, please feel free to add or correct me, this is still a work in progress