Skip to content

Please update permission_handler version i am unable to run app on android

What could be improved

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (permission_handler:8.x.x).

Why should this be improved

To remove dependency conflicts with other packages and fix errors like:

permission_handler-7.2.0/android/src/main/java/com/baseflow/permissionhandler/ServiceManager.java:152: error: cannot find symbol
        final BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getAdapter();
                                                                  ^
  symbol:   method getAdapter()
  location: class BluetoothAdapter

Any risks?

No

Edited by Jochum van der Ploeg