User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31 Steps to reproduce: Open Tuenti app. There is a link "Check out our new application" Actual results: Takes you to a screen to download native apps Expected results: Should recognised it's FFOS and not show this
Yes, but chicken and the egg problem; - they can't link to their app in the marketplace until they've passed review, but: - this bug would prevent them from passing the review? So they need to get in the marketplace first to have a place to link to.
All they need to do is submit to get a URL to link to, oh, which they've done. So they can just link to (or put the install code in that page, of theirs): https://marketplace.firefox.com/app/tuenticom/
I don't think that's the right solution here. The pattern we have developed to app developers is the following in the case of a hosted app: If the website detects it's within an app, it should not show anything. Otherwise, if it finds out it is within an app, it should provide it's own app install button to allow the app to be installed using the getSelf function on mozApps. Note - The case where an app developer indicates "come check out our app" is for cases where someone visits a mobile site and the web developer wants the user to install the native app. In our case, that's a use case for using mozApps in a mobile site case.
I've emailed the developer with those recommendations. Thanks Jason.
Fixed in latest app update.