YoYoGames / GMEXT-AdMob

Repository for GameMaker's AdMob Extension
Other
8 stars 3 forks source link

AdMob and Foreground Service Permission #57

Closed mcellis89 closed 1 month ago

mcellis89 commented 2 months ago

The admob extension appears to be requesting a foreground service permission.

As far as I can tell from google's recent policy update, for apps that target android 14 and request foreground service permissions developers have to fill out a form in play console explaining why their app is requesting the permission and provide a video demonstrating their app using the foreground service.

I analyzed an apk of an otherwise empty gamemaker project that just contains the admob exension v1.3.10 on this website https://sisik.eu/apk-tool and got the following information.

-REQUESTED PERMISSIONS android.permission.INTERNET com.google.android.gms.permission.AD_ID android.permission.ACCESS_NETWORK_STATE android.permission.ACCESS_ADSERVICES_AD_ID android.permission.ACCESS_ADSERVICES_ATTRIBUTION android.permission.ACCESS_ADSERVICES_TOPICS android.permission.WAKE_LOCK android.permission.FOREGROUND_SERVICE com.company.game.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

-ACTIVITIES com.company.game.RunnerActivity com.google.android.gms.ads.AdActivity com.google.android.gms.ads.OutOfContextTestingActivity com.google.android.gms.ads.NotificationHandlerActivity com.google.android.gms.common.api.GoogleApiActivity

-SERVICES com.google.android.gms.ads.AdService androidx.work.impl.background.systemalarm.SystemAlarmService androidx.work.impl.background.systemjob.SystemJobService androidx.work.impl.foreground.SystemForegroundService androidx.room.MultiInstanceInvalidationService

-BROADCAST RECEIVERS androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy androidx.work.impl.background.systemalarm.RescheduleReceiver androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver androidx.work.impl.diagnostics.DiagnosticsReceiver

-CONTENT PROVIDERS com.google.android.gms.ads.MobileAdsInitProvider androidx.startup.InitializationProvider

The requested foreground service permission dosen't specify a type as required by google play and I don't know how I would go about filling out the form or what kind of video to make since I don't really know how or why admob uses this permission.

I'm thinking maybe the foreground service permission doesn't count because maybe it's related to work manager, in the play academy course on foreground services it mentions using work manager instead of foreground services.

This part "androidx.work.impl.foreground.SystemForegroundService" from the above list of services also makes me think that maybe it doesn't count but I'm not sure, that's why I'm asking those who made the extension for more information, thank you.

jzavala-YYG commented 2 months ago

@mcellis89 can you link me to the policy update? and Google it's already requesting you the video?

And thanks for the link of the APK analyzer, will be really useful in the future.

Regards

mcellis89 commented 2 months ago

@jzavala-YYG I haven't updated to android 14 yet so Google hasn't asked for a form declaration or video. I'm glad you find the APK analyzer useful!

Link to Google Policy https://support.google.com/googleplay/android-developer/answer/13392821?sjid=1455588707729128180-NC

Thank you.

jzavala-YYG commented 2 months ago

Thanks for the link, at the moment I don't found something to do related to PlayStore, Admob and foreground service, I will keep this ticket open until confirm if we need take action on this.