pushandplay / cordova-plugin-apprate

This plugin provide the "rate this app" functionality into your Cordova/Phonegap application
Apache License 2.0
299 stars 193 forks source link

iPad recognition not working #299

Closed AndrejDaubert closed 3 years ago

AndrejDaubert commented 3 years ago

The recognition for iPad over navigator.userAgent is not working in the current version. It return false and prevent the navigation to storepage.

File: AppRate.js Line: var IS_IOS = /(iPhone|iPod|iPad)/i.test(navigator.userAgent.toLowerCase());

Also see: https://stackoverflow.com/questions/57776001/how-to-detect-ipad-pro-as-ipad-using-javascript

osben commented 3 years ago

i added a fix https://github.com/pushandplay/cordova-plugin-apprate/pull/300

westonganger commented 3 years ago

v1.7.2 is now released which includes this fix.