aptabase-swift
aptabase-swift copied to clipboard
Swift SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps
`uname` returns `x86_64` (or Apple Silicon equivalent) as the device name for Macs. Get the device name in another way for Mac devices. If it fails (it shouldn't AFAIK but...
### Performance issue Sentry.io reports app hanging for over 2000ms when flushSync() is triggered. This code in **aptabseClient.swift** seems to be called on the main thread, and `semaphore.wait()` locks the...
Potential fix for app hang caused by `flushSync()` in **aptabaseClient.swift**. Removed semaphore.wait() and added a variable to pause the timer execution if flush isn't done executing. closes #18
I suggest adding an example how to use it in UIKit - I did it like this: In the main class I initialize aptabase and it just works: ```swift override...
Am seeing one crash after adding this sdk after 4-5 days in my app running on user's device, after ~3k sessions ``` Thread 3: 0 libsystem_pthread.dylib 0x00000001f66040c4 start_wqthread + 0...
Fix for https://github.com/aptabase/aptabase-swift/issues/29. I think it makes sense to provide a `flush()` method that is `async` so I can perform something only after the events have been sent. There is...
While https://github.com/aptabase/aptabase-swift/issues/28 would solve my specific issue, I think it makes sense to provide a `flush()` method that is async so I can perform something only after the events have...
I've observed that the app does not consistently send queued events when it is terminated. Here's a summary of the issue and findings: ### Context We've implemented the app on...