also looking at this
fix(ios): hand the page the answers native was already sending
#222
18 files
+597
-164
| @@ -80,7 +80,13 @@ export const REQUIRED_CASES: Record<MobilePlatform, string[]> = { | ||
| 80 | 80 | 'clipboard.roundTrip', |
| 81 | 81 | 'permissions.location.granted', |
| 82 | 82 | 'geolocation.currentPosition', |
| 83 | 'geolocation.watchPosition.resolvesTrue', | |
| 84 | 'geolocation.clearWatch.resolvesTrue', | |
| 85 | 'haptic.resolvesTrue', | |
| 86 | 'vibrate.resolvesTrue', | |
| 83 | 87 | 'share.disabled.rejects', |
| 88 | 'speech.disabled.rejects', | |
| 89 | 'speech.stopListening.resolvesTrue', | |
| 84 | 90 | ], |
| 85 | 91 | android: [ |
| 86 | 92 | 'bridge.ready', |
| @@ -548,12 +554,18 @@ export function zigRefusals(text: string): string[] { | ||
| 548 | 554 | */ |
| 549 | 555 | export const ZIG_TESTED_ACTIONS = [ |
| 550 | 556 | 'checkPermission', |
| 557 | 'clearWatch', | |
| 551 | 558 | 'clipboardRead', |
| 552 | 559 | 'clipboardWrite', |
| 553 | 560 | 'getCurrentPosition', |
| 554 | 561 | 'getDeviceInfo', |
| 562 | 'haptic', | |
| 555 | 563 | 'requestPermission', |
| 556 | 564 | 'share', |
| 565 | 'startListening', | |
| 566 | 'stopListening', | |
| 567 | 'vibrate', | |
| 568 | 'watchPosition', | |
| 557 | 569 | ] |
| 558 | 570 | |
| 559 | 571 | /** |
| @@ -569,6 +581,7 @@ export const ZIG_SERVED_ACTIONS = ZIG_TESTED_ACTIONS.filter(action => action !== | ||
| 569 | 581 | /** The actions the suite configures off, so Zig must refuse each by name. */ |
| 570 | 582 | export const ZIG_REFUSED_ACTIONS = [ |
| 571 | 583 | 'share', |
| 584 | 'startListening', | |
| 572 | 585 | ] |
| 573 | 586 | |
| 574 | 587 | /** |