at-internet / atinternet-ios-objc-sdk Goto Github PK
View Code? Open in Web Editor NEWAT Internet mobile analytics solution for iOS
Home Page: http://www.atinternet.com
License: Other
AT Internet mobile analytics solution for iOS
Home Page: http://www.atinternet.com
License: Other
Call sendImpression
or sendTouch
in selfPromotion
always failure with message Hit could not be parsed and sent : %@", self.hit.url
because url has not been encoded.
It seems to me that option.encode = YES;
is forgotten to be added right behind here
Hello, we're hitting a rare crash on some cases. I haven't been able to reproduce it locally, or to isolate the problem.
The stack is the following:
Fatal Exception: NSInvalidArgumentException
+entityForName: nil is not a legal NSPersistentStoreCoordinator for searching for entity name 'ATStoredOfflineHit'
0 CoreFoundation 0x1939561c0 __exceptionPreprocess
1 libobjc.A.dylib 0x19239055c objc_exception_throw
2 CoreData 0x195c27780 -[NSManagedObjectContext persistentStoreCoordinator]
3 ATTracker 0x10085e2c8 -[ATStorage count] (ATStorage.m:345)
4 ATTracker 0x100862ef0 +[ATSender sendOfflineHits:forceSendOfflineHits:async:] (ATSender.m:395)
5 ATTracker 0x100860c44 -[ATSender sendWithOfflineHits] (ATSender.m:119)
6 ATTracker 0x10084c530 -[ATBuilder main] (ATBuilder.m:394)
7 Foundation 0x19434f8c4 -[__NSOperationInternal _start:]
8 Foundation 0x19441cb00 __NSOQSchedule_f
9 libdispatch.dylib 0x1927e11c0 _dispatch_client_callout
10 libdispatch.dylib 0x1927ef444 _dispatch_queue_serial_drain
11 libdispatch.dylib 0x1927e49a8 _dispatch_queue_invoke
12 libdispatch.dylib 0x1927f138c _dispatch_root_queue_drain
13 libdispatch.dylib 0x1927f10ec _dispatch_worker_thread3
14 libsystem_pthread.dylib 0x1929ea2b8 _pthread_wqthread
15 libsystem_pthread.dylib 0x1929e9da4 start_wqthread
Thanks in advance.
I used a pre compiled library our client sent us and tried versioned compiled form the 2.2.0 and 2.2.2 branch. And always ended up having the same issue.
When i call [ATTracker dispatch] i get the error.
__NSCFConstantString parseJSONString]: unrecognized selector sent to instance
it fails in ATTracker.m in the setStringParam function on the line
if([value parseJSONString] == nil) {
with value in this case being
@"screen"
at that time. Wich originated form a hardcoded string in the setEvent Function in ATScreen. So i guess it is not due to me having some misconfiguration on the code level.
As this error occurs on some basic NS class i guess it is some Library / Linking issue. When the parseJSONString throws instead of returning a nil value.
Can you add carthage support?
When dispatching my ATTracker instance i my app crashes when i call dispatch on my tracker instance.
[self.dispatcher dispatch:(onAppAds)];
in dispatch in ATTracker.m
[[[ATTrackerQueue sharedInstance] queue] addOperation:builder];
in dispatch in ATDispatcher.m
Might that be due to some misconfiguration of my tracker instance? If so some error message would be of benefit. Double checked the documentation, my configuration and my info.plist file, but couldn't find anything.
Thanks in Advance.
In your documentation here and here, I've been told that required
is the default value of storage
.
However, I may be wrong.. but apparently this is not true: ATDefaultConfiguration.plist
We observe a rare crash in 2.0.9: http://crashes.to/s/d3db1315e5e
Crashed: NSOperationQueue 0x16886110 :: NSOperation 0x1839af10 (QOS: LEGACY)
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
CoreFoundation __CFBasicHashAddValue + 536
CoreData _sharedIMPL_setvfk_core + 130
ATStorage.m line 148 -[ATStorage insertHit:mhOlt:]
ATSender.m line 220 __38-[ATSender sendWithCompletionHandler:]_block_invoke
As the documentation states it, the SDK shouldn't set default values for the keys log
, logSSL
, pixelPath
and site
.
Hi,
My app crashes frequently since I use the ATDebugger (SDK 2.2.1).
The crash occurs in ATDebugger::getEventsList: at line 600. I think it is a problem of concurrent access on receivedEvents array because another thread is adding an event (ATDebugger::addEvent:icon: line 184).
Main thread stacktrace:
1 MyApp main + 0,
2 MyApp -[ATDebugger getEventsList:] + 2047,
3 MyApp -[ATDebugger updateEventList] + 100,
4 MyApp -[ATDebugger setViewController:] + 125,
5 MyApp -[ATTracker setDebugger:] + 83,
6 MyApp +[BanqueAccordStats displayDebuggerInViewController:] + 142,
7 MyApp -[GenericViewController viewWillAppear:] + 114,
8 MyApp -[HomeViewController viewWillAppear:] + 69,
Background thread stacktrace:
1 MyApp main + 0,
2 libdispatch.dylib _dispatch_barrier_sync_f_slow + 830,
3 MyApp -[ATDebugger addEvent:icon:] + 269,
4 MyApp -[ATSender sendWithCompletionHandler:]_block_invoke + 1375,
Hi,I have downloaded new SDK 2.2.2 for objective c and found a linker error i have manually updated all files for new version in my current project also updated new functions accordingly,but could not resolve following linker error.
I am attaching compiler error Screen shot and new SDK i am using in my project.
ATInternet_553237_iOS_ObjC_SDK_2.2.2.zip
Thanks for ur help!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.