Android client (Capacitor) built from the desktop source: how can it talk to the API? #371
mariorafaelaraujo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I'm a Liner user and I built an Android version of the desktop client for my own phone, following the license terms (personal, non-commercial, not distributed).
What I did
Where I'm stuck
Every API request needs the request signature produced by the signer inside the Electron main process. In the Android build there is no
window.linerElectron, so requests go out unsigned and the API answers 403. Login fails with "Could not reach the server".What I'm asking
api.tryliner.fun? For example a mobile-specific key, a different signing scheme, or an allowlisted app id.I'm happy to open a draft PR with the mobile shell and the downloads feature so you can review it. Thank you for the project!
All reactions