YodasWs / incremental-game

A basic incremental game to be enjoyed on any device, computer, tablet, or smartphone.
http://yodasws.github.io/incremental-game/
Other
2 stars 0 forks source link

Add In-app Purchases #49

Open YodasWs opened 9 years ago

YodasWs commented 9 years ago

Add in-app purchases to Android app.

YodasWs commented 9 years ago

Found a loan error log statement:

[20-May-2015 03:15:23 America/New_York]
Message: Uncaught ReferenceError: inappbilling is not defined;
http://yodasws.github.io/incremental-game/www/js/android.js line 32; browser: Android

The above is from the Android browser, not the Android app, but a problem to correct nonetheless.

YodasWs commented 9 years ago

That error will go away by testing for ´window.inappbilling´ instead of simply ´inappbilling´.

The real worrisome bit is that I just this evening discovered a typo where the items are merged... 아이고...

YodasWs commented 9 years ago

InAppBilling successfully loads and is initialized and then loads zero items! Why zero?

The AndroidInAppBilling documentation suggests that I need to do server-side verification, but without a link to Google's documentation nor any examples/documentation on its returned data.

Am I required to do some verification before I can obtain product information?

YodasWs commented 9 years ago

I have no idea why this isn't working... inappbilling initializes successfully and loads an empty list of products... _What am I missing?_

YodasWs commented 9 years ago

I've opened a new issue over on the plugin's GitHub repo.