Open u01jmg3 opened 2 years ago
The user-agent string for an iPad running iOS 15.3.1:
https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L21
https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L144-L150
This is one possible solution.
The user-agent string for an iPad running iOS 15.3.1:
https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L21
https://github.com/katzer/cordova-plugin-badge/blob/8e870f7f358d9435180f92dba4d2fc3b7f52bb4f/www/badge.js#L144-L150