-
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: support for large in-app messages #456
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 ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #456 +/- ##
============================================
+ Coverage 41.98% 51.78% +9.79%
- Complexity 259 290 +31
============================================
Files 99 96 -3
Lines 2320 2584 +264
Branches 344 355 +11
============================================
+ Hits 974 1338 +364
+ Misses 1247 1138 -109
- Partials 99 108 +9 ☔ View full report in Codecov by Sentry. |
Build available to test |
📏 SDK Binary Size Comparison ReportNo changes detected in SDK binary size ✅ |
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.
Looks good overall. Assuming this has been fully tested in Production environment as well, the changes look good to me.
messaginginapp/src/main/java/io/customer/messaginginapp/gist/GistEnvironment.kt
Outdated
Show resolved
Hide resolved
messaginginapp/src/main/java/io/customer/messaginginapp/gist/presentation/GistView.kt
Show resolved
Hide resolved
...ginginapp/src/main/java/io/customer/messaginginapp/gist/presentation/engine/EngineWebView.kt
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.
This is great!
|
|
|
|
## [4.4.0](4.3.0...4.4.0) (2024-11-13) ### Features * support for large in-app messages ([#456](#456)) ([b8331bf](b8331bf))
|
||
it.webViewClient = object : WebViewClient() { | ||
override fun onPageFinished(view: WebView, url: String?) { | ||
view.loadUrl("javascript:window.parent.postMessage = function(message) {window.${EngineWebViewInterface.JAVASCRIPT_INTERFACE_NAME}.postMessage(JSON.stringify(message))}") |
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.
I think this is what's breaking the bridge
closes: MBL-547: Bug: Large in-app messages not getting delivered
changes:
shownMessageQueueIds
only after dismissal, aligning with how we handle in-app message viewed logs in our middleware today