-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor: Prevent Use of Editor from Core-Apps Webviews #263
Labels
Milestone
Comments
timmyc
added
[Feature] Post/Page Editor
The editor for editing posts and pages.
[Type] Task
labels
Nov 20, 2015
I can no longer see My Site in the WPiOS app so I can't reproduce this issue any more. Please re-open if still relevant. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Currently it is possible to launch a webview from within the core apps and navigate to "My Sites" and use the calypso editor. Ideally we should nudge users to not use the editor in this manner, and use the core-app editor instead.
I chatted a bit with @astralbodies about this and he shared the following interesting bits:
wp-iphone
andwp-android
user agents set in the webviews, and react in calypso accordinglyThe last option seems like the most graceful at the moment to me. Perhaps a simple middleware that looks for these user agents that could be applied to editor routes, and if a web-view is detected, display a message saying "Please use your app to perform this action". While directing to the proper in-app action would be nice, it sounds like it isn't 100% possible yet with the un-shared sessions.
The text was updated successfully, but these errors were encountered: