We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent debcbd6 commit 87f0952Copy full SHA for 87f0952
OneSignalSDK/onesignal/src/main/java/com/onesignal/WebViewManager.java
@@ -234,8 +234,12 @@ private void handleActionTaken(JSONObject jsonObject) throws JSONException {
234
}
235
236
boolean close = body.getBoolean("close");
237
- if (close)
+ if (close) {
238
+ if (message != null) {
239
+ OneSignal.getInAppMessageController().onMessageWillDismiss(message);
240
+ }
241
dismissAndAwaitNextMessage(null);
242
243
244
245
private void handlePageChange(JSONObject jsonObject) throws JSONException {
0 commit comments