Closed Bug 950170 Opened 11 years ago Closed 8 years ago

[B2G][E.me] Rotten Tomatoes suggests to download Flixster app from Android store

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 affected)

RESOLVED FIXED
Tracking Status
b2g-v1.3 --- affected

People

(Reporter: sarsenyev, Unassigned)

References

()

Details

(Whiteboard: burirun1.3-1[country-us][contactready])

Attachments

(1 file)

Attached image 2013-12-13-14-33-12.png
Description:
When launching the "Rotten Tomatoes" app from e.me for the first time, a bar pops up with the suggestion to download the Flixster app and navigates to Android store

Repro Steps:
1) Updated Buri to BuildID: 20131213004002
2) Launch the "Rotten tomatoes" app from the e.me 
3) Observe the popped up bar

Actual:
The bar suggests the user download the "Flixster" from Android store

Expected:
No bar appears with downloading suggestion

Device: Buri 1.3 Aurora Moz RIL
BuildID: 20131213004002
Gaia: 888f9df5515a47d2f5806efee77485e05e1e5416
Gecko: dfae9c83bfbc
Version: 28.0a2
Firmware Version: v1.2_20131115

Notes:
Repro frequency: 100%
See attached: screenshot
Component: Gaia::Everything.me → Mobile
Product: Firefox OS → Tech Evangelism
Oddly enough, this app dialog comes from a div called "fbLikePopup" (must be recycling):

<div id="fbLikePopup">
    <div class="close"></div>
    <!--<div class="fb-like" data-send="false" data-…-->
    <img style="width: 50px; margin-top: 30px; margin-left: -25px;" src="http://images.rottentomatoescdn.com/images/mobile/flixlogo.png"></img>
    <div class="instructions" style="margin-top: -53px;"></div>
</div>

Just below that, in an inline script:

// really need to close immediately 
$("#fbLikePopup").show();
_gaq.push(['_trackEvent', 'RT Mobile', 'MSK Mobile_Homepage Popup', 'Shown']);
etc.

$("#fbLikePopup .close").click(function(){
  $("#fbLikePopup").hide();
  _gaq.push(['_trackEvent', 'RT Mobile', 'MSK Mobile_Homepage Popup', 'Dismissed']);
});

It looks like the href that gets clicked for the Install button) is a service that likely directs to the app store or google play:

<a id="mskLink" style="text-decoration: none; float: right; margin-top: -35px; margin-right: 10px;" href="http://ad-x.co.uk/API/click/FLIX284hgkf9DP/525597f7696da">

Suggested fixes: Either detect FxOS on the server side and don't render the fbLikePopUp div, or do it clientside (something like if (!/(mobile;.+firefox/i.test(navigator.userAgent){$("#fbLikePopup").show();}, etc.). 

Ideally there would be some way to detect if the app was launched from... an app and wouldn't appear. :)

One more thing--Fennec and B2G are not redirected to the mobile site when you visit rottentomatoes.com directly, we might want to suggest that.
Whiteboard: burirun1.3-1 → burirun1.3-1[country-us][contactready]
Lisa,

could you contact the developer of Rotten Tomatoes app about this issue? 
Thanks
Flags: needinfo?(adora)
Rotten Tomatoes isn't a Marketplace app, so I don't have any contact info.
Flags: needinfo?(adora)
Oh it's not an app then. I was confused by the description of the QA test. Thanks Lisa.
Blocks: 1033886
fixed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: