Migrate from @react-navigation/native to expo-router navigation hooks across all screens. Add polyfills module and apply LiveKit VideoView optional loading for Expo Go compatibility. Improve background sync to skip when user is not logged in. Enhance fetchUnreadCount to return typed totalUnread and systemUnread values.
9 lines
254 B
TypeScript
9 lines
254 B
TypeScript
if (typeof globalThis.DOMException === 'undefined') {
|
|
(globalThis as any).DOMException = class DOMException extends Error {
|
|
constructor(message?: string, name?: string) {
|
|
super(message);
|
|
this.name = name || 'DOMException';
|
|
}
|
|
};
|
|
}
|