ReviewOS

also looking at this

craft-native/craft

fix(ios): hand the page the answers native was already sending

#222
Merged glennmichael123 wants to merge fix/ios-unanswered-posts into main
18 files +597 -164
scripts/mobile-e2e/protocol.tsmodified+13-0
Changes to scripts/mobile-e2e/protocol.ts
@@ -80,7 +80,13 @@ export const REQUIRED_CASES: Record<MobilePlatform, string[]> = {
8080 'clipboard.roundTrip',
8181 'permissions.location.granted',
8282 'geolocation.currentPosition',
83 'geolocation.watchPosition.resolvesTrue',
84 'geolocation.clearWatch.resolvesTrue',
85 'haptic.resolvesTrue',
86 'vibrate.resolvesTrue',
8387 'share.disabled.rejects',
88 'speech.disabled.rejects',
89 'speech.stopListening.resolvesTrue',
8490 ],
8591 android: [
8692 'bridge.ready',
@@ -548,12 +554,18 @@ export function zigRefusals(text: string): string[] {
548554 */
549555export const ZIG_TESTED_ACTIONS = [
550556 'checkPermission',
557 'clearWatch',
551558 'clipboardRead',
552559 'clipboardWrite',
553560 'getCurrentPosition',
554561 'getDeviceInfo',
562 'haptic',
555563 'requestPermission',
556564 'share',
565 'startListening',
566 'stopListening',
567 'vibrate',
568 'watchPosition',
557569]
558570
559571/**
@@ -569,6 +581,7 @@ export const ZIG_SERVED_ACTIONS = ZIG_TESTED_ACTIONS.filter(action => action !==
569581/** The actions the suite configures off, so Zig must refuse each by name. */
570582export const ZIG_REFUSED_ACTIONS = [
571583 'share',
584 'startListening',
572585]
573586
574587/**