Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the "AdMob Offline Notifications" notification channel?

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.

like image 370
Roy Solberg Avatar asked Nov 05 '20 09:11

Roy Solberg


People also ask

Is it possible to delete the notification channel?

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 does AdMob work for mobile apps?

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.

What are notification channels on Android?

“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.

What are notifications and how do they work?

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.


Video Answer


1 Answers

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")
  }
}
like image 119
vonox7 Avatar answered Nov 10 '22 18:11

vonox7