Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *
Accepted Solution

Debugging Playbook Beta 2.1 In App Purchase (IAP)

Hi,

 

as already mentioned here already I've repackaged our Android App to use it on the Playbook and basically all works. The only problem was that when hitting "Buy" in our app, nothing happened.

 

Now I've successfully created an AppWorld account, added the app, added 2 goods and added a sandbox user with my Blackberry-ID. I was able to download the app from AppWorld using that "tst" / deeplink method. However if I press the "Buy" button in our app, still nothing happens.

 

Also I've now waited 24 hours but the outcome is still the same. Is there a possibility to find out what is going on?

 

Thanks!

Conny

 

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Is there anyone here who can help me with that? Is it even supposed to work yet? Or should I ask somewhere else?

 

Thanks!

Conny

 

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Hi Conny,

 

Do the SKUs in your app (Item IDs) match the SKUs in App World?

Does your application work as expected on Android devices? If so, were any changes done to it when porting to Blackberry?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Hi Garett,

 

thank you very much for your questions. Yes, the Item-IDs match the IDs of the 'goods' in App World. The only difference is that in Google Play we have about 40 items and in App World I've only added 2. But of course I'm trying to buy an item that exists on App World as well.

 

The app (and the purchases) work as expected on Android. There we've published some time ago already and didn't get feedback about not-working purchases. The BAR file was created directly from the APK - the source code was not touched.

 

The product ID on App World is: 117716

 

Thanks!

Conny

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Hi Conny,

 

Thanks for confirming.

 

Could you provide the full OS version running on your PlayBook?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Sure, here it is.

Version: 2.1.0.560

Build-ID: 229027

 

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Thanks!

 

Do you happen to be testing in portrait mode? We may have just found an issue where the prompt does not appear unless the PlayBook is held in landscape.

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Yey, actually the whole app is locked to portrait mode :smileyhappy:

-----------
http://kodira.de
BB Apps: Pattern :: Plonk
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

That would do it. The dev team is already working on a fix. If you would like to log a bug in Issue Tracker (linked in my signature) I can have it track the internal progress so you get notified when fixed.

 

For now you can test if using Landscape mode.

 

Thanks for your help in finding this bug!

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

Re: Debugging Playbook Beta 2.1 In App Purchase (IAP)

Thank you. I've created an issue here: https://www.blackberry.com/jira/browse/TABLET-640

 

BTW, you might consider putting that JIRA on a faster machine. It's almost unusable slow. Also the selection of the required fields made it difficult for me to enter all information.

-----------
http://kodira.de
BB Apps: Pattern :: Plonk