You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When press Home button to make the app in background mode, a bad point excess error happened.
The app stopped in function "- (void)saveActivityUsingTime:(NSString*) pageName". It seems that a bad point excess error happened when "NSData *pageStartDate = [[NSUserDefaults standardUserDefaults] objectForKey: pageName];"
The detail of the error:
call 0x1e96a00 symbol stub for: getpid
PS:
When I add "[UMAgent startTracPage:@"XXX"];", this error dose not appear any more.
Dose the tracPage have to be set?
The text was updated successfully, but these errors were encountered:
It looks like endTracPage gets called even if you never start/end tracking a page. I initially thought that this was not supposed to happen, but when I added code to return in endtracpage - no stats were submitted to the server at all.
So, for version 0.2 - you will have to use startTracPage/endTracPage. I don't know if this is supposed to be required.
I updated the UMSAgent project to set page_name to an empty string instead of nil, and don't seem to be having any problems. Maybe someone at cobub can comment as to whether this fix is a good idea?
After I go through the code , I found the bug is as flow: If you don't call startTracePage, then the local variable "pageName" will be nil. Then endTracePage will use nil pageName to record activity using log. So, temporary solution is to add startTracePage in the viewWillAppear method. And We will fix this bug ASAP.
When press Home button to make the app in background mode, a bad point excess error happened.
The app stopped in function "- (void)saveActivityUsingTime:(NSString*) pageName". It seems that a bad point excess error happened when "NSData *pageStartDate = [[NSUserDefaults standardUserDefaults] objectForKey: pageName];"
The detail of the error:
call 0x1e96a00 symbol stub for: getpid
PS:
When I add "[UMAgent startTracPage:@"XXX"];", this error dose not appear any more.
Dose the tracPage have to be set?
The text was updated successfully, but these errors were encountered: