Add version detection for iOS and Android open pdf