wordpress-mobile / wordpress-mobile/WordPress-Android
Deeplink: wordpress://stats doesn't redirect to the login flow when logged out
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When going through the wordpress://stats deeplink while logged out from the app, I expect to see an option to login — like it already happens with other kinds of deeplinks.
Actual behavior
The app doesn't allow me to log in and it shows an error instead.
Steps to reproduce the behavior
- Make sure you're not logged in in the app
- Click on the
wordpress://statsdeeplink from outside the app - Notice the toast error: "We cannot open the statistics at the moment. Please try again later."
- Notice there was no option to login
Tested on Pixel 3 XL, Android 9, WPAndroid 15.2-rc-1
Note: these steps were originally provided by @guarani in pbMoDN-ET-p2#comment-1206
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Android: log out, open the wordpress://stats deeplink from outside the app, and confirm the error toast. Trace the deeplink handling for the stats destination and compare it with deeplinks that already offer login; done means logged-out users can enter the login flow instead of seeing the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100