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)
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.
Comment 1•12 years ago
|
||
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
Comment 2•12 years ago
|
||
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.
Updated•12 years ago
|
blocking-basecamp: --- → ?
Priority: -- → P2
Comment 3•12 years ago
|
||
Not part of the on-device requirements for ship. Removing nom.
blocking-basecamp: ? → ---
Updated•12 years ago
|
Priority: P2 → P3
Whiteboard: u=dev c=ref p=2
Updated•12 years ago
|
Updated•12 years ago
|
Assignee: nobody → ngoke
Target Milestone: --- → 2013-01-24
Assignee | ||
Comment 4•12 years ago
|
||
Since, I believe, refunds are now requested through email...when and where do we prompt the client to uninstall the app?
Comment 5•12 years ago
|
||
(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
Comment 6•12 years ago
|
||
(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?
Comment 7•12 years ago
|
||
(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
Comment 8•12 years ago
|
||
(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?
Comment 9•12 years ago
|
||
(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.
Description
•