()
| 270 | 'share' in globalThis?.navigator && isMobile(); |
| 271 | |
| 272 | export const shouldUseSocialAuthPopup = (): boolean => { |
| 273 | if (isIOSNative()) { |
| 274 | return false; |
| 275 | } |
| 276 | |
| 277 | if (isBrave() && isMobile()) { |
| 278 | return false; |
| 279 | } |
| 280 | |
| 281 | return true; |
| 282 | }; |
| 283 | |
| 284 | interface BroadcastMessage { |
| 285 | eventKey: string; |
no test coverage detected