Open another app installed on Android/iOS with fallback to respective stores

My app requires opening other apps that might be installed on Android/iOS, if not found on-device then a fallback would be to respective stores. No passing parameters, simply opening the external app as needed