Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
add constatnts iOS14 and iPad OS 14
Browse files Browse the repository at this point in the history
  • Loading branch information
MorimotoShimei committed Oct 22, 2020
1 parent cce70cb commit 3f68ad9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lib/helpers/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,26 @@ export const OFFSETS = {
},
},
},
14: {
STATUS_BAR: 20,
STATUS_BAR_PRO: 24,
STATUS_BAR_X: 44,
ADDRESS_BAR: 50,
HOME_BAR: {
DEFAULT: {
height: 5,
width: 135,
x: 120,
y: 799,
},
LARGE: {
height: 5,
width: 148,
x: 133,
y: 883,
},
},
},
},
};
export const DEFAULT_TABBABLE_OPTIONS = {
Expand Down
2 changes: 2 additions & 0 deletions lib/mocks/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ export const NAVIGATOR_APP_VERSIONS = {
11: '5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1',
12: '5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1',
13: '5.0 (iPhone; CPU iPhone OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Mobile/15E148 Safari/604.1',
14: '5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1',
},
IPADOS: {
13: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15',
14: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15',
}
};
export const ANDROID_DEVICES = {
Expand Down

0 comments on commit 3f68ad9

Please sign in to comment.