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

Native Development

Reply
Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C
Accepted Solution

Ads free in app purchase

Not sure if this is the correct forums but;

 

I have ads in my app and would like to add a ads free version as an in app purchase how would i accomplish this.

Im need to developing so as simple as possible would be great thanks.

 

Also would this be a C++ function or can it be done in QML

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C

Re: Ads free in app purchase

Still no luck can a device point me in the right direction thanks.

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
Developer
Posts: 887
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha

Re: Ads free in app purchase

Look at the Payment Service sample https://github.com/blackberry/Cascades-Samples/tree/master/paymentservice I don't think I even made any changes to paymentServiceControl.cpp when I added it to my project. Note also that you need to add a line to your main.cpp


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C

Re: Ads free in app purchase

Okay with money payments this looks good. 

So once some pays to remove the ads a new bar is deployed correct 

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality
Developer
Posts: 887
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha

Re: Ads free in app purchase

same .bar file, you would just write the code so that it would no longer show the ads


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 304
Registered: ‎08-14-2012
My Device: PlayBook, Z10, Dev C

Re: Ads free in app purchase

perfect thanks 

BlackBerry 10 game reviews for the unknown, small and indie developers. Little games with big dreams. VeryBerryGames.com | Follow @VeryBerryGames | TwoCasualCoders.com | never casual on quality