Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 65

Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
02/17/14 07:27 PM (11 years ago)

Error using BTA Design Menu Plugin - The JSON data for this app is invalid

Could a senior coder look at my test app called FanTest? Im using the awesome BTA Design Menu Plugin and included the code { {"itemId":"99999", "itemType":"BTA_design_menu", "itemNickname":"Design Menu", "navBarTitleText":"Design Menu", "listRowHeightSmallDevice":"50", "listRowHeightLargeDevice":"150", "listTitleHeightSmallDevice":"20", "listTitleHeightLargeDevice":"20", "introtext":"Subline of the design menu"} } but something has gone wrong and the error is "The JSON data for this app is invalid" Thanks everyone Terry Tasmania
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/17/14 08:37 PM (11 years ago)
Why double brackets? I think it should only have one set… { "itemId":"99999", "itemType":"BTA_design_menu", "itemNickname":"Design Menu", "navBarTitleText":"Design Menu", "listRowHeightSmallDevice":"50", "listRowHeightLargeDevice":"150", "listTitleHeightSmallDevice":"20", "listTitleHeightLargeDevice":"20", "introtext":"Subline of the design menu" } Cheers! -- Smug
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
02/18/14 02:05 PM (11 years ago)
Thanks Smug I started again - Now Im getting error: "Property 'rootUser' not found on object of type 'BT_application *'"
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/18/14 07:12 PM (11 years ago)
Delete rootApp. (Delete the dot also!)
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
02/19/14 09:46 AM (11 years ago)
How or where do I delete this file Niraj?
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/19/14 09:27 PM (11 years ago)
Click on the error, it will take you directly to the offending line within the appropriate file. Then delete the text I described.
 
Jennyapps
I hate code!
Profile
Posts: 222
Reg: Jun 12, 2011
Tasmania, Austr...
4,870
like
02/20/14 11:42 AM (11 years ago)
Thanks for your great help :) No errors in xCode - Cheers Terry PS BTW The JSON data was for Android only! I thought I had to include it for iOS (Doh!@)
 

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.