mirror of https://github.com/logseq/logseq
f4985fd8ef
* feat(audio): render audio link as component * refactor frontend/component/block/inline * fix audio component on mobile * Fix(iOS): allow clock to replay audio * feat(mobile): audio record * add permission request code on record * rename `editor/recording?` to `editor/record-status` * move `get-asset-path` into handler/editor.cljs * add android settings * support sharing audio file from some apps * enhance(record): insert audio link in a new block if non-editing * feat(audio): allow cancelling record * fix lints * feat(iOS): add a tab bar * tweak some css on mobile * fix lints * fix https://github.com/logseq/logseq/issues/4798 * enable tab bar on Android * fix landscape height of tab bar * add :reuse-last-block? option * dont't show tab bar when editing mirror code * tweak code-editor css * increase width for more functional buttons * fix card preview css on iPad * add document-mode to tab bar * remove tabbar when editing code and tweak textarea resize cursor behavior * reduce SplashScreen launch screen duration * don't show tabbar when editing page title * enhance: float timer * fix lint * fix tabbar height on iPhone without notch * remove .embed-page width * fix lint Co-authored-by: Andelf <andelf@gmail.com> |
||
---|---|---|
.. | ||
App | ||
.gitignore | ||
README.md |
README.md
Installation:
- Install Xcode 13 from App Store.
- Install CocoaPods
Note: use the following commands from ios/App directory to fix ffi_c.bundle related issue for M1 MacBook [^1].sudo gem install cocoapods
sudo arch -x86_64 gem install ffi arch -x86_64 pod install
- Run
yarn && yarn app-watch
from the logseq project root directory in terminal. - Open Logseq project in Xcode by running the following command in termimal.
Note: for the first time after a fresh clone.npx cap open ios
- Run
npx cap copy ios
to copy web assets from public to ios/App/App/public, and create capacitor.config.json in ios/App/App. - Run
npx cap update ios
to update iOS plugins. - Add the following code to ios/App/App/capacitor.config.json, and replace
server url
with your local-ip-address:3001 (run ifconfig to check)"server": { "url": "http://your-own-id-address:3001", "cleartext": true}
- Run
- Run logseq
npx cap run ios
[^1] https://github.com/CocoaPods/CocoaPods/issues/10220#issuecomment-730963835