Comments (5)
Hi @joshkopecek , very strange. If I try to background/foreground the app (CocoaPodsExample in the posthog-ios repo), everything works fine.
How can I reproduce this? Can you show the exact line in posthog where the crash happens? I fixed another bug in the iOS library today and added a few things, so it might be worth upgrading to 1.0.3
as well just in case.
from posthog-ios.
Just tried with v1.0.3. I get a fault with isAdvertisingCapturingEnabled
when returning to foreground (action as above).
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ASIdentifierManager isAdvertisingCapturingEnabled]: unrecognized selector sent to instance 0x2826a7170'
Which is in PHPPostHogIntegration.m
from posthog-ios.
Hi @joshkopecek , thanks for that! I think I found and fixed the bug. Could you test if with 1.0.4 everything works?
from posthog-ios.
@mariusandra yes, that works! Nice work. I haven't got any more crashes, going to push this out in our app now. 🤞
from posthog-ios.
Great! If you have any other issues or feedback, don't hesitate to share them :)
from posthog-ios.
Related Issues (20)
- Enable logs without setup SDK HOT 3
- Batch HTTP 400 HOT 11
- Describing use of required reason API HOT 2
- Unable to see the privacy manifest using SPM HOT 1
- Set `is_testflight` and `is_sideloaded` property HOT 2
- Swift 6 Compatibility and class property warning HOT 13
- MAJOR - Deleting Application Support Directory! HOT 4
- Cannot use posthog in an App Extension using Cocoapods HOT 8
- warning: no rule to process file 'macos/Pods/PostHog/PostHog/Resources/PrivacyInfo.xcprivacy' of type 'text.xml' for architecture 'arm64' (in target 'PostHog' from project 'Pods') HOT 24
- Swift package testing HOT 4
- Codable support HOT 3
- Initializing PostHog in a SwiftUI app results in accent color not being respected
- PHGPostHog.setup(with: configuration) only on Main Thread HOT 2
- PHFileStorage.m crashes HOT 3
- `.identify(register` method broke Xcode cloud UITests
- Crash on notification payload send HOT 1
- Carthage installation not working HOT 7
- `handleActionWithIdentifier` throws if app is open from a notification - cold start HOT 3
- If `kCFBundleNameKey` isn't set, fallback to `CFBundleDisplayName` HOT 1
- `$session_id` support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from posthog-ios.