-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK doesn't start session on first app launch on iOS #271
Comments
@philipphofmann this is an issue on RN SDK or Flutter SDK? |
It's an issue on both SDKs. |
@philipphofmann interesting, wondering if something has changed on the cocoa sdk, because this has been tested on flutter and RN by @bruno-garcia and @jennmueng as well. |
Nothing really changed on the Cocoa side. I also don't fully understand why this is an issue now, as you tested this on both Flutter and RN. Maybe I'm mistaken, but I opened up these issues yesterday to document what I found. |
I'll give it a try, thx edit: tested it on Android, it worked well. |
the notification |
That's also what I would have guessed. So either we init Cocoa sooner or we somehow push the Flutter like event down to Cocoa. |
Platform:
iOS
The version of the SDK (See pubspec.lock): 4.0.1
I have the following issue:
The sentry-cocoa SDK doesn't start a session on the first launch of the app, because
SentrySessionTracker.didBecomeActive
doesn't fire. If you put the app in the background and open it againdidBecomeActive
fires. I'm not sure if we need to fix this in sentry-cocoa, in sentry-flutter, or both.Steps to reproduce:
Actual result:
The SDK doesn't send a session.
Expected result:
The SDK should send a healthy session.
This is related to getsentry/sentry-react-native#1292
The text was updated successfully, but these errors were encountered: