GithubHelp home page GithubHelp logo

at-internet / atinternet-ios-objc-sdk Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 6.0 277 KB

AT Internet mobile analytics solution for iOS

Home Page: http://www.atinternet.com

License: Other

Objective-C 68.54% Swift 31.29% Ruby 0.16%

atinternet-ios-objc-sdk's People

Contributors

bendz avatar nsagnett avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atinternet-ios-objc-sdk's Issues

Rare NSInvalidArgumentException while sending offline hits

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.

setStringParam fails on parseJSONString

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.

App crashes at ATDispatcher dispatch

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.

Incompatibility with App extension

In your pod you are an UIApplication reference. So I can't implement your pod for App extension and tag all View on the App extension. I have this following error.

screen shot 2015-11-19 at 18 14 53

Crash in the debugger

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,

ATInternet IOS SDK 2.2.2 linker error

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.

screen shot 2016-06-20 at 6 12 02 pm

ATInternet_553237_iOS_ObjC_SDK_2.2.2.zip

Thanks for ur help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.