Well one of my apps on the play store have a BOOT_COMPLETED
receiver and it have never got any issue until the S4, I have received multiple emails from S4 users saying that the app isn't working and after some troubleshooting the BOOT_COMPLETED
receiver is not getting called.
Does anyone here know how to fix this for this particular device?
Here's the main code of it:
public class BootCompletedIntentReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) {
...
...
//ALL MY CODE IS HERE
...
...
}
}
}
Manifest :
<receiver android:name=".BootCompletedIntentReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
Of course I have the correct permission:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />