duccong / marketbilling

Automatically exported from code.google.com/p/marketbilling
0 stars 0 forks source link

Market unable to uninstall an application using in-app billing #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Unable to uninstall an application with in-app billing using Market. The 
uninstall process get to the "please tell us why you removed this item", but 
the application stays installed.

I had a few reports from users about this, but didn't believe it until seeing 
it myself.

1 - Starting position: application with in-app billing installed, an order for 
paid features successfully processed, paid features activated.

2 - Now the order is canceled in Google Checkout, no notificaiton received 
within about an hour.

3 - To facilitate further testing, the application is uninstalled with Market.

4 - While uninstalling, the order cancelation notification comes through, shown 
in the phone's notification bar.

5 - The application is not uninstalled, stays installed on the phone.

6 - After this, repeated attempts to uninstall the application do nothing. 
Market gets to the point where it asks why I removed the application ("don't 
need" / "need space" / "malicious", etc.), but the application stays installed.

Removing with "adb uninstall" worked.

Environment: Motorola Milestone 2.1u1, Market 2.3.6, good WiFi connection (70 
Mbit/s at the router).

This device used to be set up as a test account at some point, but no longer so 
for a few days prior to this test.

Order number: 818650514066933 

Logcat output (nothing useful, really):

I/ActivityManager( 1278): Starting activity: Intent { 
act=android.intent.action.VIEW cmp=com.android.vending/.AssetInfoActivity (has 
extras) }
D/dalvikvm( 1477): GC freed 3609 objects / 197744 bytes in 87ms
I/ActivityManager( 1278): Displayed activity 
com.android.vending/.AssetInfoActivity: 412 ms (total 412 ms)
I/ActivityManager( 1278): Starting activity: Intent { 
act=android.intent.action.VIEW cmp=com.android.vending/.UninstallActivity (has 
extras) }
I/ActivityManager( 1278): Displayed activity 
com.android.vending/.UninstallActivity: 329 ms (total 329 ms)
W/BatteryStatsImpl( 1278): Couldn't get kernel wake lock stats
D/WifiService( 1278): ACTION_BATTERY_CHANGED pluggedType: 2
D/dalvikvm( 1619): GC freed 1747 objects / 85728 bytes in 114ms
D/dalvikvm( 1355): GC freed 4510 objects / 246952 bytes in 130ms
D/OpenSSLSessionImpl( 1355): Freeing OpenSSL session

Original issue reported on code.google.com by kmans...@gmail.com on 29 Apr 2011 at 12:00