Lars Kiesow 5f6c1f57b0 Fix TypeError on Logout
Clicking on “logout”, you get the following TypeError:

```
TypeError: state.user is null
    getUserBookmarksForItem user.js:38
    bookmarks AudioPlayerContainer.vue:45
    VueJS 4
    render AudioPlayerContainer.vue:11
    VueJS 13
    logout user.js:115
    wrappedMutationHandler vuex.esm.js:844
    commitIterator vuex.esm.js:466
    commit vuex.esm.js:465
    _withCommit vuex.esm.js:624
    commit vuex.esm.js:464
    boundCommit vuex.esm.js:409
    _callee$ account.vue:67
    tryCatch pdf_viewer.js:1329
    invoke pdf_viewer.js:1502
    defineIteratorMethods pdf_viewer.js:1372
    Babel 10
    logout account.vue:56
    VueJS 4
    click Btn.vue:65
    VueJS 33
client.js:103
```

This patch fixes the problem by checking for `null` values.
2023-02-11 23:43:20 +01:00
2023-02-09 08:38:50 +11:00
2021-09-01 20:07:11 -05:00
2022-12-03 15:20:27 -06:00
2021-12-04 19:56:29 -06:00
2021-12-23 11:12:16 -07:00
2023-01-14 18:01:12 -06:00
2023-02-11 23:43:20 +01:00
2021-09-01 20:07:11 -05:00
2022-07-27 15:01:30 -05:00
2021-09-01 20:07:11 -05:00
2022-04-11 16:29:19 +02:00
2022-03-20 05:54:56 -05:00
2022-05-05 18:25:32 -05:00
2023-02-08 23:22:54 +01:00
2023-01-30 17:16:12 -06:00
2022-06-11 21:46:20 -05:00

Audiobookshelf Mobile App

Audiobookshelf is a self-hosted audiobook and podcast server.

Android (beta)

Get the Android app on the Google Play Store

iOS (early beta)

Available to beta testers through Test Flight

Join the beta testers and install the iOS app: https://testflight.apple.com/join/wiic7QIW

Join the discussion: https://github.com/advplyr/audiobookshelf-app/discussions/60


Go to the main project repo github.com/advplyr/audiobookshelf or the project site audiobookshelf.org

Join us on discord

Requires an Audiobookshelf server to connect with

Screenshot1

Contributing

This application is built using NuxtJS and Capacitor in order to run on both iOS and Android on the same code base.

Windows Environment Setup for Android

Required Software:

Install the required software with winget

Note: This requires a PowerShell prompt with winget installed. You should be able to copy and paste the code block to install. If you use an elevated PowerShell prompt, UAC will not pop up during the installs.

winget install -e --id Git.Git; `
winget install -e --id Microsoft.VisualStudioCode; `
winget install -e --id  Google.AndroidStudio; `
winget install -e --id OpenJS.NodeJS --version 16.12.0; #v17 has issues with openssl


Your Windows environment should now be set up and ready to proceed!

Mac Environment Setup for Android

Required Software:

Install the required software with homebrew

brew install android-studio node cocoapods

Start working on the Android app

Clone or fork the project from terminal or powershell and cd into the project directory.

Install the required node packages:

npm install
Expand for screenshot


Generate static web app:

npm run generate
Expand for screenshot


Copy web app into native android/ios folders:

npx cap sync
Expand for screenshot


Open Android Studio:

npx cap open android
Expand for screenshot


Start coding!

Mac Environment Setup for iOS

Required Software:

Start working on the iOS app

Clone or fork the project in the terminal and cd into the project directory.

Install the required node packages:

npm install
Expand for screenshot


Generate static web app:

npm run generate
Expand for screenshot


Copy web app into native android/ios folders:

npx cap sync
Expand for screenshot


Open Xcode:

npx cap open ios
Expand for screenshot


Start coding!

S
Description
No description provided
Readme GPL-3.0
111 MiB
Languages
Vue 43.8%
Kotlin 30.7%
Swift 16%
JavaScript 8.1%
CSS 1.1%
Other 0.1%