Discussion Forums  >  Uncategorized

Replies: 4    Views: 376

MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
07/31/11 09:35 PM (14 years ago)

Does the Custom Plugin Feature Work

I'm working on integrating In-App purchases for iOS utilizing the Custom Plugin feature, but I'm running into some snags. 1. In Screens and Menus on BuzzTouch there is no selection for custom plugin. Does this mean the feature doesn't work yet? Is there a way to add it to the screens menu so it can be added to an app and allow for content refresh? The only other way I see to implement this is to disable the Report to Cloud and Configuration Data urls to prevent refresh updates. 2. I've created a new custom view controller StoreFrontViewController.h and .m and have placed these in the BT_Plugins directory. I've modified the BT_config.txt with the following: BT_screens:[{itemId:4023F7DA59F7D8CFE3787DB, itemType:BT_screen_plugIn, itemNickname:Store, classFileName:StoreFrontViewController}, {itemNickname:Home, itemId:1D6546FDF6F6B777BE086A1, itemType:BT_screen_customHTML, navBarTitleText:Home, dataURL:http://www.buzztouch.com/appdata/blank.html}] I'm only using 2 screens at the moment for testing. I used the custom plugin model from the documentation. My app builds fine, but I get a screen not found error when I select the Store. Any suggestions? Following is the last two lines from console output: 2011-07-31 21:26:16.847 big10football[23798:207] BT_application: getScreenDataByItemId 4023F7DA59F7D8CFE3787DB 2011-07-31 21:26:16.847 big10football[23798:207] BT_application: screenType is BT_screen_plugIn for screen with nickname: Store and itemId: 4023F7DA59F7D8CFE3787DB
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
07/31/11 10:13 PM (14 years ago)
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
08/01/11 07:05 AM (14 years ago)
@ThomasB: Thanks. I missed that one when I searched. Working through things.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
08/01/11 12:10 PM (14 years ago)
@David: If you can comment on this I'd appreciate it. I've been working through this the past couple of days trying different combinations of JSON. No matter what I do, I end up with a Screen not found? error in the simulator. I've tried the following combinations (plus quite a few more), all with the same results. Help please? Test 1: {itemNickname:Store, itemId:4023F7DA59F7D8CFE3787DB, itemType:BT_screen_plugin, navBarTitleText:Store, hideFromSearch:0, classFileName:TestView}, Test 2: {itemNickname:Store, itemId:4023F7DA59F7D8CFE3787DB, itemType:BT_screen_plugin, navBarTitleText:Store, hideFromSearch:0, classFileName:TestView childItems:[ {itemId:myPlugin, classFileName:TestView, loadScreenWithItemId:myPlugin}]}, Test 3: {itemNickname:Store, itemId:4023F7DA59F7D8CFE3787DB, itemType:BT_screen_plugin, navBarTitleText:Store, hideFromSearch:0, classFileName:TestView childItems:[ {itemId:4023F7DA59F7D8CFE3787DB, classFileName:TestView, loadScreenWithItemId:4023F7DA59F7D8CFE3787DB}]}, Test 4: {itemNickname:Store, itemId:4023F7DA59F7D8CFE3787DB, itemType:BT_screen_plugin, navBarTitleText:Store, hideFromSearch:0, childItems:[ {itemId:myplugin, itemType:BT_screen_plugIn, itemNickname:Store View, classFileName:TestView, loadScreenWithItemId:myplugin}]},
 
Bytewizard
buzztouch Evangelist
Profile
Posts: 32
Reg: Jul 04, 2011
Manila, Philipp...
1,020
like
08/02/11 09:09 AM (14 years ago)
 

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.