Android fixes for workflow and threading issues.
Receipt is now returned as part of the IAP product information in blueprints
IAP workflow in blueprints now use an IAP request object as opposed to just a string.
Changes to the IOS workflow to accommodate receipts in product responses.
Android game activity has been updated to receive onActivityChanged messages. Needed for routing activity changes to android IAP.
A lot of threading fixes
Fixes for certain google events not calling the appropriate delegates.
Play store license key property added to runtime settings.
[CL 2364717 by Terence Burns in Main branch]
Fixed JavaVM so it is automatically detached from a thread when thread exits (stops VM crash on thread exit ever happening)
Move JavaVM access into the application code.
Add utility Java call-in class to make it easier to use Java objects from C++ side.
Implement GetSystemErrorMessage to aid in debugging.
Expose some internal Android EGL data for use in plugins (i.e. the movie plugin).
Add access to Java AssetManager object.
Change Android OBBs from plain PAKs to uncompressed ZIPs of the staged content to allow both multiple PAKs and to allow non-PAK content. In particular this allow movies to be in the OBB as they need to be directly accessed.
#codereview Josh.Adams, Chris.Babcock
[CL 2362008 by Rene Rivera in Main branch]
- IAP added using the google play billing helper functionality
- App Licensing Key and checking added, but not yet used.
- Changes to Store purchases to allow consumable flags.
- New maps added for android testing, this uses static responses for IAP purchase testing.
A few improvements left
- need licensing working for the query process.
- need testing without static responses. Work with google test responses.
[CL 2345308 by Terence Burns in Main branch]
Changed so that on start up we find the font dir and assign it to a global.
Double checked that 'droidsans' is a safe ttf to default to - it is.
#codereview chris.babcock, nick.atamas
[CL 2290870 by Robert Jones in Main branch]
- Unified some of the hardware survey code to use Set/GetStoredValue() for last survey time
- Added Get/SetStoredValue for IOS (to use NSUserDefaults)
- NOTE: Mobile devices will report very often - settings are per app, and when they are deleted and re-installed, they will report again.
#codereview chris.babcock,ian.thomas
[CL 2267419 by Josh Adams in Main branch]
Second pass
Removed new interface and change implementation to use the Indentify interface
Created Android implementation of the same.
[CL 2239877 by Robert Jones in Main branch]
Initial pass
Adds component for blueprint and interface
Contains Android implementation only.
Everything else is null stubbed out.
Todo: figure out how to deal with failure error codes properly
[CL 2238494 by Robert Jones in Main branch]
On Google Play, this command will reset the achievements of the currently signed in user, and this user must be flagged as tester account in the developer console.
Google only seems to be resetting standard (non-incremental) achievements for some reason.
[CL 2234599 by Ryan Gerleve in Main branch]
Changed the achivement query so that if not connected it will fail right away instead of waiting.
#codereview Ryan.Gerleve
#codereview Chris.Babcock
[CL 2187831 by Daniel Lamb in Main branch]
Don't try to connect() to Google Play before the activity's onCreate() has been called, this was causing a crash/hang.
[CL 2119526 by Ryan Gerleve in Main branch]