You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OneSignalSDK/onesignal/in-app-messages/src/main/java/com/onesignal/inAppMessages/internal/display/impl/WebViewManager.kt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -279,13 +279,14 @@ internal class WebViewManager(
279
279
}
280
280
Logging.debug("In app message, showing first one with height: $newHeight")
281
281
282
-
messageView!!.setWebView(webView!!)
282
+
messageView?.setWebView(webView!!)
283
283
if (newHeight !=null) {
284
284
lastPageHeight = newHeight
285
-
messageView!!.updateHeight(newHeight)
285
+
messageView?.updateHeight(newHeight)
286
286
}
287
-
messageView!!.showView(activity)
288
-
messageView!!.checkIfShouldDismiss()
287
+
// showView does not return until in-app is dismissed
0 commit comments