Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 8    Views: 99

Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
11/12/12 12:57 AM (13 years ago)

IAP plugin - having some issues

I'll start by saying that the IAP plugin is amazing - I've been waiting a while for something like this to show up at BT. The actual IAP process works perfectly - the issue I keep encountering is this: My IAP takes the user to a list menu once the transaction is complete - sometimes (it seems to happen randomly) when it loads this menu, it loads it with no back button. When I load the list menu by itself it loads fine, but when it loads after being purchased through the IAP screen the back button randomly disappears AND no nav text is displayed...almost as if it's skipping over the configureBackgroundAndNavBar method any ideas on how to avoid this issue?
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
11/12/12 07:09 AM (13 years ago)
Ive seen the same random issue. I started by adding the 'next' button in the top right and renaming it to back (just incase the real back button didn't appear. Not the best solution, but it stops the user getting trapped in the app with no ability to move back. the only answer is to kill app and reload it Im looking for a finalised solution also
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
11/12/12 11:03 AM (13 years ago)
Yeah I've messaged David and will push this with v2 ( which is the biggest reason I haven't done a update.
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
11/12/12 01:53 PM (13 years ago)
@theMonster will this update include restoring the users in-app purchase?
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/12/12 02:06 PM (13 years ago)
well I pasted this line - [BT_viewUtilities configureBackgroundAndNavBar:self:[self screenData]]; - all over the place in my menu's .m methods and it seemed to fix the problem. A pretty rudimentary fix I'll admit but I guess if it works it works
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/12/12 03:53 PM (13 years ago)
scratch that - it still disappears :/
 
theMonster
Code is Art
Profile
Posts: 435
Reg: Oct 18, 2011
US
8,050
like
11/12/12 04:11 PM (13 years ago)
@mysps yep.
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/14/12 10:56 PM (13 years ago)
I've come across another issue :( If you have multiple IAP's in one app, purchasing one activates all of them. I thought the "Unique ID" field of the control panel was for the purpose of avoiding this but, as far as I can tell, it is called but never actually used in the Easy_in_app_purchase.m file I think I can manage to code them in myself, but I thought you'd like to know
 
Absentia
buzztouch Evangelist
Profile
Posts: 960
Reg: Oct 20, 2011
Alaska
20,600
like
11/14/12 11:29 PM (13 years ago)
Fixed! I realized it has to do with the purchasePageFlag BOOL - making one purchase sets the BOOL to YES and enables every IAP. I made a purchasePageFlag2 and purchasePageFlag3 and now it's working great ...now back to anxiously awaiting an update to fix this slippery back button issue
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.