I planned to run the task periodically using GcmNetworkManager , but I do not want it to be saved because I do not want to add android.Manifest.permission.RECEIVE_BOOT_COMPLETED to the list of permissions required by my application. So, I am currently planning a task in onCreate() my main activity. I was wondering if there is a way to ask GcmNetworkManager about my task, and if it is already planned, skip this?
source share