Closed Bug 1181574 Opened 9 years ago Closed 9 years ago

Directly install ACL app when "marketplace-openmobile-acl" activity is called

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

Avenir
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mat, Assigned: kngo)

References

Details

"marketplace-openmobile-acl" activity added in bug 1172510 currently shows the detail page corresponding to the ACL app the client needs and waits for the user to install the app.

There has been some discussions about this behaviour and it was determined that we could directly install the app instead, provided that we add a few checks: a) whether the acl app is already installed b) whether the user already has an app requiring the acl app installed or not.

This does not require a new Marketplace package to be built, everything is done in marketplace code that lives in the iframe.
Depends on: 1181575
Assignee: mpillard → kngo
https://github.com/mozilla/fireplace/commit/430a96fd38d36a80b48bed5cad10843586fe12c9

If the ACL app is already installed, it will do nothing. We do fire a request for the ACL app info but I don't expect the MozActivity will trigger often enough to worry about it. Also not checking whether the  user has an ACL app already. The Web Activity for ACP app installation is not harmful or intrusive in either of these cases. 

Let me know if that reasoning is off.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.