Open vtodo.crowdersoup.com links in the Android app (App Links) #150
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
CrowderSoup/vTodo!150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "crowdersoup/android-app-links"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes vTodo task #679: links to https://vtodo.crowdersoup.com open the Android app instead of the browser.
Android
autoVerifyhttps intent filter for/,/home/,/my-work/,/board/,/list/,/calendar/,/projects/and/workspaces/. Sign-in, OAuth (/o/), the API and Settings stay in the browser.?task=<id>(the website's task link format) opens that task, but only when the link is for the server the phone is signed in to. Anything else opens the task list.AppLink.ktholds the parsing, with unit tests inAppLinkTest.kt.Server
/.well-known/assetlinks.json(config/app_links.py) is built fromANDROID_APP_LINK_FINGERPRINTS. It returns a 404 while that's unset.config/deploy.ymlsets the fingerprint to the SHA-256 of the release key CI signs with, read from a CI-builtvtodo.apk.Tests
After merge
Install the new CI APK after the deploy. Then run
adb shell pm get-app-links com.crowdersoup.vtodo, which should show the host as verified, and tap a task link from vJournal.