@prescrire/app_discovery
v5.0.2
Published
Discovers installed applications in OS
Downloads
1
Readme
Prerequisites
Electron
import AppDiscovery from '@prescrire/app_discovery/electron';
// the line below links the module with the app
AppDiscovery.setElectronApp(app);
Usage
Desktop
import AppDiscovery from '@prescrire/app_discovery/desktop';
Cordova
import AppDiscovery from '@prescrire/app_discovery/cordova';
Caveats
Android
Permissions
Android 12 (API 30) now checks manifested application IDs. Add application IDs to AndroidManifest.xml
file to <queries>
section. In cordova 10.x.x config.xml
it looks like this:
<config-file target="AndroidManifest.xml" parent="/manifest">
<queries>
<package android:name="org.prescrire.guide" />
<package android:name="org.prescrire.application" />
</queries>
</config-file>