()
| 244 | 'share' in globalThis?.navigator && isMobile(); |
| 245 | |
| 246 | export const shouldUseSocialAuthPopup = (): boolean => { |
| 247 | if (isIOSNative()) { |
| 248 | return false; |
| 249 | } |
| 250 | |
| 251 | if (isBrave() && isMobile()) { |
| 252 | return false; |
| 253 | } |
| 254 | |
| 255 | return true; |
| 256 | }; |
| 257 | |
| 258 | interface BroadcastMessage { |
| 259 | eventKey: string; |
no test coverage detected