-
Notifications
You must be signed in to change notification settings - Fork 8
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
Send foreground status to the host application and handle extensible Logcat requests #74
Conversation
jmatsu
commented
Aug 15, 2023
•
edited
Loading
edited
- Send foreground/background events to the host application
- Don't use any lifecycle API from AndroidX but ActivityLifecycleCallback is enough for this use-case.
- Foreground events may be sent before a valid service connection has been established so buffer and flush are required.
- Allow to use a capture id from Logcat request
…l sdk implementation
|
||
while (iterator.hasNext()) { | ||
Map.Entry<String, Bundle> entry = iterator.next(); | ||
invokeAction(entry.getKey(), entry.getValue(), false); |
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.
The current buffer mechanism is relaxed. Enough.
@jmatsu can I begin review this? |
@satsukies Yes, please review the both of this PR and another one. They are related. |
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.
VisibilityLifecycleCallbacks is amazing 👍 LGTM
sdk/src/main/java/com/deploygate/sdk/LogcatInstructionSerializer.java
Outdated
Show resolved
Hide resolved
…er.java Co-authored-by: satsukies <[email protected]>
Thank you for your reviews. |