wordpress-mobile / WordPress-iOS

WordPress for iOS - Official repository
http://ios.wordpress.org/
GNU General Public License v2.0
3.66k stars 1.11k forks source link

Share: Add share extension support for self-hosted sites #6584

Open rachelmcr opened 7 years ago

rachelmcr commented 7 years ago

Expected behavior

If I use the WordPress app with a self-hosted site, I expect to be able to share to the app when it comes up as a sharing target on my device.

Actual behavior

The share extension was implemented first for WordPress.com/Jetpack sites (see https://github.com/wordpress-mobile/WordPress-iOS/issues/2231 and https://github.com/wordpress-mobile/WordPress-iOS/pull/4928). It is not yet available for self-hosted (non-Jetpack) sites — instead I am prompted to log in to a WordPress.com or Jetpack site.

Screenshot

2017-02-06 13 30 26

Tested on iPhone 6, iOS 10.2.1, WPiOS 6.8
bummytime commented 6 years ago

Added the the app extensions project. https://github.com/wordpress-mobile/WordPress-iOS/pull/8039 should help matters as well.

SiobhyB commented 5 years ago

There was a request for support for self-hosted sites in 1409740-z.

charliescheer commented 5 years ago

1871928-zen another report of a user trying to share to a self hosted no jetpack site.

petty commented 5 years ago

Hi,

Here's a potential workaround -- though definitely not as graceful as using the Sharesheet to directly share to the Wordpress App: use (the new-ish) Shortcuts App (which used to be Workflow); then install this Shortcut:

https://www.icloud.com/shortcuts/a706fccd36a745689c81b500cc6cf4e1

I created that based on a bunch of articles & while it's tailored to my workflow the only customization that someone might want to delete is the custom field called "external_url". I left it in as an example. That said, you could tweak a lot of features within the Shortcut. For example I set many options to "Ask user" for things like publish state & category .... but you could set those to specific options etc.

It still requires ending up in the Wordpress app which can be disruptive (where via Sharesheet, the Sharesheet can confirm publish success ... Shortcuts will require verifying in the app); all-in-all this seems like a small sacrifice if you don't want to install Jetpack.

designsimply commented 5 years ago

I ran into this problem while beta testing WP Internal 12.1.0.20190325 on iPhone 6S iOS 12.2.

Steps to reproduce:

  1. Open the WordPress for iOS app and connect a self-hosted site.
  2. Open Safari or any app you can share from.
  3. Tap the share icon.
  4. Select the WordPress app (12.1+).
  5. Tap “Next” at top right.
  6. Try to find the self-hosted site from step 1.

Result: self-hosted sites are not available to share into.

IMG_2316 IMG_2312 IMG_2313 IMG_2314 IMG_2317 Tested with WP Internal 12.1.0.20190325 on iPhone 6S iOS 12.2 attempting to share from Safari into tasteless-petrel.jurassic.ninja.

(internal reference: p5T066-Nx-p2#comment-2645)

drwpcom commented 5 years ago

Issue also reported in #1921599-zen

designsimply commented 4 years ago

This came up in a 2-star app review by OSCncy – May 1, 2020

So to use the share sheet extension, you need to have a WordPress.com website? What the hell?

WPiOS 14.6. France.

reginabally commented 2 years ago

Requested in 4946059-zd-woothemes.

I set up a self hosted Wordpress blog and wanted to be able to post to that by sharing content from another iOS app to the Wordpress iOS app. Turns out that this doesn’t seem to be possible as the share extension always asks me to log into a Wordpress.com account.

dangermattic commented 2 months ago

Thanks for reporting! 👍