Skip to content

Commit

Permalink
fix(platform): windows UA should not trigger iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Mar 15, 2016
1 parent d354a3b commit 6dae784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ionic/platform/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Platform.register({
tapPolyfill: isIOSDevice,
},
isMatch(p: Platform): boolean {
return p.isPlatformMatch('ios', ['iphone', 'ipad', 'ipod']);
return p.isPlatformMatch('ios', ['iphone', 'ipad', 'ipod'], ['windows phone']);
},
versionParser(p: Platform): any {
return p.matchUserAgentVersion(/OS (\d+)_(\d+)?/);
Expand Down

0 comments on commit 6dae784

Please sign in to comment.