···22import React, {useState, useEffect} from 'react'
33import 'lib/sentry' // must be relatively on top
44import {withSentry} from 'lib/sentry'
55-import {Linking} from 'react-native'
65import {RootSiblingParent} from 'react-native-root-siblings'
76import * as SplashScreen from 'expo-splash-screen'
87import {GestureHandlerRootView} from 'react-native-gesture-handler'
···1514import * as notifications from 'lib/notifications/notifications'
1615import * as analytics from 'lib/analytics/analytics'
1716import * as Toast from './view/com/util/Toast'
1818-import {handleLink} from './Navigation'
1917import {QueryClientProvider} from '@tanstack/react-query'
2018import {queryClient} from 'lib/react-query'
2119import {TestCtrls} from 'view/com/testing/TestCtrls'
···3432 setRootStore(store)
3533 analytics.init(store)
3634 notifications.init(store)
3737- Linking.getInitialURL().then((url: string | null) => {
3838- if (url) {
3939- handleLink(url)
4040- }
4141- })
4242- Linking.addEventListener('url', ({url}) => {
4343- handleLink(url)
4444- })
4535 store.onSessionDropped(() => {
4636 Toast.show('Sorry! Your session expired. Please log in again.')
4737 })