Changeset View
Changeset View
Standalone View
Standalone View
native/push/push-handler.react.js
Show All 20 Lines | |||||
import type { Dispatch } from 'lib/types/redux-types.js'; | import type { Dispatch } from 'lib/types/redux-types.js'; | ||||
import { type ConnectionInfo } from 'lib/types/socket-types.js'; | import { type ConnectionInfo } from 'lib/types/socket-types.js'; | ||||
import { type ThreadInfo } from 'lib/types/thread-types.js'; | import { type ThreadInfo } from 'lib/types/thread-types.js'; | ||||
import { | import { | ||||
useServerCall, | useServerCall, | ||||
useDispatchActionPromise, | useDispatchActionPromise, | ||||
type DispatchActionPromise, | type DispatchActionPromise, | ||||
} from 'lib/utils/action-utils.js'; | } from 'lib/utils/action-utils.js'; | ||||
import { | |||||
type NotifPermissionAlertInfo, | |||||
recordNotifPermissionAlertActionType, | |||||
} from 'lib/utils/push-alerts.js'; | |||||
import { type NotifPermissionAlertInfo } from './alerts.js'; | |||||
import { | import { | ||||
androidNotificationChannelID, | androidNotificationChannelID, | ||||
handleAndroidMessage, | handleAndroidMessage, | ||||
getCommAndroidNotificationsEventEmitter, | getCommAndroidNotificationsEventEmitter, | ||||
type AndroidForegroundMessage, | type AndroidForegroundMessage, | ||||
CommAndroidNotifications, | CommAndroidNotifications, | ||||
} from './android.js'; | } from './android.js'; | ||||
import { | import { | ||||
Show All 15 Lines | |||||
import { | import { | ||||
addLifecycleListener, | addLifecycleListener, | ||||
getCurrentLifecycleState, | getCurrentLifecycleState, | ||||
} from '../lifecycle/lifecycle.js'; | } from '../lifecycle/lifecycle.js'; | ||||
import { replaceWithThreadActionType } from '../navigation/action-types.js'; | import { replaceWithThreadActionType } from '../navigation/action-types.js'; | ||||
import { activeMessageListSelector } from '../navigation/nav-selectors.js'; | import { activeMessageListSelector } from '../navigation/nav-selectors.js'; | ||||
import { NavContext } from '../navigation/navigation-context.js'; | import { NavContext } from '../navigation/navigation-context.js'; | ||||
import type { RootNavigationProp } from '../navigation/root-navigator.react.js'; | import type { RootNavigationProp } from '../navigation/root-navigator.react.js'; | ||||
import { recordNotifPermissionAlertActionType } from '../redux/action-types.js'; | |||||
import { useSelector } from '../redux/redux-utils.js'; | import { useSelector } from '../redux/redux-utils.js'; | ||||
import { RootContext, type RootContextType } from '../root-context.js'; | import { RootContext, type RootContextType } from '../root-context.js'; | ||||
import type { EventSubscription } from '../types/react-native.js'; | import type { EventSubscription } from '../types/react-native.js'; | ||||
import { type GlobalTheme } from '../types/themes.js'; | import { type GlobalTheme } from '../types/themes.js'; | ||||
LogBox.ignoreLogs([ | LogBox.ignoreLogs([ | ||||
// react-native-in-app-message | // react-native-in-app-message | ||||
'ForceTouchGestureHandler is not available', | 'ForceTouchGestureHandler is not available', | ||||
▲ Show 20 Lines • Show All 544 Lines • Show Last 20 Lines |