Skip to content

PlatformException (Unable to get uislider) under iOS 15 #5

@ova2

Description

@ova2

We use your great plugin and it seems to work under iOS 15. We've tested another plugins for setting / getting volumes too, but nothing work for iOS 15. Finally, a link in this issue helped us to find PerfectVolumeControl: salmanjones/volume_watcher#14.

But there is still one bug if we set hideUI to true:

PerfectVolumeControl.hideUI = true;

In this case, if we try to set a volume, e.g. as

await PerfectVolumeControl.setVolume(1.0);

we get a PlatformException "Unable to get uislider":

image

If we set

PerfectVolumeControl.hideUI = false;

no exception is thrown. But we would like to hide the UI control.

Tested unter iOS 15. Looking forward for a fix. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions