Skip to content

Commit

Permalink
fix: content navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray committed Nov 28, 2024
1 parent be0f466 commit ba763f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

* Mitigated an issue where visibility could have been wrongly assigned if a view was closed while going to background. (Experimental!)
* Fixed a bug where passing the global content callback was not possible.
* Mitigated an issue related to content actions navigation.

## 24.7.5
* ! Minor breaking change ! All active views will now automatically stop when consent for "views" is revoked.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ private boolean contentUrlAction(String url, TransparentActivityConfig config, W
}

Object clyAction = query.get("action");
boolean result = false;
if (clyAction instanceof String) {
Log.d(Countly.TAG, "[TransparentActivity] contentUrlAction, action string:[" + clyAction + "]");
String action = (String) clyAction;
Expand All @@ -217,10 +216,9 @@ private boolean contentUrlAction(String url, TransparentActivityConfig config, W
}
ModuleContent.waitForDelay = 2; // this is indicating that we will wait 1 min after closing the content and before fetching the next one
finish();
return true;
}

return result;
return true;
}

private boolean linkAction(Map<String, Object> query, WebView view) {
Expand Down

0 comments on commit ba763f9

Please sign in to comment.