eggheadgames / android-in-app-payments

Support Android Google Play and Amazon in-app billing (IAP) payments with one API
MIT License
58 stars 14 forks source link

add null check for context #7

Closed Apisov closed 8 years ago

Apisov commented 8 years ago

https://github.com/eggheadgames/android-in-app-payments/issues/5

AlexDibrivnyy commented 8 years ago

Code is clear, readyForUseis good solutions for IAPHelper. As far I understood, you put readyForUse everywhere where context is used. Right?

AlexDibrivnyy commented 8 years ago

@Apisov did you tested it on real device?

Apisov commented 8 years ago

@AlexDibrivnyy No, I didn't do this. It was quick fix after Mike noticed a problem, but we decided do not merge it yet.

AlexDibrivnyy commented 8 years ago

@Apisov clear, then I will reassign it to Mike.

mikemee commented 8 years ago

Thanks @Apisov. Looks like some good preventative checks and a clean solution.