Skip to content
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

NMS Android: Autoruns don't start again after settings are changed #263

Closed
jbonisteel opened this issue Nov 12, 2024 · 7 comments
Closed
Assignees

Comments

@jbonisteel
Copy link

This is similar to what I see on iOS: #230

If I change the autorun settings (disable 'only while charging'), and then re-enable 'only while charging' + plug phone in - autoruns never seem to start again.

Worth noting - it is possible this is sort of an edge case, I don't know how many people really change those settings that often

@sdsantos
Copy link
Collaborator

@jbonisteel does it never run again, or does it only start much later? I believe right now, if you change auto-run settings, we set an initial delay of 1 hour before it runs again. So changing the settings might delay an auto-run that would run sooner. That's something we can tweak.

But if it never runs again, then that's a bug we haven't seen before.

@jbonisteel
Copy link
Author

@sdsantos as far as I can tell, it never runs again. I tried testing it over yesterday afternoon and this morning and it never seemed to kick on again.

@sdsantos
Copy link
Collaborator

@aanorbel I've investigate this issue using the Background Task Inspector (https://developer.android.com/studio/inspect/task) and everything looks OK. Any idea what else could be happening here?

@aanorbel
Copy link
Member

I cant think of any other cause of this error. I also inspected on android and everything looks OK.

@sdsantos sdsantos assigned aanorbel and unassigned sdsantos Nov 27, 2024
@jbonisteel
Copy link
Author

I have been testing this again this afternoon and it does look like auto runs are working more consistently on Android.

  • I tested disabling 'only while charging' and can confirm autoruns do seem to happen now even if not charging
  • I re-enabled 'only while charging' and can confirm they have started again once I plugged in my device.

So not sure if we changed anything but it seems better now.

@sdsantos
Copy link
Collaborator

sdsantos commented Dec 9, 2024

@jbonisteel should we close this for now?

@jbonisteel
Copy link
Author

Yes, we can close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants