Make WordPress Core

Opened 9 years ago

Closed 6 years ago

#33195 closed enhancement (invalid)

Press This: Enable mobile web app view

Reported by: kraftbj's profile kraftbj Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2
Component: Press This Keywords:
Focuses: Cc:

Description

Android and iOS allow meta tags to be used to activate various features to allow web apps to mimic native mobile apps.

Ref: https://developer.chrome.com/multidevice/android/installtohomescreen
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html

What features should we add to Core to make the Press This mobile experience better?

Attachments (1)

33195.diff (1.2 KB) - added by kraftbj 9 years ago.
1st pass

Download all attachments as: .zip

Change History (5)

@kraftbj
9 years ago

1st pass

#1 @kraftbj
9 years ago

33195.diff is a first pass at this.

I set it up as an array to make it easier to filter. The foreach loop can probably just be replaced with echo implode( "\n", $web_app_meta );. Not really sure if there's a preference per Core for either method.

These meta tags are currently in the wild in the Press This Extended plugin.

Last edited 9 years ago by kraftbj (previous) (diff)

#2 @kraftbj
9 years ago

Chat regarding supporting startup/loading image on iOS:
https://wordpress.slack.com/archives/core-pressthis/p1438273255000018

tl;dr - to support all iOS devices, we'd need 10 different images, which could be hosted on w.org to avoid bloating the download package.

Version 0, edited 9 years ago by kraftbj (next)

#3 @michaelarestad
8 years ago

to support all iOS devices, we'd need 10 different images, which could be hosted on w.org to avoid bloating the download package. Fine to compromise and only support the more modern devices.

I don't think it would be super hard to do all 10 if needed, but I agree that we should start small and support the more modern devices.

#4 @kraftbj
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

With PT being moved to a plugin, this issue is moving to https://github.com/WordPress/press-this/issues/2

Note: See TracTickets for help on using tickets.