awesome123
Aspiring developer
Profile
Posts: 132
Reg: Dec 27, 2011
location unknow...
2,320
05/02/13 08:10 PM (12 years ago)

Scringo posting activity bug

hey guys, I'm very excited to integrate Scringo but I experienced a bug with the user activity section. everything works fine except when I press the withActionVerb it just goes to the main menu. [ScringoAgent postToFeed:@"just played the cool quiz!" withImage:@"" withDescription:@"Play now!" withSubDesc:@"" withActionVerb:@"Play" withActionId:@"quiz"]; I have coded the clickedfromactivity as follows: -(void)playClickedFromActivity:(NSNotification *)aNotification { NSLog(@"got play button notification with song=%@", [aNotification userInfo]); //flag this as the current screen BT_appDelegate *appDelegate = (BT_appDelegate *)[[UIApplication sharedApplication] delegate]; appDelegate.rootApp.currentScreenData = self.screenData; BT_item *screenObjectToLoad = [appDelegate.rootApp getScreenDataByNickname:@"Trivia"]; [BT_viewControllerManager handleTapToLoadScreen:self.screenData theMenuItemData:nil theScreenData:screenObjectToLoad]; } It only works as expected when i go to the pointed screen first. BUT if another user sees that i played the quiz and clicked the withActionVerb button (without going to the pointed screen first), it will just go to the main menu. I have caught this bug by re-building the program again and clicking the same button. additionally, there is a bug i found that makes the app hang/crash by going to the same withActionVerb button twice (after working for the first time).
 

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.