Wordpress-ios: wordpress:// url scheme calling newpost not working

Created on 20 Jul 2017  ·  8Comments  ·  Source: wordpress-mobile/WordPress-iOS

Expected behavior

Call url wordpress://newpost (with optional parameters) used to work with the iOS app, taking you to the post editor with title and content pre-filled if passed along.

Actual behavior

WordPress app opens, nothing happens.

Steps to reproduce the behavior

Place a call in Safari to wordpress://newpost and click "Open" to open in WordPress, observe you are not delivered to the post editor.

Tested on [device], iOS [version], WPiOS [version]

iPad 2017 and iPhone 7, 10.3.2 and 10.3.3, WPiOS 8.0 (and a few versions before)

[Status] Stale [Type] Discussion

Most helpful comment

Even more context: https://github.com/wordpress-mobile/WordPress-iOS/pull/2369

The reasons behind the removal of this was:

  • Initially @koke designed a sample "exploit" showing the feature wasn't very safe (see link above). This may or may not be true for Aztec (we'd need to spend some time going back to the original exploit).
  • We decided to remove it because the share extension trumps this feature, and it doesn't bring the same security concerns.

My personal opinion is that, since a decision was taken to remove the feature, we should evaluate if this is really necessary before accepting the request to add it back.

I know "necessary" is not a very precise term, but we should try to qualify / quantify it somehow.

All 8 comments

Thanks @ajgraves, we'll be working on this very soon.

@diegoreymendez it looks like you removed this in AppDelegate, do you remember why?

@kwonye for background: PR, issue, and context.

Even more context: https://github.com/wordpress-mobile/WordPress-iOS/pull/2369

The reasons behind the removal of this was:

  • Initially @koke designed a sample "exploit" showing the feature wasn't very safe (see link above). This may or may not be true for Aztec (we'd need to spend some time going back to the original exploit).
  • We decided to remove it because the share extension trumps this feature, and it doesn't bring the same security concerns.

My personal opinion is that, since a decision was taken to remove the feature, we should evaluate if this is really necessary before accepting the request to add it back.

I know "necessary" is not a very precise term, but we should try to qualify / quantify it somehow.

Any solution? It still doesn't work.

@ajgraves, @mklengel - Could you provide us with more information about how you were using this feature?

iOS's built-in share functionality should supersede this feature. It's currently a bit limited (WPiOS is not coming up in Pages.app's share dialog for instance) but we could definitely improve that.

I am using Drafts on my iPad Pro to write some text which goes via the URL scheme wordpress://newpost to WordPress. It's very annoying that this is not working anymore.

Additionally I have a scrolling problem with WordPress (in Safari) on my iPad Pro aka "WordPress Editor Jump Problem", see here:

https://www.makeuseof.com/tag/ipad-pro-app-problem
https://ditchwalk.com/2015/09/08/wordpress-editor-jump-fix

All in all - very frustrating.

This issue has been marked as stale and will be automatically closed. This happened because:

  • It has been inactive for the past year.
  • It isn't in a project or a milestone.
  • It hasn’t been labeled `[Pri] Blocker`, `[Pri] High`, or `good first issue`.

However, discussion is still welcome! If the issue is still valid, please leave a comment with a brief explanation so the issue can be reopened.

Was this page helpful?
0 / 5 - 0 ratings