also looking at this
fix(ios): hand the page the answers native was already sending
#222
18 files
+597
-164
| @@ -33,8 +33,10 @@ const char craft_slice_page[] = | ||
| 33 | 33 | "window.addEventListener('craftMotionUpdate', function () {\n" |
| 34 | 34 | " if (!sentEvent) { sentEvent = true; bridge.postMessage({t:'mobile', a:'getDeviceInfo', i:16}); }\n" |
| 35 | 35 | "});\n" |
| 36 | "// Speech answers on the event channel and nowhere else: neither action\n" | |
| 37 | "// replies, so these three listeners are the whole page-visible surface.\n" | |
| 36 | "// Speech outcomes arrive on the event channel and nowhere else. Both\n" | |
| 37 | "// actions reply true once the request is taken (#207), which says\n" | |
| 38 | "// nothing about what happened next, so these three listeners are what\n" | |
| 39 | "// the assertions read.\n" | |
| 38 | 40 | "// A start settles as EITHER craftSpeechStart or craftSpeechError, and both\n" |
| 39 | 41 | "// count: the first means the engine is running, the second means the\n" |
| 40 | 42 | "// authorization block fired, hopped to the main queue and named a reason.\n" |