Untangle http:// and wordpress:// deeplinking URLs#11550
Conversation
|
You can test the changes on this Pull Request by downloading the APK here. |
|
Test results: Testing the
|
|
Feel free to merge @maxme after updating from develop to resolve the merge conflict 👍 Edit: merged it after seeing the update happened. |
|
@maxme Tangentially related: Is it possible to send an intent to open a post for editing in the WordPress app? Something on the lines of: At the moment they both just open the post editor for a blank new post in the currently selected site. The reference code starts here: |
|
@adityabhaskar That's a good idea and this would be possible if we changed that code a bit to capture the blog id and then open the editor for this specific site (similar to what is done with the "Share with" feature). |
|
@maxme Should I create a new issue with this and tag you in it? |
|
Yes please! |
Fixes an issue that made
wordpress://URLs non-functional.This was probably introduced in: #9957
Note that I'm not sure why the issue is happening, according to the documentation this should work fine, and other urls like:
http://viewpostshould also work as well (which is an unwanted side effect).Test
Before the patch, run:
The app won't open.
After the patch, run the same command:
The app will open and show the specified post in the reader.
PR submission checklist:
RELEASE-NOTES.txtif necessary.