()
| 186 | const origReset = (App && App.resetRootView) || (proto && proto.resetRootView); |
| 187 | if (typeof origReset === 'function' && !g['__NS_DEV_PATCHED_RESET_ROOT__']) { |
| 188 | const isReady = () => { |
| 189 | try { |
| 190 | const a: any = App.android; |
| 191 | return !!(a && (a.foregroundActivity || a.startActivity)); |
| 192 | } catch { |
| 193 | return false; |
| 194 | } |
| 195 | }; |
| 196 | const once = (fn: () => void, timeoutMs = 6000) => { |
| 197 | try { |
| 198 | const a: any = App.android; |
no outgoing calls
no test coverage detected