title: Substantial delay between in-app purchase of unmanaged item, purchase state change notification
body: <p>I have had an app on the Android marketplace with in-app credit purchase ability for many months now. Our #1 issue is users who successfully complete their unmanaged purchase and are billed, but for whatever reason my client app is not recording it to our servers. This doesn't happen 100% of the time, most purchases are executed successfully, and we have very agressive retry logic if a successful purchase can't be uploaded to the server due to connectivity issues or whatever.</p>
  
  <p>Recently we witnessed a scenario where an in-app purchase of an unmanaged item was made, but the onRequestPurchaseResponse method (defined in the sample code <a href="http://code.google.com/p/marketbilling/source/browse/src/com/example/dungeons/PurchaseObserver.java" rel="nofollow">PurchaseObserver.java</a>, on which our code is based), was not actually called for over 60 seconds. </p>
  
  <p>My suspicion now is that in these cases where successful purchases are not uploaded to our servers, onRequestPurchaseResponse is either never called or the user exits the app before the notification happens because it is so delayed.</p>
  
  <p>I now show a ProgressDialog every time onResume is called after the user returns from the Android Marketplace app, to prevent users from navigating away too quickly and thereby preventing us from recording the purchase. </p>
  
  <p>Can anyone tell me if there are any known bugs involving either delayed or missing notifications from the Android Marketplace app after a successful purchase, and if so, what workarounds you have deployed? </p>