Adds USE_FULL_SCREEN_INTENT permission by patrick-billingsley · Pull Request #1435 · Baseflow/flutter-permission-handler

@patrick-billingsley

This PR adds handling the USE_FULL_SCREEN_INTENT special permission for Android 14+. This is a newer requirement applicable to apps featuring alarm or calling functionality. Android Documentation

List at least one fixed issue.
Issue
This issue was marked as "Closed as not planned" but is a requirement on one of the apps I work on, so I have provided the implementation if so desired.

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

@patrick-billingsley

@patrick-billingsley

@patrick-billingsley

@patrick-billingsley

@patrick-billingsley

Adds handling Android USE_FULL_SCREEN_INTENT special permission

@minhto2811

@patrick-billingsley

Resolving dependencies...
pubspec.yaml has no lower-bound SDK constraint.
You should edit pubspec.yaml to contain an SDK constraint:

environment:
  sdk: '^3.8.0'

@patrick-billingsley

@patrick-billingsley

@patrick-billingsley

Merge conflicts have been resolved. Unit tests are passing but job is failing on Codecov upload stating the token is missing.

@patrick-billingsley

@patrick-billingsley

Fixes USE_FULL_SCREEN_INTENT permission request hanging on Android 14+

@lilole

Thank you @patrick-billingsley for this PR. This is a showstopper for my app. I am porting native Android to Flutter and the USE_FULL_SCREEN_INTENT perm is a core requirement.

@patrick-billingsley and @minhto2811, let me know if I can help move this forward. I need Android/iOS compat with this codebase and unless this is fixed, or I find another plugin that handles this, my app is dead in the water.

@patrick-billingsley

Thank you @patrick-billingsley for this PR. This is a showstopper for my app. I am porting native Android to Flutter and the USE_FULL_SCREEN_INTENT perm is a core requirement.

@patrick-billingsley and @minhto2811, let me know if I can help move this forward. I need Android/iOS compat with this codebase and unless this is fixed, or I find another plugin that handles this, my app is dead in the water.

Yeah, I would love to get this in. I've been on my own fork forever now.

@lilole

Thank you @patrick-billingsley for this PR. This is a showstopper for my app. I am porting native Android to Flutter and the USE_FULL_SCREEN_INTENT perm is a core requirement.
...

Yeah, I would love to get this in. I've been on my own fork forever now.

I may just switch to your branch myself @patrick-billingsley. It appears that @minhto2811 is not a member here any more.

@mvanbeusekom is there any way to get this assigned? It looks to me like Patrick's work is good here. Little things like this are important for moving Flutter forward.