mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-18 04:37:51 +01:00
update package name on ios
This commit is contained in:
@@ -21,7 +21,7 @@ node_modules/warning/.*
|
|||||||
[include]
|
[include]
|
||||||
|
|
||||||
[libs]
|
[libs]
|
||||||
node_modules/react-native/Libraries/react-native/react-native-interface.js
|
node_modules/react-native/interface.js
|
||||||
node_modules/react-native/flow/
|
node_modules/react-native/flow/
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
@@ -36,7 +36,6 @@ module.file_ext=.ios.js
|
|||||||
|
|
||||||
munge_underscores=true
|
munge_underscores=true
|
||||||
|
|
||||||
|
|
||||||
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
|
||||||
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
|
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'
|
||||||
|
|
||||||
|
|||||||
17
apps/mobile/.vscode/launch.json
vendored
17
apps/mobile/.vscode/launch.json
vendored
@@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "node",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Launch Program",
|
|
||||||
"skipFiles": [
|
|
||||||
"<node_internals>/**"
|
|
||||||
],
|
|
||||||
"program": "${workspaceFolder}/start"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
3
apps/mobile/.vscode/settings.json
vendored
3
apps/mobile/.vscode/settings.json
vendored
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"editor.formatOnSave": true
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
//
|
|
||||||
// Use this file to import your target's public headers that you would like to expose to Swift.
|
|
||||||
//
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Workspace
|
|
||||||
version = "1.0">
|
|
||||||
<FileRef
|
|
||||||
location = "self:">
|
|
||||||
</FileRef>
|
|
||||||
</Workspace>
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>PreviewsEnabled</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>IDEDidComputeMac32BitWarning</key>
|
|
||||||
<true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>BuildSystemType</key>
|
|
||||||
<string>Latest</string>
|
|
||||||
<key>PreviewsEnabled</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Ionicons.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Quicksand-Bold.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Quicksand-Light.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Quicksand-Medium.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Quicksand-Regular.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"info" : {
|
|
||||||
"version" : 1,
|
|
||||||
"author" : "xcode"
|
|
||||||
},
|
|
||||||
"data" : [
|
|
||||||
{
|
|
||||||
"idiom" : "universal",
|
|
||||||
"filename" : "Quicksand-SemiBold.ttf"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,6 @@
|
|||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
buildImplicitDependencies = "YES">
|
buildImplicitDependencies = "YES">
|
||||||
<BuildActionEntries>
|
<BuildActionEntries>
|
||||||
|
|
||||||
<BuildActionEntry
|
<BuildActionEntry
|
||||||
buildForTesting = "YES"
|
buildForTesting = "YES"
|
||||||
buildForRunning = "YES"
|
buildForRunning = "YES"
|
||||||
@@ -16,12 +15,11 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
BuildableName = "Notes-tvOS.app"
|
BuildableName = "Notesnook-tvOS.app"
|
||||||
BlueprintName = "Notes-tvOS"
|
BlueprintName = "Notesnook-tvOS"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
|
|
||||||
</BuildActionEntries>
|
</BuildActionEntries>
|
||||||
</BuildAction>
|
</BuildAction>
|
||||||
<TestAction
|
<TestAction
|
||||||
@@ -29,16 +27,15 @@
|
|||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
|
||||||
<Testables>
|
<Testables>
|
||||||
<TestableReference
|
<TestableReference
|
||||||
skipped = "NO">
|
skipped = "NO">
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
|
||||||
BuildableName = "Notes-tvOSTests.xctest"
|
BuildableName = "Notesnook-tvOSTests.xctest"
|
||||||
BlueprintName = "Notes-tvOSTests"
|
BlueprintName = "Notesnook-tvOSTests"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</TestableReference>
|
</TestableReference>
|
||||||
</Testables>
|
</Testables>
|
||||||
@@ -58,9 +55,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
BuildableName = "Notes-tvOS.app"
|
BuildableName = "Notesnook-tvOS.app"
|
||||||
BlueprintName = "Notes-tvOS"
|
BlueprintName = "Notesnook-tvOS"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
@@ -75,9 +72,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
|
||||||
BuildableName = "Notes-tvOS.app"
|
BuildableName = "Notesnook-tvOS.app"
|
||||||
BlueprintName = "Notes-tvOS"
|
BlueprintName = "Notesnook-tvOS"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</ProfileAction>
|
</ProfileAction>
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
buildImplicitDependencies = "YES">
|
buildImplicitDependencies = "YES">
|
||||||
<BuildActionEntries>
|
<BuildActionEntries>
|
||||||
|
|
||||||
<BuildActionEntry
|
<BuildActionEntry
|
||||||
buildForTesting = "YES"
|
buildForTesting = "YES"
|
||||||
buildForRunning = "YES"
|
buildForRunning = "YES"
|
||||||
@@ -16,12 +15,11 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "Notes.app"
|
BuildableName = "Notesnook.app"
|
||||||
BlueprintName = "Notes"
|
BlueprintName = "Notesnook"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildActionEntry>
|
</BuildActionEntry>
|
||||||
|
|
||||||
</BuildActionEntries>
|
</BuildActionEntries>
|
||||||
</BuildAction>
|
</BuildAction>
|
||||||
<TestAction
|
<TestAction
|
||||||
@@ -29,16 +27,15 @@
|
|||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
|
|
||||||
<Testables>
|
<Testables>
|
||||||
<TestableReference
|
<TestableReference
|
||||||
skipped = "NO">
|
skipped = "NO">
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
||||||
BuildableName = "NotesTests.xctest"
|
BuildableName = "NotesnookTests.xctest"
|
||||||
BlueprintName = "NotesTests"
|
BlueprintName = "NotesnookTests"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</TestableReference>
|
</TestableReference>
|
||||||
</Testables>
|
</Testables>
|
||||||
@@ -58,9 +55,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "Notes.app"
|
BuildableName = "Notesnook.app"
|
||||||
BlueprintName = "Notes"
|
BlueprintName = "Notesnook"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
@@ -75,9 +72,9 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
||||||
BuildableName = "Notes.app"
|
BuildableName = "Notesnook.app"
|
||||||
BlueprintName = "Notes"
|
BlueprintName = "Notesnook"
|
||||||
ReferencedContainer = "container:Notes.xcodeproj">
|
ReferencedContainer = "container:Notesnook.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
</ProfileAction>
|
</ProfileAction>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<Workspace
|
<Workspace
|
||||||
version = "1.0">
|
version = "1.0">
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:Notes.xcodeproj">
|
location = "group:Notesnook.xcodeproj">
|
||||||
</FileRef>
|
</FileRef>
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:Pods/Pods.xcodeproj">
|
location = "group:Pods/Pods.xcodeproj">
|
||||||
@@ -1,10 +1,3 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import <React/RCTBridgeDelegate.h>
|
#import <React/RCTBridgeDelegate.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
@@ -1,16 +1,8 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
|
|
||||||
#import <React/RCTBridge.h>
|
#import <React/RCTBridge.h>
|
||||||
#import <React/RCTBundleURLProvider.h>
|
#import <React/RCTBundleURLProvider.h>
|
||||||
#import <React/RCTRootView.h>
|
#import <React/RCTRootView.h>
|
||||||
#import "Orientation.h"
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
#import <FlipperKit/FlipperClient.h>
|
#import <FlipperKit/FlipperClient.h>
|
||||||
@@ -33,17 +25,15 @@ static void InitializeFlipper(UIApplication *application) {
|
|||||||
|
|
||||||
@implementation AppDelegate
|
@implementation AppDelegate
|
||||||
|
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
#if DEBUG
|
|
||||||
InitializeFlipper(application);
|
InitializeFlipper(application);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
||||||
moduleName:@"Notes"
|
moduleName:@"Notesnook"
|
||||||
initialProperties:nil];
|
initialProperties:nil];
|
||||||
|
|
||||||
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
||||||
@@ -65,9 +55,4 @@ static void InitializeFlipper(UIApplication *application) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
|
|
||||||
return [Orientation getOrientation];
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
<nil key="highlightedColor"/>
|
<nil key="highlightedColor"/>
|
||||||
</label>
|
</label>
|
||||||
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Notes" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
|
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Notesnook" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
|
||||||
<rect key="frame" x="20" y="140" width="441" height="43"/>
|
<rect key="frame" x="20" y="140" width="441" height="43"/>
|
||||||
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
|
||||||
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
|
||||||
@@ -1,15 +1,5 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "20x20",
|
|
||||||
"scale" : "2x"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "iphone",
|
|
||||||
"size" : "20x20",
|
|
||||||
"scale" : "3x"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"size" : "29x29",
|
"size" : "29x29",
|
||||||
@@ -39,11 +29,6 @@
|
|||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"size" : "60x60",
|
"size" : "60x60",
|
||||||
"scale" : "3x"
|
"scale" : "3x"
|
||||||
},
|
|
||||||
{
|
|
||||||
"idiom" : "ios-marketing",
|
|
||||||
"size" : "1024x1024",
|
|
||||||
"scale" : "1x"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"info" : {
|
"info" : {
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
<string>Notes</string>
|
<string>Notesnook</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>$(EXECUTABLE_NAME)</string>
|
<string>$(EXECUTABLE_NAME)</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
@@ -1,10 +1,3 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
@@ -1,10 +1,3 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#import <XCTest/XCTest.h>
|
#import <XCTest/XCTest.h>
|
||||||
|
|
||||||
@@ -14,11 +7,11 @@
|
|||||||
#define TIMEOUT_SECONDS 600
|
#define TIMEOUT_SECONDS 600
|
||||||
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
#define TEXT_TO_LOOK_FOR @"Welcome to React"
|
||||||
|
|
||||||
@interface NotesTests : XCTestCase
|
@interface NotesnookTests : XCTestCase
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation NotesTests
|
@implementation NotesnookTests
|
||||||
|
|
||||||
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
||||||
{
|
{
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
platform :ios, '9.0'
|
platform :ios, '9.0'
|
||||||
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
||||||
|
|
||||||
|
|
||||||
def add_flipper_pods!(versions = {})
|
def add_flipper_pods!(versions = {})
|
||||||
versions['Flipper'] ||= '~> 0.33.1'
|
versions['Flipper'] ||= '~> 0.33.1'
|
||||||
versions['DoubleConversion'] ||= '1.1.7'
|
versions['DoubleConversion'] ||= '1.1.7'
|
||||||
@@ -9,11 +8,13 @@ def add_flipper_pods!(versions = {})
|
|||||||
versions['Flipper-Glog'] ||= '0.3.6'
|
versions['Flipper-Glog'] ||= '0.3.6'
|
||||||
versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
|
versions['Flipper-PeerTalk'] ||= '~> 0.0.4'
|
||||||
versions['Flipper-RSocket'] ||= '~> 1.0'
|
versions['Flipper-RSocket'] ||= '~> 1.0'
|
||||||
|
|
||||||
pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
|
pod 'FlipperKit', versions['Flipper'], :configuration => 'Debug'
|
||||||
pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
|
pod 'FlipperKit/FlipperKitLayoutPlugin', versions['Flipper'], :configuration => 'Debug'
|
||||||
pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
|
pod 'FlipperKit/SKIOSNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
|
||||||
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
|
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', versions['Flipper'], :configuration => 'Debug'
|
||||||
pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'
|
pod 'FlipperKit/FlipperKitReactPlugin', versions['Flipper'], :configuration => 'Debug'
|
||||||
|
|
||||||
# List all transitive dependencies for FlipperKit pods
|
# List all transitive dependencies for FlipperKit pods
|
||||||
# to avoid them being linked in Release builds
|
# to avoid them being linked in Release builds
|
||||||
pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
|
pod 'Flipper', versions['Flipper'], :configuration => 'Debug'
|
||||||
@@ -41,26 +42,10 @@ def flipper_post_install(installer)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
file_name = Dir.glob("*.xcodeproj")[0]
|
|
||||||
app_project = Xcodeproj::Project.open(file_name)
|
|
||||||
app_project.native_targets.each do |target|
|
|
||||||
target.build_configurations.each do |config|
|
|
||||||
cflags = config.build_settings['OTHER_CFLAGS'] || '$(inherited) '
|
|
||||||
unless cflags.include? '-DFB_SONARKIT_ENABLED=1'
|
|
||||||
puts 'Adding -DFB_SONARKIT_ENABLED=1 in OTHER_CFLAGS...'
|
|
||||||
cflags << '-DFB_SONARKIT_ENABLED=1'
|
|
||||||
end
|
|
||||||
config.build_settings['OTHER_CFLAGS'] = cflags
|
|
||||||
end
|
|
||||||
app_project.save
|
|
||||||
end
|
|
||||||
installer.pods_project.save
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
target 'Notesnook' do
|
||||||
|
# Pods for Notesnook
|
||||||
target 'Notes' do
|
|
||||||
# Pods for Notes
|
|
||||||
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
|
||||||
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
|
||||||
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
|
||||||
@@ -87,13 +72,13 @@ target 'Notes' do
|
|||||||
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
|
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
|
||||||
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
|
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
|
||||||
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
|
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
|
||||||
pod 'Base64'
|
|
||||||
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
|
||||||
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
|
||||||
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
|
||||||
|
pod 'Base64'
|
||||||
|
|
||||||
|
target 'NotesnookTests' do
|
||||||
target 'NotesTests' do
|
|
||||||
inherit! :complete
|
inherit! :complete
|
||||||
# Pods for testing
|
# Pods for testing
|
||||||
end
|
end
|
||||||
@@ -110,12 +95,11 @@ target 'Notes' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
target 'Notes-tvOS' do
|
target 'Notesnook-tvOS' do
|
||||||
# Pods for Notes-tvOS
|
# Pods for Notesnook-tvOS
|
||||||
|
|
||||||
target 'Notes-tvOSTests' do
|
target 'Notesnook-tvOSTests' do
|
||||||
inherit! :search_paths
|
inherit! :search_paths
|
||||||
# Pods for testing
|
# Pods for testing
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ PODS:
|
|||||||
- Flipper-Folly (~> 2.1)
|
- Flipper-Folly (~> 2.1)
|
||||||
- Flipper-RSocket (~> 1.0)
|
- Flipper-RSocket (~> 1.0)
|
||||||
- Flipper-DoubleConversion (1.1.7)
|
- Flipper-DoubleConversion (1.1.7)
|
||||||
- Flipper-Folly (2.1.1):
|
- Flipper-Folly (2.2.0):
|
||||||
- boost-for-react-native
|
- boost-for-react-native
|
||||||
- CocoaLibEvent (~> 1.0)
|
- CocoaLibEvent (~> 1.0)
|
||||||
- Flipper-DoubleConversion
|
- Flipper-DoubleConversion
|
||||||
@@ -24,8 +24,8 @@ PODS:
|
|||||||
- OpenSSL-Universal (= 1.0.2.19)
|
- OpenSSL-Universal (= 1.0.2.19)
|
||||||
- Flipper-Glog (0.3.6)
|
- Flipper-Glog (0.3.6)
|
||||||
- Flipper-PeerTalk (0.0.4)
|
- Flipper-PeerTalk (0.0.4)
|
||||||
- Flipper-RSocket (1.0.0):
|
- Flipper-RSocket (1.1.0):
|
||||||
- Flipper-Folly (~> 2.0)
|
- Flipper-Folly (~> 2.2)
|
||||||
- FlipperKit (0.33.1):
|
- FlipperKit (0.33.1):
|
||||||
- FlipperKit/Core (= 0.33.1)
|
- FlipperKit/Core (= 0.33.1)
|
||||||
- FlipperKit/Core (0.33.1):
|
- FlipperKit/Core (0.33.1):
|
||||||
@@ -235,7 +235,7 @@ PODS:
|
|||||||
- React-cxxreact (= 0.62.2)
|
- React-cxxreact (= 0.62.2)
|
||||||
- React-jsi (= 0.62.2)
|
- React-jsi (= 0.62.2)
|
||||||
- React-jsinspector (0.62.2)
|
- React-jsinspector (0.62.2)
|
||||||
- react-native-get-random-values (1.3.1):
|
- react-native-get-random-values (1.4.0):
|
||||||
- React
|
- React
|
||||||
- react-native-mmkv-storage (0.2.2):
|
- react-native-mmkv-storage (0.2.2):
|
||||||
- MMKV (= 1.0.24)
|
- MMKV (= 1.0.24)
|
||||||
@@ -246,7 +246,7 @@ PODS:
|
|||||||
- React
|
- React
|
||||||
- react-native-sodium (0.3.6):
|
- react-native-sodium (0.3.6):
|
||||||
- React
|
- React
|
||||||
- react-native-webview (9.1.4):
|
- react-native-webview (9.3.0):
|
||||||
- React
|
- React
|
||||||
- React-RCTActionSheet (0.62.2):
|
- React-RCTActionSheet (0.62.2):
|
||||||
- React-Core/RCTActionSheetHeaders (= 0.62.2)
|
- React-Core/RCTActionSheetHeaders (= 0.62.2)
|
||||||
@@ -309,7 +309,7 @@ PODS:
|
|||||||
- ReactCommon/callinvoker (= 0.62.2)
|
- ReactCommon/callinvoker (= 0.62.2)
|
||||||
- rn-fetch-blob (0.11.2):
|
- rn-fetch-blob (0.11.2):
|
||||||
- React-Core
|
- React-Core
|
||||||
- RNCMaskedView (0.1.9):
|
- RNCMaskedView (0.1.10):
|
||||||
- React
|
- React
|
||||||
- RNGestureHandler (1.6.1):
|
- RNGestureHandler (1.6.1):
|
||||||
- React
|
- React
|
||||||
@@ -317,7 +317,7 @@ PODS:
|
|||||||
- React
|
- React
|
||||||
- RNScreens (1.0.0-alpha.23):
|
- RNScreens (1.0.0-alpha.23):
|
||||||
- React
|
- React
|
||||||
- RNShare (3.0.0):
|
- RNShare (3.3.0):
|
||||||
- React
|
- React
|
||||||
- RNVectorIcons (6.6.0):
|
- RNVectorIcons (6.6.0):
|
||||||
- React
|
- React
|
||||||
@@ -493,10 +493,10 @@ SPEC CHECKSUMS:
|
|||||||
FBReactNativeSpec: 5465d51ccfeecb7faa12f9ae0024f2044ce4044e
|
FBReactNativeSpec: 5465d51ccfeecb7faa12f9ae0024f2044ce4044e
|
||||||
Flipper: 6c1f484f9a88d30ab3e272800d53688439e50f69
|
Flipper: 6c1f484f9a88d30ab3e272800d53688439e50f69
|
||||||
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
|
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
|
||||||
Flipper-Folly: 2de3d03e0acc7064d5e4ed9f730e2f217486f162
|
Flipper-Folly: c12092ea368353b58e992843a990a3225d4533c3
|
||||||
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
|
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
|
||||||
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
|
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
|
||||||
Flipper-RSocket: 1260a31c05c238eabfa9bb8a64e3983049048371
|
Flipper-RSocket: 64e7431a55835eb953b0bf984ef3b90ae9fdddd7
|
||||||
FlipperKit: 6dc9b8f4ef60d9e5ded7f0264db299c91f18832e
|
FlipperKit: 6dc9b8f4ef60d9e5ded7f0264db299c91f18832e
|
||||||
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
|
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
|
||||||
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
|
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
|
||||||
@@ -511,12 +511,12 @@ SPEC CHECKSUMS:
|
|||||||
React-jsi: b6dc94a6a12ff98e8877287a0b7620d365201161
|
React-jsi: b6dc94a6a12ff98e8877287a0b7620d365201161
|
||||||
React-jsiexecutor: 1540d1c01bb493ae3124ed83351b1b6a155db7da
|
React-jsiexecutor: 1540d1c01bb493ae3124ed83351b1b6a155db7da
|
||||||
React-jsinspector: 512e560d0e985d0e8c479a54a4e5c147a9c83493
|
React-jsinspector: 512e560d0e985d0e8c479a54a4e5c147a9c83493
|
||||||
react-native-get-random-values: 148a42f97f2ce180a52d219144e83c278d4fe24b
|
react-native-get-random-values: 2b7500cdb68066aba87cdccd97067c29e16ffe95
|
||||||
react-native-mmkv-storage: 4f85ac485ff25ad5b9f7b3c6cd4c8bb067b1028c
|
react-native-mmkv-storage: 4f85ac485ff25ad5b9f7b3c6cd4c8bb067b1028c
|
||||||
react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628
|
react-native-orientation: f1caf84d65f1a4fd4511a18f2b924e634ad7a628
|
||||||
react-native-safe-area-context: e200d4433aba6b7e60b52da5f37af11f7a0b0392
|
react-native-safe-area-context: e200d4433aba6b7e60b52da5f37af11f7a0b0392
|
||||||
react-native-sodium: c7587732667e1cdb7d0d77c2aa2e98420aad2036
|
react-native-sodium: c7587732667e1cdb7d0d77c2aa2e98420aad2036
|
||||||
react-native-webview: 8315502f9fd22b98c09c9832fd1181ef88c33667
|
react-native-webview: 60d883f994e96a560756c14592552e02a06d604d
|
||||||
React-RCTActionSheet: f41ea8a811aac770e0cc6e0ad6b270c644ea8b7c
|
React-RCTActionSheet: f41ea8a811aac770e0cc6e0ad6b270c644ea8b7c
|
||||||
React-RCTAnimation: 49ab98b1c1ff4445148b72a3d61554138565bad0
|
React-RCTAnimation: 49ab98b1c1ff4445148b72a3d61554138565bad0
|
||||||
React-RCTBlob: a332773f0ebc413a0ce85942a55b064471587a71
|
React-RCTBlob: a332773f0ebc413a0ce85942a55b064471587a71
|
||||||
@@ -528,15 +528,15 @@ SPEC CHECKSUMS:
|
|||||||
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
|
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
|
||||||
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
|
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
|
||||||
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
|
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
|
||||||
RNCMaskedView: 71fc32d971f03b7f03d6ab6b86b730c4ee64f5b6
|
RNCMaskedView: 5a8ec07677aa885546a0d98da336457e2bea557f
|
||||||
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
|
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
|
||||||
RNReanimated: 955cf4068714003d2f1a6e2bae3fb1118f359aff
|
RNReanimated: 955cf4068714003d2f1a6e2bae3fb1118f359aff
|
||||||
RNScreens: f28b48b8345f2f5f39ed6195518291515032a788
|
RNScreens: f28b48b8345f2f5f39ed6195518291515032a788
|
||||||
RNShare: 0e19ddb0bf338b62702ce1d9e001ee14effa68a8
|
RNShare: fea1801315aa8875d6db73a4010b14afcd568765
|
||||||
RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
|
RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
|
||||||
Yoga: 3ebccbdd559724312790e7742142d062476b698e
|
Yoga: 3ebccbdd559724312790e7742142d062476b698e
|
||||||
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
|
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
|
||||||
|
|
||||||
PODFILE CHECKSUM: ca96ecade0cda63d7aca5295946949bb7f418865
|
PODFILE CHECKSUM: 7b2121dc378f8f7f034a9ace2aa830af0dac24f0
|
||||||
|
|
||||||
COCOAPODS: 1.8.4
|
COCOAPODS: 1.8.4
|
||||||
|
|||||||
1
apps/mobile/ios/Web.bundle/loader.html
Executable file
1
apps/mobile/ios/Web.bundle/loader.html
Executable file
@@ -0,0 +1 @@
|
|||||||
|
<a id="progress-bar" href="#"></a>
|
||||||
185
apps/mobile/ios/Web.bundle/site/fonts.css
Normal file
185
apps/mobile/ios/Web.bundle/site/fonts.css
Normal file
@@ -0,0 +1,185 @@
|
|||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Italic'), local('DMSans-Italic'),
|
||||||
|
url(./fonts/DMSans-Italic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Italic'), local('DMSans-Italic'),
|
||||||
|
url(./fonts/DMSans-Italic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
|
||||||
|
url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
|
||||||
|
url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
|
||||||
|
url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
|
||||||
|
url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Regular'), local('DMSans-Regular'),
|
||||||
|
url(./fonts/DMSans-Regular.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Regular'), local('DMSans-Regular'),
|
||||||
|
url(./fonts/DMSans-Regular.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Medium'), local('DMSans-Medium'),
|
||||||
|
url(./fonts/DMSans-Medium.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 500;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Medium'), local('DMSans-Medium'),
|
||||||
|
url(./fonts/DMSans-Medium.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Bold'), local('DMSans-Bold'),
|
||||||
|
url(./fonts/DMSans-Bold.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Sans';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Sans Bold'), local('DMSans-Bold'),
|
||||||
|
url(./fonts/DMSans-Bold.ttf) format('true');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Serif Text';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
|
||||||
|
url(./fonts/DMSerifText-Italic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Serif Text';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
|
||||||
|
url(./fonts/DMSerifText-Italic.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
|
/* latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Serif Text';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
|
||||||
|
url(./fonts/DMSerifText-Regular.ttf) format('truetype');
|
||||||
|
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
|
||||||
|
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||||
|
}
|
||||||
|
/* latin */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'DM Serif Text';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
|
||||||
|
url(./fonts/DMSerifText-Regular.ttf) format('truetype');
|
||||||
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||||
|
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
|
||||||
|
U+FEFF, U+FFFD;
|
||||||
|
}
|
||||||
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-BoldItalic.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-BoldItalic.ttf
Executable file
Binary file not shown.
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Italic.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Italic.ttf
Executable file
Binary file not shown.
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Medium.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Medium.ttf
Executable file
Binary file not shown.
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-MediumItalic.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-MediumItalic.ttf
Executable file
Binary file not shown.
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Regular.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSans-Regular.ttf
Executable file
Binary file not shown.
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSerifText-Italic.ttf
Executable file
BIN
apps/mobile/ios/Web.bundle/site/fonts/DMSerifText-Italic.ttf
Executable file
Binary file not shown.
16568
apps/mobile/ios/Web.bundle/site/index.html
Normal file
16568
apps/mobile/ios/Web.bundle/site/index.html
Normal file
File diff suppressed because one or more lines are too long
16357
apps/mobile/ios/Web.bundle/site/plaineditor.html
Normal file
16357
apps/mobile/ios/Web.bundle/site/plaineditor.html
Normal file
File diff suppressed because one or more lines are too long
@@ -1,9 +0,0 @@
|
|||||||
//
|
|
||||||
// dummy.swift
|
|
||||||
// Notes
|
|
||||||
//
|
|
||||||
// Created by Ammar Ahmed on 1/24/1399 AP.
|
|
||||||
// Copyright © 1399 Facebook. All rights reserved.
|
|
||||||
//
|
|
||||||
|
|
||||||
import Foundation
|
|
||||||
@@ -157,8 +157,8 @@ const SimpleList = ({
|
|||||||
marginTop:
|
marginTop:
|
||||||
Platform.OS == 'ios'
|
Platform.OS == 'ios'
|
||||||
? data[0] && !selectionMode
|
? data[0] && !selectionMode
|
||||||
? 115
|
? 135
|
||||||
: 115 - 60
|
: 135 - 60
|
||||||
: data[0] && !selectionMode
|
: data[0] && !selectionMode
|
||||||
? 155 - insets.top
|
? 155 - insets.top
|
||||||
: 155 - 60 - insets.top,
|
: 155 - 60 - insets.top,
|
||||||
|
|||||||
@@ -151,7 +151,9 @@ const Editor = ({noMenu}) => {
|
|||||||
|
|
||||||
const onCallClear = () => {
|
const onCallClear = () => {
|
||||||
canSave = false;
|
canSave = false;
|
||||||
|
if (editing.currentlyEditing) {
|
||||||
exitEditorAnimation();
|
exitEditorAnimation();
|
||||||
|
}
|
||||||
clearEditor();
|
clearEditor();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -246,12 +248,11 @@ const Editor = ({noMenu}) => {
|
|||||||
const checkIfContentIsSavable = () => {
|
const checkIfContentIsSavable = () => {
|
||||||
if (!canSave) return false;
|
if (!canSave) return false;
|
||||||
if (!title && !content) return false;
|
if (!title && !content) return false;
|
||||||
if (content && content.text.length === 0 && title && title?.length == 0)
|
if (content && content.text.length < 2 && title && title?.length < 2)
|
||||||
return false;
|
return false;
|
||||||
if (!content && title && title.length === 0) return false;
|
if (!content && title && title.length < 2) return false;
|
||||||
if (!title && content.text.length === 0) return false;
|
if (!title && content.text.length < 2) return false;
|
||||||
|
if (title && !content) {
|
||||||
if (!content) {
|
|
||||||
content = {
|
content = {
|
||||||
text: '',
|
text: '',
|
||||||
delta: {ops: []},
|
delta: {ops: []},
|
||||||
@@ -387,7 +388,9 @@ const Editor = ({noMenu}) => {
|
|||||||
id = note.id;
|
id = note.id;
|
||||||
saveCounter = 0;
|
saveCounter = 0;
|
||||||
InfoBarRef.current?.setDateCreated(note.dateCreated);
|
InfoBarRef.current?.setDateCreated(note.dateCreated);
|
||||||
|
|
||||||
content.text = await db.notes.note(id).text();
|
content.text = await db.notes.note(id).text();
|
||||||
|
|
||||||
InfoBarRef.current?.setDateEdited(
|
InfoBarRef.current?.setDateEdited(
|
||||||
note.dateEdited,
|
note.dateEdited,
|
||||||
content.text.split(' ').length,
|
content.text.split(' ').length,
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ export const Home = ({navigation}) => {
|
|||||||
eSendEvent(eScrollEvent, 0);
|
eSendEvent(eScrollEvent, 0);
|
||||||
dispatch({type: ACTIONS.COLORS});
|
dispatch({type: ACTIONS.COLORS});
|
||||||
dispatch({type: ACTIONS.NOTES});
|
dispatch({type: ACTIONS.NOTES});
|
||||||
|
dispatch({type: ACTIONS.PINNED});
|
||||||
}
|
}
|
||||||
}, [isFocused]);
|
}, [isFocused]);
|
||||||
const _renderItem = ({item, index}) => (
|
const _renderItem = ({item, index}) => (
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
Testing to be done
|
|
||||||
0. Do yarn and yarn update then delete all browser caches
|
|
||||||
1. Create a Notebook
|
|
||||||
2. Create 3 Notes
|
|
||||||
3. Favorite them, pin them and lock them from properties/menu
|
|
||||||
4. add tags to them
|
|
||||||
5. Add color tags to them
|
|
||||||
6. Delete one note
|
|
||||||
7. Restore it from trash
|
|
||||||
8. Move a note to the Created notebook
|
|
||||||
9. Move another note a notebook you create inside move dialog
|
|
||||||
10. Move third note to the created notebook
|
|
||||||
11. Create a note and delete it and then permanently delete from trash
|
|
||||||
12. Check all nav tabs by presssing them
|
|
||||||
Reference in New Issue
Block a user