* Fix: test the session during resume to ensure it's valid * Don't delete sessions for now * Add notifee and request notif permissions on first login * Set unread notifications badge on app icon * Trigger a notifee card on new notifications * Experimental: use react-native-background-fetch to check for notifications * Add missing mocks * Fix to resumeSession()
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
export default {
|
|
requestPermission: jest.fn(),
|
|
onForegroundEvent: jest.fn(),
|
|
setBadgeCount: jest.fn(),
|
|
displayNotification: jest.fn(),
|
|
}
|