I\'ve been struggling with this for hours. I\'ve also checked the documentation and several topics. I found this code in two topics, both guys said the code was working perf
I had the same problem until I found that I had put my Broadcast Receiver on a different package, not the general.
Simply changed:
for: