Skip to content

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

update ios notesnook

ammarahm-ed7e761833813a
diff --git a/apps/mobile/ios/Notesnook/AppDelegate.m b/apps/mobile/ios/Notesnook/AppDelegate.m
index 3a34a12bb..db0dd62df 100644
--- a/apps/mobile/ios/Notesnook/AppDelegate.m
+++ b/apps/mobile/ios/Notesnook/AppDelegate.m
@@ -45,6 +45,14 @@
#endif
}
+- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity
+ restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler
+{
+ return [RCTLinkingManager application:application
+ continueUserActivity:userActivity
+ restorationHandler:restorationHandler];
+}
+
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
diff --git a/apps/mobile/ios/Notesnook/Info.plist b/apps/mobile/ios/Notesnook/Info.plist
index 3503e905c..2848ec5a4 100644
--- a/apps/mobile/ios/Notesnook/Info.plist
+++ b/apps/mobile/ios/Notesnook/Info.plist
@@ -47,12 +47,19 @@
<string>ShareMedia</string>
</array>
</dict>
- <dict/>
+ <dict>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ </dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
+ <key>LSApplicationQueriesSchemes</key>
+ <array>
+ <string>https</string>
+ </array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
diff --git a/apps/mobile/ios/Notesnook/NotesnookDebug.entitlements b/apps/mobile/ios/Notesnook/NotesnookDebug.entitlements
index 4a7ad6d0e..c85e653fa 100644
--- a/apps/mobile/ios/Notesnook/NotesnookDebug.entitlements
+++ b/apps/mobile/ios/Notesnook/NotesnookDebug.entitlements
@@ -4,6 +4,7 @@
<dict>
<key>com.apple.developer.associated-domains</key>
<array>
+ <string>applinks:app.notesnook.com?mode=developer</string>
<string>applinks:app.notesnook.com</string>
</array>
<key>com.apple.security.application-groups</key>