0

Do I have to call it from specific platforms (in my case Android and desktop)?

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
LXJ
  • 1,180
  • 6
  • 18

1 Answers1

1

No, it's not available. It's because it has different API on these platforms.

On Android it has popupProperties parameter, which contains a lot of Android specific parameters, .e.g dismissOnBackPress is meaningless on Desktop.

On Desktop this parameter is replaced with only one of popupProperties properties - focusable.

You can create your own version using expect/actual and reuse platform specific version with the needed parameters

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220