Commit Graph

40 Commits

Author SHA1 Message Date
Aman Harwara
981d8a7497 feat: handle android back button on android (#1656) 2022-09-28 12:12:55 +05:30
Aman Harwara
6d5ebdeaa1 fix: export/sharing notes on mobile webview (#1644) 2022-09-27 12:24:44 +05:30
Aman Harwara
8614a638a4 fix(mobile): hide drawer on new mobile experience (#1642) 2022-09-25 21:04:04 +05:30
Mo
789a78bda3 fix(mobile): accurate version number 2022-09-24 11:58:29 -05:00
Mo
4d5429cc89 fix(mobile): adjust status bar color to match current theme (#1624)
* feat: sync page theme color metadata with active theme bg

* fix: lint

* refactor: extract to method

* feat: recieve theme scheme change on mobile

* fix: handle issue where status bar color changes when keyboard appears on iOS

* fix: disable bouncing on web view
2022-09-23 13:48:51 -05:00
Mo
76ec8b0f90 refactor: new mobile experience opt in flow (#1616)
* refactor: new mobile experience opt in flow

* chore: lint
2022-09-22 11:20:26 -05:00
Aman Harwara
8fa566336c fix: iOS safe area using CSS (#1610) 2022-09-22 00:22:11 +05:30
Aman Harwara
1ae64dcac4 fix: iOS webview window size and padding (#1605) 2022-09-21 19:58:46 +05:30
Mo
c5e225d335 fix: move wrapped storage to unwrapped if not encrypted (#1603) 2022-09-20 12:18:00 -05:00
Mo
c4d7761496 feat: mobile web bridge (#1597) 2022-09-19 14:47:15 -05:00
Aman Harwara
85c90e07fc feat: add settings to fully switch between native/webview (#1587) 2022-09-17 02:52:38 +05:30
Mo
0c3c98d7af refactor(mobile): default to web frame if isDev (#1586)
* refactor(mobile): default to web frame if isDev

* fix: ignore native challenges

* fix: use contentInset for padding
2022-09-16 12:44:06 -05:00
Aman Harwara
3a15142940 fix: biometrics input on mobile webview challenge modal (#1572) 2022-09-15 23:41:03 +05:30
Vardan Hakobyan
d7aca2c13a feat: mobile security prefs (#1496)
* feat: move mobile-specific security items to Web when rendered in WebView

* feat: better UI for biometrics section

* feat: move Multitasking Privacy section to WebView (mostly UI)

* feat: move Multitasking Privacy section to WebView (going to understand why in WebView multitasking privacy value is auto-changed after reopening the WebView)

* feat: store MultitaskingPrivacy value as "NonWrapped" so that it's the same both on mobile and WebView

* feat: open WebView correctly when "Storage Encryption" is disabled on mobile

* fix: remove unnecessary changes and comments

* chore: revert ios-related unneeded changes

* fix: let Android to correctly recognize the NativeMobileWeb environment when opening WebView on Android

* fix: correct styles for the selected state of Biometrics/Passcode options

* chore: code cleanup

* fix: store Multitasking/Screenshot Privacy in the `Default` storage value mode

* chore: remove comment

* fix: use application's method instead of directly updating Screenshot Privacy preference

* fix: remove unused variable

* fix: use methods from Application and MobileDeviceInterface in all places, remove duplicate code

* fix: hide Multitasking Privacy and Biometrics Lock in WebView

Co-authored-by: Aman Harwara
2022-09-14 13:07:10 +04:00
Aman Harwara
320fc3fd96 feat(mobile): add setting to always open web view on launch (#1500) 2022-09-09 13:32:23 +05:30
Vardan Hakobyan
461ebc2768 fix: let Android to correctly recognize the NativeMobileWeb environment when opening WebView on Android (#1503) 2022-09-09 01:15:32 +05:30
Karol Sójko
0825cedfbe fix(mobile): replace component viewer usage with interface 2022-08-05 14:54:04 +02:00
Karol Sójko
3ce621e24c fix(mobile): imports only from snjs 2022-08-05 13:22:21 +02:00
Karol Sójko
183f68c9c1 fix(files): filepicker circular dependency 2022-08-04 17:32:49 +02:00
Mo
2448672a61 chore: fix mobile lint 2022-07-07 13:54:26 -05:00
Mo
9a3cdfbc1a chore: mobile web bridge concept (#1228) 2022-07-07 11:55:07 -05:00
Karol Sójko
d38071168a fix: deps on weba and mobile 2022-07-06 14:18:36 +02:00
Karol Sójko
f4cde8f752 fix: mobile metro config for files and services 2022-07-05 21:06:06 +02:00
Karol Sójko
e5771fcbde feat: add @standardnotes/encryption package (#1199)
* feat: add @standardnotes/encryption package

* fix: mobile dependency on encryption package

* fix: order of build & lint in pr workflows

* fix: web dependency on encryption package

* fix: remove encryption package composite configuration

* fix: import order
2022-07-05 10:06:03 +02:00
Vardan Hakobyan
4f5d092f89 feat(dev): option to render web app inside the mobile app (#1164)
* feat (WIP): render web app inside the mobile app

* fix: web app loading

* chore: build scripts related to mobile web bundle

* feat: show WebView header, which lets to close the WebView

* refactor: remove extra component

* chore: correct type

* chore: remove TODO

Co-authored-by: Mo <mo@standardnotes.com>
2022-06-30 13:53:29 +04:00
Mo
d198625cfa fix(mobile): turn native textview into uncontrolled component (#1176)
Switching from non-plain type to plain type renders initial state.text, which wasn't being properly updated on all changes.
2022-06-28 12:45:57 -05:00
Mo
e83452785c fix(mobile): force redownload of themes if unable to parse first time (#1150) 2022-06-24 07:37:49 -05:00
Mo
4db63e3a63 fix(mobile): enable workspaces (#1139) 2022-06-22 11:52:32 -05:00
Vardan Hakobyan
0608203db5 fix: restore top border of "Manage Sessions" row (#1134) 2022-06-22 07:19:09 -05:00
Mo
112ef2a2c8 fix(mobile): workspaces keychain 2022-06-22 07:15:37 -05:00
Vardan Hakobyan
b25919099f fix: use a specific feature flag for workspace (#1133) 2022-06-22 00:38:40 +04:00
Vardan Hakobyan
3b4797c243 fix: mobile workspace related fixes (#1130)
* feat: put workspaces under unfinished features flag

* fix: mention that signing out will quit the app

* fix: put more affected places under features flag
2022-06-22 00:06:08 +04:00
Vardan Hakobyan
7d60dfee73 feat: mobile workspaces (#1093) 2022-06-21 06:42:43 -05:00
Mo
ea37bbe53f fix(mobile): white screen issue with switching notes on iPad 2022-06-18 10:43:41 -05:00
Mo
12a2369d17 refactor: mobile components (#1113)
* fix(mobile): freeze web-server assets to zips for mobile 3.23.3

Mobile 3.23.3 fetches components zips from the web-server cdn. This however causes upgraded cdn versions to fail when downloading from older mobile versions. This commit instead fetches versioned zips from an external cdn based on the static version of the app requesting the asset.

Since web-server is no longer needed as a cdn, we will temporarily freeze its zip assets to those that would be requested by Mobile 3.23.3, and commit them to source control so they remain unchanged.

web-server/public/components/assets will remain as-is (dynamically copied during build time of server), and not commited to source control. This cdn directory is only used by the web app.

* chore: disable commitlint length rule

* chore: clear git cache

* refactor: use package name from package file
2022-06-17 16:12:12 -05:00
Mo
c4642ceb99 fix(mobile): use package version directly 2022-06-16 13:30:07 -05:00
Mo
dc10a5cb25 refactor: rely on component versions from checksums file (#1111) 2022-06-16 11:56:32 -05:00
Mo
566f6e1432 refactor: components cdn (#1110)
* refactor(wip): separate components files into zips and assets dir

* refactor(wip): use new components package and cdn in mobile

* chore: add components to metro config

* chore: bump snjs with new web assets path

* refactor: exclude package.json files recursively from being copied into components dist folder to avoid conflicts with react native duplicates
2022-06-15 16:00:23 -05:00
Mo
4df06c1d1a fix: icons package 2022-06-09 22:38:38 -05:00
Mo
8248a38280 feat: mobile app package (#1075) 2022-06-09 09:45:15 -05:00