( action: 'accept' | 'dismiss', alert: AndroidAlertInfo, button: string, )
| 145 | } |
| 146 | |
| 147 | function buildAndroidAlertHandledResponse( |
| 148 | action: 'accept' | 'dismiss', |
| 149 | alert: AndroidAlertInfo, |
| 150 | button: string, |
| 151 | ): AndroidAlertResult { |
| 152 | return { |
| 153 | kind: 'alertHandled', |
| 154 | platform: 'android', |
| 155 | action, |
| 156 | handled: true, |
| 157 | alert, |
| 158 | button, |
| 159 | ...successText(`Alert ${action}ed`), |
| 160 | }; |
| 161 | } |
no test coverage detected