googleads-mobile-flutter icon indicating copy to clipboard operation
googleads-mobile-flutter copied to clipboard

Support `android:taskAffinity=""` attribute

Open kjm0202 opened this issue 6 months ago • 1 comments

[REQUIRED] Step 1: Describe your environment

Plugin Version

6.0.0

[REQUIRED] Step 2: Describe the problem

This issue is same with this issue (with video): https://github.com/googleads/googleads-mobile-flutter/issues/1322#issuecomment-2928462321 But, I think it shoud rather be opened than closed, as it is not fixed yet. Flutter's default setting is android:taskAffinity="", and flutter_mobile_ads package should follow this. Just removing this attribute might cause any security issue or programmatic issue.

  • It should be documented anywhere for developers.

Steps to Reproduce

  1. Run any AdMob example
  2. Click the ad - redirected to Ad page.
  3. Press back button

Expected results: Go back to my app

Actual results: Just goes to device's home. There's dead, blank activity on device's task manager.

Logs

kjm0202 avatar Jun 23 '25 01:06 kjm0202

Thanks @kjm0202, I'll have @LTPhantom take a closer look to determine next steps.

malandr2 avatar Jun 23 '25 14:06 malandr2