localnotification does not work in xiaomi phone
See original GitHub issueI am using localnotification and it is not working on my phone. In emulator API version 23 and Android 6.0 local notification works. But in API version 30 Android 11.0 version does not work. There must be a list for this but there is not. I dont know which one is true or not. Because I dont know and Wrote here. I want to learn.
In documentation I did everything write but still there is a problem.https://developer.android.com/about/versions/11/setup-sdk. I think problem is in react-native part but I dont know.
android/build.gradle here below
buildscript {
ext {
buildToolsVersion = "29.0.2"
minSdkVersion = 16
compileSdkVersion = 29
targetSdkVersion = 29
googlePlayServicesVersion = "+" // default: "+"
firebaseMessagingVersion = "+" // default: "+"
supportLibVersion = "23.1.1" // default: 23.1.1
}
Android studio
android {
compileSdkVersion 30
buildToolsVersion "30.0.2"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 23
targetSdkVersion 30
versionCode 1
versionName "1.0"
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Flutter Local Notification Sound didn't Play on MIUI 11.0.1?
I've used package flutter_local_notifications 2.0.0+1. Is there a way to force allow sound without allow manual on setting notif in app on ...
Read more >Xiaomi: Why is no popup displayed and no sound emitted ...
In Threema, navigate to Settings > Sound & Notifications; Select “MIUI Settings”; Open the first entry in the Chats section; Enable all settings...
Read more >flutter_local_notifications | Flutter Package - Pub.dev
A cross platform plugin for displaying and scheduling local notifications for Flutter applications with the ability to customise for each platform.
Read more >Resolved - Mobile Notifications - Not working ? - Unity Forum
it works perfectly if not set fire time. are there any extra steps to schedule local notification? or did I miss something? here...
Read more >Unity Mobile Notifications Package | 1.2.1-preview
If you do this, the remote notification won't display when your app is running. If you still want to show an alert for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue is happening for me to. Local notifications are working fine for android phone. I have tested from android 7 to android 11. Its only giving problem in xiaomi phone. Channel/Notification is all set. There is something else going on with xiaomi phones.
Hi @oguzhan10 Please refer to channel management or provide a reproducible exemple. Regards