yanncabral / open_settings_plus

The most complete flutter plugin packages for open various settings screen in Android and newer iOS.
MIT License
18 stars 13 forks source link

OpenSettingsPlusAndroid.appNotification requires package name #17

Closed FCView closed 5 days ago

FCView commented 4 months ago

Run the example on Android 14 and tap "Open app notification". You get a message "Unable to find application to perform action."

This is because the package needs to be included with the APP_NOTIFICATION_SETTINGS intent.

See here: https://developer.android.com/reference/android/provider/Settings#ACTION_APP_NOTIFICATION_SETTINGS

FCView commented 4 months ago

I uploaded a pull request (#18 ) to fix this.

ValarDohaerisX commented 2 months ago

I hope to merge the code soon, as I also need this feature

yanncabral commented 5 days ago

This issue has been fixed in version 0.4.0 which is now available on pub.dev.

The fix includes proper handling of the package name for APP_NOTIFICATION_SETTINGS intent across different Android versions, as specified in the Android documentation.

Thanks @FCView for reporting and providing the PR with the fix! Let me know if you experience any other issues.