Skip to content

Commit

Permalink
Fix : pick method returns null in IOS15 katzer#268
Browse files Browse the repository at this point in the history
  • Loading branch information
dimer47 committed Aug 1, 2022
1 parent 506e5bb commit b74b45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/printer.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

var exec = require('cordova/exec'),
ua = navigator.userAgent.toLowerCase(),
isIOS = ua.indexOf('ipad') > -1 || ua.indexOf('iphone') > -1;
isIOS = ua.indexOf('ipad') > -1 || ua.indexOf('iphone') > -1 || window.cordova.platformId === "ios";

// Defaults
exports._defaults = {
Expand Down

0 comments on commit b74b45a

Please sign in to comment.