New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android_alarm_manager_plus - function periodic not working #323
Comments
What was the interval you had passed for periodic triggering? |
I tested several minutes for the periodic, including 15 and 30 minutes |
Could you provide a code sample in which the issue can be reproduced? Also the AndroidManifest.xml. I have tried it with the example code and it worked fine on my device. |
I got it here, but I had to add some code in "app/build.gradle". implementation "com.android.support:multidex:2.0.1" I can't explain why it worked, but it worked. thanks! |
There's an error which says number of method references in a dex file cannot exceed 64k references. That's where multidex helps. Not sure but maybe that was the issue. But as far as I know the app should not have built in the first place if this was the error 🤔 |
After that it started working for me, however, now I'm thinking it was just cohesiveness, because then it stopped working, then I went to look on my cell phone and turned off the battery saving restrictions (my cell phone is xiaomi) and it started working again. I believe that the real problem must be this one of restriction |
same issue. Singleshot works perfectly but the periodic just won't work here is my code: `
` You can focus only on the N.B: I'm using the ID that I'm saving to DB as alarm id |
My callback is called one time, then, nevermore. I cross Internet for someone having the same problem and maybe a solution, unfailthful I don't found anyone. EDIT: My problem was solved using the allowWhileIdle parameter! |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days |
I'm using the 'plus_plugins' example itself and the periodic method is not firing, the oneShot method works perfectly. Periodic is not triggering the callback function. I believe it's some mistake of mine, could you guide me? I've already tried to find the solution elsewhere
The text was updated successfully, but these errors were encountered: