Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CovidShield/mobile
/ functions
Functions
264 in github.com/CovidShield/mobile
⨍
Functions
264
◇
Types & classes
133
↓ 26 callers
Method
get
()
src/shared/Observable.ts:92
↓ 19 callers
Function
captureMessage
(message: string, params: {[key in string]: any} = {})
src/shared/log.ts:1
↓ 16 callers
Method
append
(partial: Partial<T>)
src/shared/Observable.ts:107
↓ 16 callers
Function
captureException
(message: string, error: any, params: {[key in string]: any} = {})
src/shared/log.ts:10
↓ 14 callers
Function
log
android/app/src/main/java/app/covidshield/extensions/LogExtensions.kt:6
↓ 14 callers
Method
set
(value: T)
src/shared/Observable.ts:96
↓ 14 callers
Method
updateExposureStatus
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:177
↓ 10 callers
Method
start
()
src/bridge/ExposureNotification/types.ts:58
↓ 9 callers
Method
observe
(cb: (value: T) => void)
src/shared/Observable.ts:101
↓ 8 callers
Method
getItem
(key: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:64
↓ 8 callers
Function
periodSinceEpoch
(date: Date, hoursPerPeriod: number)
src/shared/date-fns.ts:9
↓ 8 callers
Function
useStorage
()
src/services/StorageService/StorageServiceProvider.tsx:24
↓ 7 callers
Method
apply
(OkHttpClient.Builder builder)
android/app/src/debug/java/app/covidshield/ReactNativeFlipper.java:41
↓ 7 callers
Method
setItem
(key: string, value: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:63
↓ 6 callers
Function
useExposureNotificationService
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:64
↓ 6 callers
Function
withDarkNav
(Component: React.ElementType)
src/navigation/MainNavigator.tsx:20
↓ 5 callers
Function
useExposureStatus
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:91
↓ 5 callers
Function
useSystemStatus
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:75
↓ 4 callers
Function
daysBetween
(date1: Date, date2: Date)
src/shared/date-fns.ts:35
↓ 4 callers
Method
init
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:214
↓ 4 callers
Function
pluralizeKey
(baseKey: string, number: number)
src/shared/pluralization.ts:1
↓ 4 callers
Method
presentLocalNotification
(payload: NotificationPayload)
src/bridge/PushNotification.ts:11
↓ 4 callers
Method
updateSystemStatus
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:137
↓ 4 callers
Function
useStartExposureNotificationService
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:68
↓ 3 callers
Function
createCancellableCallbackPromise
( nonExceptionCallback: () => Promise<T>, callback: Callback<T>, )
src/shared/cancellablePromise.ts:5
↓ 3 callers
Method
detectExposure
(configuration: ExposureConfiguration, diagnosisKeysURLs: string[])
src/bridge/ExposureNotification/types.ts:66
↓ 3 callers
Function
getSystemLocale
()
src/locale/locale.ts:3
↓ 3 callers
Method
remove
()
src/types/react-native-system-setting.d.ts:3
↓ 3 callers
Function
useMaxContentWidth
()
src/shared/useMaxContentWidth.ts:6
↓ 3 callers
Function
useNotificationPermissionStatus
()
src/screens/home/components/NotificationPermissionStatus.tsx:71
↓ 2 callers
Method
add
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:15
↓ 2 callers
Function
addDays
(date: Date, days: number)
src/shared/date-fns.ts:1
↓ 2 callers
Function
blobFetch
(uri: string, method: 'GET' | 'POST', body?: Uint8Array)
src/shared/fetch.ts:1
↓ 2 callers
Method
clear
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:31
↓ 2 callers
Function
convertJsonToMap
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:32
↓ 2 callers
Function
convertMapToJson
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:96
↓ 2 callers
Method
fetchAndSubmitKeys
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:200
↓ 2 callers
Method
getExposureInformation
( summary: ExposureSummary, userExplanation: string /* used only by iOS */, )
src/bridge/ExposureNotification/types.ts:67
↓ 2 callers
Function
getRandomBytes
(size: number)
src/bridge/CovidShield.ts:17
↓ 2 callers
Function
getThemeWithDefault
(region?: Region, mode: 'light' | 'dark' = 'light')
src/shared/theme/ThemeProvider.tsx:22
↓ 2 callers
Method
jsonStringContaining
(obj: E)
src/services/ExposureNotificationService/ExposureNotificationService.spec.ts:43
↓ 2 callers
Function
onError
(error)
src/locale/i18n.ts:17
↓ 2 callers
Method
removeSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:75
↓ 2 callers
Method
reportDiagnosisKeys
(submissionKeyPair: SubmissionKeySet, keys: TemporaryExposureKey[])
src/services/BackendService/types.ts:11
↓ 2 callers
Method
startKeysSubmission
(oneTimeCode: string)
src/services/ExposureNotificationService/ExposureNotificationService.ts:187
↓ 2 callers
Function
startOfDay
(date: Date)
src/shared/date-fns.ts:31
↓ 2 callers
Method
updateExposureStatusInBackground
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:142
↓ 2 callers
Function
useOrientation
()
src/shared/useOrientation.ts:10
↓ 2 callers
Function
useReduceMotionPreference
()
src/shared/useReduceMotionPreference.ts:4
↓ 2 callers
Function
useReportDiagnosis
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:105
↓ 1 callers
Function
ExposureNotificationAdapter
( exposureNotificationAPI: ExposureNotification, )
src/bridge/ExposureNotification/ExposureNotificationAdapter.ios.ts:5
↓ 1 callers
Method
add
(cb: (value: T) => void)
src/shared/Observable.ts:35
↓ 1 callers
Method
addBluetoothListener
(callback: (enabled: boolean) => void)
src/types/react-native-system-setting.d.ts:7
↓ 1 callers
Method
addSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:65
↓ 1 callers
Function
appInit
()
src/App.tsx:43
↓ 1 callers
Method
calculateNeedsSubmission
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:243
↓ 1 callers
Function
callable
()
src/shared/cancellablePromise.ts:10
↓ 1 callers
Method
claimOneTimeCode
(code: string)
src/services/BackendService/types.ts:10
↓ 1 callers
Function
convertArrayToJson
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:117
↓ 1 callers
Function
convertJsonToArray
android/app/src/main/java/app/covidshield/extensions/ReactNativeExtensions.kt:65
↓ 1 callers
Function
daysFromNow
(date: Date)
src/shared/date-fns.ts:13
↓ 1 callers
Method
deactivate
()
src/shared/Observable.ts:15
↓ 1 callers
Method
deactivateSubscription
(sub: Subscription<T>)
src/shared/Observable.ts:56
↓ 1 callers
Function
generateRandomKeys
(numberOfKeys: number)
src/services/BackendService/BackendService.spec.ts:71
↓ 1 callers
Method
getAlternateExposureConfiguration
* If the exposureConfiguration is not available from the server for some reason, * try and use a previously stored configuration, or use the defaul
src/services/ExposureNotificationService/ExposureNotificationService.ts:223
↓ 1 callers
Function
getBackgroundI18n
(forceLocale?: string)
src/locale/i18n.ts:7
↓ 1 callers
Method
getExposureConfiguration
()
src/services/BackendService/types.ts:13
↓ 1 callers
Method
getPendingExposureSummary
()
src/bridge/ExposureNotification/types.ts:72
↓ 1 callers
Method
getRandomBytes
(size: number)
src/bridge/CovidShield.ts:12
↓ 1 callers
Method
getReactNativeHost
()
android/app/src/main/java/app/covidshield/MainApplication.java:68
↓ 1 callers
Method
getStatus
()
src/bridge/ExposureNotification/types.ts:62
↓ 1 callers
Method
getTemporaryExposureKeyHistory
()
src/bridge/ExposureNotification/types.ts:64
↓ 1 callers
Function
hoursFromNow
(date: Date)
src/shared/date-fns.ts:19
↓ 1 callers
Method
initializeFlipper
Loads Flipper in React Native templates. Call this in the onCreate method with something like initializeFlipper(this, getReactNativeHost().getReactIns
android/app/src/main/java/app/covidshield/MainApplication.java:44
↓ 1 callers
Function
inputBorderColor
(string: string, position: number)
src/components/CodeInput.tsx:7
↓ 1 callers
Method
keyClaim
(code: string, keyPair: nacl.BoxKeyPair)
src/services/BackendService/BackendService.ts:107
↓ 1 callers
Method
keysSinceLastFetch
( _lastCheckedPeriod?: number, )
src/services/ExposureNotificationService/ExposureNotificationService.ts:261
↓ 1 callers
Function
launch
android/app/src/main/java/app/covidshield/extensions/PromiseExtensions.kt:8
↓ 1 callers
Function
loadPersistedState
()
src/navigation/DevPersistedNavigationContainer.tsx:44
↓ 1 callers
Function
minutesFromNow
(date: Date)
src/shared/date-fns.ts:25
↓ 1 callers
Method
onPress
()
src/components/TouchableIcon.tsx:13
↓ 1 callers
Method
onReceive
android/app/src/main/java/app/covidshield/receiver/ExposureNotificationBroadcastReceiver.kt:20
↓ 1 callers
Method
performExposureStatusUpdate
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:283
↓ 1 callers
Method
processPendingExposureSummary
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:375
↓ 1 callers
Method
propagate
(value: T)
src/shared/Observable.ts:41
↓ 1 callers
Method
receive
(value: T)
src/shared/Observable.ts:9
↓ 1 callers
Method
recordKeySubmission
()
src/services/ExposureNotificationService/ExposureNotificationService.ts:237
↓ 1 callers
Function
renderSteps
()
src/components/ProgressCircles.tsx:12
↓ 1 callers
Method
retrieve
android/app/src/main/java/app/covidshield/utils/PendingTokenManager.kt:26
↓ 1 callers
Method
retrieveDiagnosisKeys
(period: number)
src/services/BackendService/types.ts:12
↓ 1 callers
Method
setEnabled
(enabled: boolean)
src/testMode/MockProvider.tsx:12
↓ 1 callers
Method
stop
()
src/bridge/ExposureNotification/types.ts:59
↓ 1 callers
Method
toHaveLength
(length: number)
src/services/BackendService/BackendService.spec.ts:51
↓ 1 callers
Function
toJson
android/app/src/main/java/app/covidshield/extensions/GsonExtensions.kt:13
↓ 1 callers
Method
upload
( payload: Uint8Array, nonce: Uint8Array, serverPublicKey: Uint8Array, appPublicKey: Uint8Arra
src/services/BackendService/BackendService.ts:120
↓ 1 callers
Function
useExposureNotificationSystemStatusAutomaticUpdater
()
src/services/ExposureNotificationService/ExposureNotificationServiceProvider.tsx:122
↓ 1 callers
Function
useMock
()
src/testMode/MockProvider.tsx:54
↓ 1 callers
Function
withLightNav
(Component: React.ElementType)
src/navigation/MainNavigator.tsx:41
Function
App
()
src/App.tsx:56
Function
AppProvider
()
src/App.tsx:82
next →
1–100 of 264, ranked by callers