unoplatform/uno

[Android] Add API to check whether a given app is installed

Open

#6005 aperta il 14 mag 2021

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C# (837 fork)batch import
difficulty/medium 🤔good first issuekind/enhancementno-reproplatform/android 🤖project/non-ui ⚙️

Metriche repository

Star
 (9789 star)
Metriche merge PR
 (Merge medio 14g 8h) (130 PR mergiate in 30 g)

Descrizione

What would you like to be added:

To be able to check if other apps by the same publishers are installed on the same device.

UWP can do this via PackageManager APIs as well as Launcher. Neither approach is currently implemented in Uno Platform. Android supports this https://stackoverflow.com/questions/18752202/check-if-application-is-installed-android iOS unfortunately does not have any such API. (workaround is creating a custom URI scheme)

Why is this needed:

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Guida contributor