Timer periodic background in flutter it is nightmare

  1. Summary of my problem
  • timer periodic
  • Expected Results = to work in background, sleep mode
  • Actual Results = unexpectedly timer stops and reset while in background
  • Error Messages (if any) no monitoring errors
  1. What have I tried so far - i deactivate the back button to avoid program stop
  2. Here’s the minimum code you would need to reproduce the problem -
    To format your code enter between 3 backticks like this
    I tryed many ways but it seems to me that the OS ( android 10) could stop the runnung programs after some time or after some amount of memory occupied by the task ?!?!? The program at perdiod scheduling (every 5 minutes for example) play a media file! that’s all!