Notifications registration (#8564)

* Formatting nits

* Debounce push token registration by 100ms

* Comment

* Align handling across native devices

* Clean up

* Simplify

* Use hooks

* Update import

* Comment

* Put app view DIDs in constants

* Clarify comment
This commit is contained in:
Eric Bailey
2025-06-25 21:32:51 -05:00
committed by GitHub
parent bb760400fe
commit 92ffe66ae1
3 changed files with 163 additions and 66 deletions
-1
View File
@@ -3,7 +3,6 @@ import {Platform} from 'react-native'
export const isIOS = Platform.OS === 'ios'
export const isAndroid = Platform.OS === 'android'
export const isNative = isIOS || isAndroid
export const devicePlatform = isIOS ? 'ios' : isAndroid ? 'android' : 'web'
export const isWeb = !isNative
export const isMobileWebMediaQuery = 'only screen and (max-width: 1300px)'
export const isMobileWeb =