It shows me D/CustomBroadcastReceiver(10072): received intent MY_CHANNEL as many times as I hot restart the app.
I'm opening app. Going to screen where broadcast receiver is applied. it applies the broadcast receiver and starts receiving the broadcasts. but then I hot restart and first page opens. I send a broadcast from terminal and it receives that and shows the above line and when I go to the receiver page, it applies listener and then it shows broadcast receiver listener print statements 2 times. and if I again hot restart, it shows 3 times and so on....
Will you please fix this ASAP ?
It shows me
D/CustomBroadcastReceiver(10072): received intent MY_CHANNELas many times as I hot restart the app.I'm opening app. Going to screen where broadcast receiver is applied. it applies the broadcast receiver and starts receiving the broadcasts. but then I hot restart and first page opens. I send a broadcast from terminal and it receives that and shows the above line and when I go to the receiver page, it applies listener and then it shows broadcast receiver listener print statements 2 times. and if I again hot restart, it shows 3 times and so on....
Will you please fix this ASAP ?