Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

get initial delivered notifications if any on app launch

ammarahm-edf34ad5e362dd
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index c5d753617..418040ec0 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -20,6 +20,7 @@ import {
eSubscribeEvent,
eUnSubscribeEvent
} from './src/services/EventManager';
+import Notifications from './src/services/Notifications';
import SettingsService from './src/services/SettingsService';
import { Tracker } from './src/utils';
import { db } from './src/utils/DB';
@@ -52,6 +53,7 @@ async function loadDefaultNotes() {
const loadDatabase = async () => {
SplashScreen.hide();
await db.init();
+ Notifications.get();
let requireIntro = await MMKV.getItem('introCompleted');
useSettingStore.getState().setIntroCompleted(requireIntro ? true : false);
loadDefaultNotes();