Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
08/09/13 03:16 PM (12 years ago)

Scringo in iOS hangs app on refresh!

Anyone else seeing this error. Installed Scringo, implementation looks fine, everything works UNTILLLL you hit the refresh button... then it begins.... scringo drawer no longer opens, and soon the entire app freezes up. usually have to quit the simulator to get back to the home screen. Thoughts? € Oh...and I'm using SDK 2.3.2...
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
08/09/13 05:26 PM (12 years ago)
[ScringoAgent startSession:@"YOUR_SCRINGO_APP_ID" locationManager:nil completion:nil]; return YES; } The above code goes in the app delegate at about line 531, right before the //app parsed it's configuration data That should fix it. Tim
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
08/09/13 06:08 PM (12 years ago)
So I've placed it in -(void)configureEnvironmentUsingAppData:(NSString *)appData{ as suggested, but getting the following error now on the 'return YES;' line "Void method 'configureEnvironmentUsingAppData:' should not return a value" ...and this is in addition to having it in "-(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ " up top correct?
 
Uelsimon
Lost but trying
Profile
Posts: 272
Reg: Mar 25, 2012
NYC
4,470
like
08/09/13 06:11 PM (12 years ago)
ok I commented out the //return YES; and now it seems to work. thanks a lot
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
08/09/13 06:13 PM (12 years ago)
The code above is from the Scringo instructions, I just suggested where to put it as the instructions aren't really clear, or they weren't to me. I don't think it should be in that method, probably after it. Not at my computer anymore, on phone so can't see the code. It should be in one place only I believe. The freeze is caused by it being in he wrong place.
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
08/09/13 06:44 PM (12 years ago)
Yeah, that shouldn't be there. Good deal.
 

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.