wordpress-mobile / wordpress-mobile/WordPress-Android

Deeplink: wordpress://stats doesn't redirect to the login flow when logged out

Open
#12,373 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Status] Stale [Type] Enhancement Deeplinks Login
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
  1. Make sure you're not logged in in the app
  2. Click on the wordpress://stats deeplink from outside the app
  3. Notice the toast error: "We cannot open the statistics at the moment. Please try again later."
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.