plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

feat: add support to open sim profile settings

Open remonh87 opened this issue 1 year ago • 1 comments

Description

I couldn't open Settings.ACTION_MANAGE_ALL_SIM_PROFILES_SETTINGS from the intent plugin or it was not clear from the documentation how to do it so I decided to implement a shortcut like you did in location settings.

Thought could be useful to add this one to the list.

Checklist

  • [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • [x] I titled the PR using Conventional Commits.
  • [x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
  • [x] All existing and new tests are passing.
  • [x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • [ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
  • [x] No, this is not a breaking change.

remonh87 avatar Oct 18 '24 14:10 remonh87

Doesn't work when you pass android.settings.MANAGE_ALL_SIM_PROFILES_SETTINGS as the action? that the value of the constant: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/provider/Settings.java#1444

miquelbeltran avatar Oct 18 '24 20:10 miquelbeltran

hey thanks! I tried that in the past but it didn't work. Maybe it was some hot reload issue because now it works. WIll close the pr

remonh87 avatar Oct 21 '24 07:10 remonh87