Open senolatac opened 2 years ago
Hello @senolatac I had the same issues with this error and I solved by changing this file in node_modules:
react-native-push-notification/android/build.gradle
Specifically change the following params:
compileSdkVersion safeExtGet('compileSdkVersion', 31) buildToolsVersion safeExtGet('buildToolsVersion', '30.0.3') defaultConfig { minSdkVersion safeExtGet('minSdkVersion', 25) targetSdkVersion safeExtGet('targetSdkVersion', 30) versionCode 1 versionName "1.0" ndk { abiFilters "armeabi-v7a", "x86" } }
Thank you @AliuDardan, but it didn't work for me.
I'm having the same issue... Adding
<uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS"/>
to the AndroidManifest does not solve the problem... Also I do wish to target down to API level 21
Any update on this? I am facing the same problem.
Hi guys any update on this issue?? I have same problem.
Same issue here, any ideas?
Hello guys, What is the alternative way to avoid it in the meantime?
Any update? i am developing a screen recorder application with a toolbar buttons like screen recorder home screenshot button when i click on any button i want to lose notification drawer first .Help me
If Anyone got the solution , please tag me
Waiting for solution
anyone ever find a way to fix this?
Yes i resolve it for my screen recorder application.
Hi @asadaltaf583, can you tell me how you have resolved it..?
Yes i resolve it for my screen recorder application.
why do you bother responding if you don't share your work around?
I resolved it by starting a new activity with a PendingIntent.
@asadaltaf583 how did you do it, can you please send a workaround
With pending intent move to an activity to close notification tray
Message ID: <zo0r/react-native-push-notification/issues/2158/2135665007@ github.com>
version: 8.1.0
When: When I call the
./gradlew build
command.I got an error like: