Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Ads click is not redirecting the user to the correct screen when pressing back from chrome.

38 views
Skip to first unread message

Abhishek Pundir

unread,
May 8, 2025, 11:48:05 AMMay 8
to Google Mobile Ads SDK Developers
Hi Team,
I was having an issue in which when we click on the google ad it takes us to the chrome, but on pressing back from chrome, we are not landing on the same activity screen from where we navigated to the chrome in the first place.
Attaching the build as well as a recording for you to check, along with the demo project link.

Link: (https://github.com/pundirAbhishek/GoogleAdMobIssue/tree/main)

The main reason i found this to be happening is because i am using  android:documentLaunchMode="intoExisting"  in my project which i want to open multiple windows.
If i remove this configuration and then run teh exact workflow then it works as expected, so there must be some handling done in the admob sdk that is causing this issue and not compatable with android:documentLaunchMode="intoExisting"

Abhishek Pundir

unread,
May 8, 2025, 11:51:09 AMMay 8
to Google Mobile Ads SDK Developers

Mobile Ads SDK Forum Advisor

unread,
May 8, 2025, 4:18:59 PMMay 8
to abhishek...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

I will raise this issue with the wider team and will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-08 20:17:57Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qWKu1:ref" (ADR-00304592)



Mobile Ads SDK Forum Advisor

unread,
Jun 3, 2025, 7:28:06 PMJun 3
to google-adm...@googlegroups.com, abhishek...@gmail.com
Hi,

This is expected behavior, As defined here, this attribute is designed for apps that manage multiple "documents". It appears that this flag causes Android to flatten the back stack or re-evaluate the task hierarchy in a way that relates to the launched "document" (i.e., Chrome). The Android system possibly considers LauncherActivity as the perceived "parent" rather than MainActivityMainActivity itself might be bypassed in the back stack transition after the document-mode-launched external activity (Chrome) finishes.

Therefore, this SHOULDN'T be considered either as an SDK issue.
 

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5

[2025-06-03 23:27:13Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qWKu1:ref" (ADR-00304592)



Reply all
Reply to author
Forward
0 new messages