What is the status of IAP with Unity? With the latest 1.0.0 ODK and Unity-package, I got initially the same behavior as Dreamwriter described at the start of this thread. Then I did all the modifications discussed in this thread, enabled the whole IAP with setting m_enableIAP from OuyaUnityPlugin.java etc.
Now I have the already above mentioned compile error:
--- clip begin ---
Assets\Plugins\Android\src\TestOuyaFacade.java:303: cannot find symbol
symbol : method decryptProductResponse(java.lang.String,byte[])
location: class tv.ouya.console.api.OuyaEncryptionHelper
Assets\Plugins\Android\src\TestOuyaFacade.java:285: requestPurchase(tv.ouya.console.api.Purchasable,tv.ouya.console.api.OuyaResponseListener<tv.ouya.console.api.Product>) in tv.ouya.console.api.OuyaFacade cannot be applied to (tv.ouya.console.api.Purchasable,<anonymous tv.ouya.console.api.CancelIgnoringOuyaResponseListener<java.lang.String>>)
ouyaFacade.requestPurchase(new Purchasable(productId), new CancelIgnoringOuyaResponseListener<String>()
--- clip end ---
In addition, there is no setTestMode in OuyaFacade.
Is the IAP supposed to work out-of-the-box with 1.0.0? How to get it to work from this points?
You need to get the latest Unity package from tgraupmann
The SDK included in the 1.0.0 is still version 0.0.5 something - and the latest update from tgraupmann is 0.0.6.3. Granted, I'm still confused as all hell trying to implement IAPs. I can get my purchases to show up and work in the IAPSample app provided in the ODK, but can not for the life of me get them to work in Unity.
0.0.6.3 is the latest. I documented the IAP last week.. If you subscribe for updates you should see the latest documentation about purchases. I'm trying to simplify the whole thing so you don't need to touch any Java code to make it work.
My next goal is controllers and JNI performance enhancements. After that I'll finish IAP.
I subscribed for the notifications and even got one today, but now as I logged to https://hashbanggamesportal.ontimenow.com (I was able to do that even if I did not get any confirmation about account approval), I couldn't find anything from there. Is that the place to get the packages?
Just a question: wouldn't it be a higher priority to finish the IAP? :) At least, I have the controllers functioning quite nicely with our projects and I wasn't forced to touch Java. Also, performance is quite decent. IAP not working is quite a deal breaker if you try to have your balls in one basket before 28th ...
When you register I get an email and then I send you a link to the updates, documentation, and builds. Did you not see an email from me? If not, PM me your registered name. I could have missed it?
Yeah, I got the link and was able to access the resources, thanks! I just got confused because of the hashbanggamesportal and it showing nothing. My bad!
Yeah, I set them to expire after a month figuring the files would be out of date. Here, I reposted the files from my backup shortly after that in case you need them - I don't remember what exactly I added to OuyaGameObject, so I just posted the whole file (I overwrote those files with the newer Unity ODK package after that)
I was just talking with the OUYA folks about the same thing. It's the color scheme, red on red is not visible on TestMode. I'll get this fixed up in the next update. You can imagine that it says the description, name, and price there...
Comments
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
The SDK included in the 1.0.0 is still version 0.0.5 something - and the latest update from tgraupmann is 0.0.6.3. Granted, I'm still confused as all hell trying to implement IAPs. I can get my purchases to show up and work in the IAPSample app provided in the ODK, but can not for the life of me get them to work in Unity.
My next goal is controllers and JNI performance enhancements. After that I'll finish IAP.
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
Yeah, I set them to expire after a month figuring the files would be out of date. Here, I reposted the files from my backup shortly after that in case you need them - I don't remember what exactly I added to OuyaGameObject, so I just posted the whole file (I overwrote those files with the newer Unity ODK package after that)
Here's my TestOuyaFacade with working IAP from back then: http://pastebin.com/vGntL2Jn
And here's OuyaGameObject: http://pastebin.com/38QRd8st
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
With the new firmware, this is what I'm seeing when I go to buy something:
Note that I haven't copied the new SDK's lib over yet (but I do have IAP working without receipts!)
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].
:P
OUYA Inc | Android Developer
Skype: tgraupmann_prey
http://github.com/ouya/docs
http://github.com/ouya/ouya-sdk-examples
Check out the latest docs for your game engine: [setup] [adobe air] [android] [clickteam fusion] [construct 2] [corona] [libGDX] [game maker] [html5] [marmalade] [monogame] [unity] [unreal]
Use caution when setting [persistent wireless mode].