Heads up notification not showing in android O and higher
问题 I literally have tried everything seriously every method and every snippet but still, I was not able to show heads-up notifications on Chinese brand devices. so yesterday I thought why not try it again but after all again still I'm not able to show heads-up notification until I manually goto the app into the settings and give floating permission for the app. Now most of you may say why not to navigate the user to the setting when he/she first opens up the app but nobody likes that even there