All of the sudden I saw that our app had a new notification channel named "AdMob Offline Notifications".
We do use AdMob, so I assume it's created by Google's library, but I can't find any documentation on it. I'm wondering on what that channel is used for, and if it's possible to not have it at all.
The channel is created as soon as the app is started the first time. The id of it is offline_notification_channel
and its importance is set to low (no vibration, no sound).
I did manage to find others wondering about the same at https://groups.google.com/g/google-admob-ads-sdk/search?q=%22admob%20offline%20notifications%22 , but no answers so far.
Until Admob fixes this issue as Oush pointed out, you can just delete the notification channel right after it was crated by admob, so it won't confuse your users:
How AdMob works. Ads are created and paid for by advertisers who want to promote their products or services to app users. Once you create space for ads in your app, AdMob works with advertisers who pay to show ads that are relevant to your users.
“Notification Channels” were introduced in 2017 with Android 8.0 Oreo. The idea is that apps can group different types of notifications into “channels.” Each channel can then be turned on or off by the user. This all happens in the Android settings. Let’s take a look at YouTube, for example. There are quite a few channels available.
Notification channels were first introduced by Google back in 2017 as part of the release of Android Oreo—and the announcement was seen as a way for Google to further its mission of providing consumers with positive, relevant user experiences.
Until Admob fixes this issue as Oush pointed out, you can just delete the notification channel right after it was crated by admob, so it won't confuse your users:
MobileAds.initialize(context) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
notificationManager.deleteNotificationChannel("offline_notification_channel")
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With