()
| 258 | 'share' in globalThis?.navigator && isMobile(); |
| 259 | |
| 260 | export const shouldUseSocialAuthPopup = (): boolean => { |
| 261 | if (isIOSNative()) { |
| 262 | return false; |
| 263 | } |
| 264 | |
| 265 | if (isBrave() && isMobile()) { |
| 266 | return false; |
| 267 | } |
| 268 | |
| 269 | return true; |
| 270 | }; |
| 271 | |
| 272 | interface BroadcastMessage { |
| 273 | eventKey: string; |
no test coverage detected