#362
- AccountFragment: added purchaseHandler field. The attached activity
should to implement PurchaseHandler interface
- AccountFragment: added upgradeButton initialization to the init method
- AccountLogin, AccountSignup: replaced IAccountTroveboxApi instance
creation with the IAccountTroveboxApiFactory.getApi method call
- MainActivity: now it implements PurchaseHandler
- MainActivity: added PURCHASE_FLOW_REQUEST_CODE constant
- MainActivity: added purchaseController field
- MainActivity: added currentInstance and currentInstanceAccessor static
fields
- MainActivity: added currentInstance and purchaseController
initialization to the onCrate method and disposal to the onDestroy
method
- MainActivity: added processing of PURCHASE_FLOW_REQUEST_CODE to the
onActivityResult method
- MainActivity: added purchaseMonthlySubscription method implementation
- Preferences: added VERIFIED_PAYMENTS_PREFERENCES_NAME constant
- Preferences: added new methods: getVerifiedPaymentsPreferences,
isPurchaseVerified, setPurchaseVerified
- Preferences: added clearing of the verified payment preferences on
logout
- CommonActivity: added onActivityResult method override to track
onActivityResult lifecycle event
- TroveboxResponse.RequestType: added PAYMENT_VERIFICATION enum constant
- FakeAccountTroveboxApi: added verifyPayment method implementation
- IAccountTroveboxApi: added verifyPayment method declaration
- IAccountTroveboxApiFactory: added
- PaymentVerificationResponse: added
- PaymentVerificationResponseUtil: added
- PurchaseController: added
- purcase/util/Base64, Base64DecoderException, IabException, IabHelper,
IabResult, Inventory, Purchase, Security, SkuDetails, StringXORer: added
- ObjectAccessor: added
- TrackerUtils: added trackInAppBillingEvent method
- res/layout/fragment_profile.xml: added upgrade button
- res/values/settings.xml: added application_public_key setting
- res/values/strings.xml: added some in-app billing related constants
- AndroidManfiest.xml: added billing permission

- TestStringXORer: added
Merge pull request #365 from httpdispatch/master

Parent project update