Saturday 27 December 2014

How clear Facebook cookies after logging out from facebook in iOS

In Logout callback, include the below code snippet

var client = Titanium.Network.createHTTPClient(); client.clearCookies('https://login.facebook.com');

Reference

Saturday 13 December 2014

Testing IAP/In-App Purchase Subscriptions with Google Play/Android



To test the app auto-renewing subscription product type done the following:
  • Uploaded a draft binary to Google Play but not published it. 
  • Created and published the Subscription product in the developer console. 
  • Added my Google account to the list of test accounts in the developer console 
  • Exported my APK from eclipse (with the same package name and version name/code as the one uploaded to Google Play) 
  • Installed this exported APK on my test device which is logged in with the test account.