We have both an iOS app and a tvOS app.
We'd love to achieve the following scenario:
- iOS app should be able to detect Apple TV devices in the local network.
- When the user selects the apple TV device, check if the our tvOS app on apple TV is installed or not on the selected apple tv, If the app is not installed then iOS app can open the app store to launch the install page for the tvOS app on apple tv.
- The user can download/installation the app of the tvOS app.
- If the tvOS app is installed then launch the tvOS App on the apple TV.
Are there any APIs available to achieve this scenario?