title: Restore purchases in In-app Billing (IAB Version 3) android
body: <p>Google has upgraded to IAB3(In App Billing version 3).
  First what a issue in example code.. <code>super.onDestroy()</code> is missed.</p>
  
  <p>I implemented v3 with the help of <a href="http://developer.android.com/google/play/billing/billing_integrate.html" rel="noreferrer">http://developer.android.com/google/play/billing/billing_integrate.html</a></p>
  
  <p>It is tested on phone, does not work in emulator.It stuck in emulator.</p>
  
  <p>My issue is, I did not see the API for restoring transactions. How can I restore purchases with IAB3? Is it <code>mService.getPurchases(apiVersion, packageName, type, continuationToken)</code>. Has anyone tested this?? Does this returns purchased items from locally stored items or does it restore purchased items?
  Uninstalling application does not have <code>continuationToken</code>. Should it be <code>null</code>?</p>
  
  <p>And What about when the purchase state changes??</p>
  
  <p>Please help!</p>
  
  <p>Thanks in advance.</p>
  
  <p><strong>EDIT :</strong></p>
  
  <p>Google has updated the In app billing library and solved the <code>super.onDestroy()</code> issue.
  They have also added some additional features.</p>