-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: persistant in-app messages #269
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
Codecov Report
@@ Coverage Diff @@
## main #269 +/- ##
============================================
+ Coverage 49.76% 50.44% +0.67%
- Complexity 237 249 +12
============================================
Files 108 108
Lines 2781 2809 +28
Branches 364 363 -1
============================================
+ Hits 1384 1417 +33
+ Misses 1282 1275 -7
- Partials 115 117 +2
|
Build available to test |
GistSdk.getUserToken()?.let { userToken -> | ||
addHeader( | ||
NetworkUtilities.USER_TOKEN_HEADER, | ||
Base64.encodeToString(userToken.toByteArray(), Base64.NO_WRAP) |
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.
Can we keep the comment on it for future reference?
@@ -61,6 +62,12 @@ class GistModalActivity : AppCompatActivity(), GistListener, GistViewListener { | |||
} ?: run { | |||
finish() | |||
} | |||
|
|||
// Disable back button for persistent messages |
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.
Might need more clarification here, something like this?
// Disable back button for persistent messages | |
// Add back button to handle in-app message behavior, enabled false with disable back press for persistent messages |
## [3.7.0](3.6.7...3.7.0) (2023-10-25) ### Features * persistant in-app messages ([#269](#269)) ([4fcb781](4fcb781))
Gist returns
304
when there is no change in queue status, in Android/OKhttp until we haveetag
in headers Retrofit doesn't cache and returns the same response. So this adds a workaround where if the response hasn't changed then return the old response for that URL which was returned.This PR has already passed QA testing.