app_install_events
0.0.3, released 2 years ago by an unverified publisher
Detect application installation and uninstallation events on Android devices.
What it does
A Flutter plugin that monitors changes in the list of installed applications on Android devices. It exposes a stream of installation and uninstallation events providing the package name of the affected app.
AI-written summary of version 0.0.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are developing an Android launcher with Flutter and need to reflect app additions or removals.
- You need to listen to application install and uninstall events on Android.
Skip it when
- You need support for platforms other than Android, such as iOS.
- You only need static device information rather than dynamic install/uninstall event monitoring.
Strengths
- Simplifies monitoring of app install and uninstall changes on Android.
- Provides an easy-to-use stream-based API for events.
Weaknesses
- Limited to Android devices only.
- No documentation provided regarding required native configurations or permissions.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
not documented
late AppIUEvents _appIUEvents;
@override
void initState(){
super.initState();
_appIUEvents = AppIUEvents();
_appIUEvents.appEvents.listen((event){
if(event.type == AppIUEventType.INSTALL){
print("App installed: ${event.packageName}");
}
if(event.type == AppIUEventType.UNINSTALL){
print("App uninstalled: ${event.packageName}");
}
});
}
@override
void dispose(){
_appIUEvents.dispose();
super.dispose();
}Alternatives
Packages that do the same job and could replace app_install_events.
- in_app_update
Triggers official Google Play In-App Updates on Android devices.
81Compare - flutter_ble_peripheral
Set a device into BLE peripheral mode and advertise custom services.
86Compare - device_calendar_plus
Plugin for reading and writing device calendar events on Android and iOS.
83Compare - device_safety_info
Provides root, jailbreak, debugger, screenshot, VPN and other security checks for Flutter apps.
82Compare
Works with
Packages commonly used together with app_install_events: ones it builds on, ones built on it, and its own family.