Skip to content

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

update app

ammarahm-ed2661367baa67
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index f1da6cde4..b564d89f4 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -43,6 +43,7 @@ const App = () => {
}, []);
const loadMainApp = () => {
+ SplashScreen.hide();
db.notes.init().then(() => {
dispatch({type: Actions.NOTES});
dispatch({type: Actions.FAVORITES});
@@ -51,7 +52,7 @@ const App = () => {
SettingsService.setAppLoaded();
});
eSendEvent(eOpenSideMenu);
- SplashScreen.hide();
+
dispatch({type: Actions.ALL});
};
diff --git a/apps/mobile/AppRootEvents.js b/apps/mobile/AppRootEvents.js
index 708c52c14..d0df21474 100644
--- a/apps/mobile/AppRootEvents.js
+++ b/apps/mobile/AppRootEvents.js
@@ -211,6 +211,7 @@ export const AppRootEvents = React.memo(
);
});
} else {
+
subsriptionSuccessListerner = RNIap.purchaseUpdatedListener(
onSuccessfulSubscription,
);
diff --git a/apps/mobile/android/app/proguard-rules.pro b/apps/mobile/android/app/proguard-rules.pro
index ccfd7fb10..8c7821a43 100644
--- a/apps/mobile/android/app/proguard-rules.pro
+++ b/apps/mobile/android/app/proguard-rules.pro
@@ -9,6 +9,7 @@
# Add any project specific keep options here:
+-keep class com.facebook.hermes.unicode.** { *; }
-keep class com.facebook.jni.** { *; }
-keep public class com.horcrux.svg.** {*;}
-keep class com.facebook.crypto.** {
diff --git a/apps/mobile/src/components/Premium/PremiumDialog.js b/apps/mobile/src/components/Premium/PremiumDialog.js
index f2cc9f487..1b3d550a7 100644
--- a/apps/mobile/src/components/Premium/PremiumDialog.js
+++ b/apps/mobile/src/components/Premium/PremiumDialog.js
@@ -50,7 +50,7 @@ class PremiumDialog extends React.Component {
this.setState({
user: u,
});
- await RNIap.initConnection();
+ await RNIap.initConnection();
let prod = await RNIap.getSubscriptions(itemSkus);
this.setState({