-
-
Couldn't load subscription status.
- Fork 32
feat: session updates along with the event #514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass
sentry-android-core/src/main/java/io/sentry/android/core/ManifestMetadataReader.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second pass. I made it half way this time, it's a long PR
sentry-android-core/src/main/java/io/sentry/android/core/ManifestMetadataReader.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
| cloneSession = session.clone(); | ||
| } | ||
| } | ||
| return cloneSession; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L: We could just return from within the synchronized block and avoid the variable
📢 Type of change
📜 Description
feat: session updates along with the event
💡 Motivation and Context
we'd like to send a session update along with events in a single envelope
💚 How did you test it?
📝 Checklist
🔮 Next steps