Closed Bug 801860 Opened 12 years ago Closed 12 years ago

Uninstall apps with Apps JavaScript API after a refund

Categories

(Marketplace Graveyard :: Payments/Refunds, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
2013-01-24

People

(Reporter: krupa.mozbugs, Assigned: kngo)

References

Details

(Whiteboard: u=dev c=ref p=2)

If the user requests for a refund, we should prompt an uninstall of that app by calling mgmt.getAll() and app.uninstall(). This is particularly important in case of packaged app since we don't want to eat into the user's data plan by making update pings for refunded apps.
How to do this isn't documented too well but we can get help from the apps team. Some info: https://developer.mozilla.org/en-US/docs/Apps/Apps_JavaScript_API
Summary: Uninstall apps by calling mgmt.getAll() and app.uninstall() after a refund → Uninstall apps with Apps JavaScript API after a refund
It's important to note that we have no idea what an uninstall might do. For example, they might lose or find data inaccessible, we don't know.
blocking-basecamp: --- → ?
Priority: -- → P2
Not part of the on-device requirements for ship. Removing nom.
blocking-basecamp: ? → ---
Priority: P2 → P3
Whiteboard: u=dev c=ref p=2
Blocks: 820650
No longer blocks: marketplace-payments, 799668
Assignee: nobody → ngoke
Target Milestone: --- → 2013-01-24
Since, I believe, refunds are now requested through email...when and where do we prompt the client to uninstall the app?
(In reply to Kevin Ngo [:ngoke] from comment #4) > Since, I believe, refunds are now requested through email...when and where > do we prompt the client to uninstall the app? This bug actually should be a WONTFIX now. The uninstall() function can only be accessed by certified apps now (it's now navigator.mozApps.mgmt.uninstall), so marketplace will never be able to fix this on their side anymore. Don't know if there's a client-side solution that's possible here. If there is, we can file a new bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
(In reply to Jason Smith [:jsmith] from comment #5) > (In reply to Kevin Ngo [:ngoke] from comment #4) > > Since, I believe, refunds are now requested through email...when and where > > do we prompt the client to uninstall the app? > > This bug actually should be a WONTFIX now. The uninstall() function can only > be accessed by certified apps now (it's now > navigator.mozApps.mgmt.uninstall) Do you know the bug that changed this behaviour?
(In reply to Chris Van Wiemeersch [:cvan] from comment #6) > (In reply to Jason Smith [:jsmith] from comment #5) > > (In reply to Kevin Ngo [:ngoke] from comment #4) > > > Since, I believe, refunds are now requested through email...when and where > > > do we prompt the client to uninstall the app? > > > > This bug actually should be a WONTFIX now. The uninstall() function can only > > be accessed by certified apps now (it's now > > navigator.mozApps.mgmt.uninstall) > > Do you know the bug that changed this behaviour? bug 820206
(In reply to Jason Smith [:jsmith] from comment #7) > (In reply to Chris Van Wiemeersch [:cvan] from comment #6) > > (In reply to Jason Smith [:jsmith] from comment #5) > > > (In reply to Kevin Ngo [:ngoke] from comment #4) > > > > Since, I believe, refunds are now requested through email...when and where > > > > do we prompt the client to uninstall the app? > > > > > > This bug actually should be a WONTFIX now. The uninstall() function can only > > > be accessed by certified apps now (it's now > > > navigator.mozApps.mgmt.uninstall) > > > > Do you know the bug that changed this behaviour? > > bug 820206 Jason, that bug looks wrong. Can you confirm?
(In reply to Chris Van Wiemeersch [:cvan] from comment #8) > (In reply to Jason Smith [:jsmith] from comment #7) > > (In reply to Chris Van Wiemeersch [:cvan] from comment #6) > > > (In reply to Jason Smith [:jsmith] from comment #5) > > > > (In reply to Kevin Ngo [:ngoke] from comment #4) > > > > > Since, I believe, refunds are now requested through email...when and where > > > > > do we prompt the client to uninstall the app? > > > > > > > > This bug actually should be a WONTFIX now. The uninstall() function can only > > > > be accessed by certified apps now (it's now > > > > navigator.mozApps.mgmt.uninstall) > > > > > > Do you know the bug that changed this behaviour? > > > > bug 820206 > > Jason, that bug looks wrong. Can you confirm? Nope, that's the right bug. You'll be able to confirm that the uninstall method moved to mgmt by looking at the patch with the associated tests.
You need to log in before you can comment on or make changes to this bug.