Chethan
02/21/2022, 12:26 PM<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.DownloadPOC">
<activity
android:name=".MainActivity"
android:exported="true">
</activity>
<!-- Declaring broadcast receiver for BOOT_COMPLETED event. -->
<receiver
android:name=".DeviceBootUpReceiver"
android:enabled="true"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application>
Piotr Romanowicz
02/21/2022, 2:12 PMChethan
02/21/2022, 4:05 PMACTION_PACKAGE_INSTALLED
, BOOT_COMPLETED
etc.) will be invoked, regardless of the event for which they have registered, until the user runs the app manually.)
https://nayaneshguptetechstuff.wordpress.com/2014/06/24/receiver-not-working-know-more-about-stopped-state-of-an-application/