Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Have you tested in other devices? I've tried your code on an emulated Pixel and it seemed to work correctly (the app's notification settings were all "on" by default). Also, is your channel using IMPORTANCE_HIGH since the beginning? Once the channel is created, you cannot modify its importance, so maybe the channel saved in your device isn't exactly the one you're using now in your code. Commented Feb 14, 2019 at 18:56
  • Thank you for your answer. I tested it on Xiaomi Redmi 6. I tried to reinstall app so I don't think IMPORTANCE_HIGH may affect such behavoir. Today I found this topic medium.com/mindorks/… and it seems that chinese phones have selective restrictions considering some of the significant settings. Commented Feb 15, 2019 at 15:30
  • @RustamShafigullin Did you got any solution? Commented Apr 11, 2019 at 11:55
  • @AswathyKR See my comment above, I made a dialog directing a user to phone's notifications options ("Please check notifications options before continue") Commented Apr 12, 2019 at 12:18
  • Same here. When I install other apps they come with all permisions enabled by default. I supouse its my phone (redmi 9). I will made a dialog. Thanks! Commented Jan 27, 2021 at 20:05