title: How to send notification from the background via an HTTP api (without push notifications) in Flutter?
body: <p>So, I was working on a Android application in java that used GcmTaskService to schedule a service and make HTTP requests in the background with HttpsURLConnection (about every 10 minutes) and if the content changed, it would send a notification to the user. This might not have been the best way to do this, but it worked and that was enough for me.</p>
  
  <p>Now I want to rewrite the app in Flutter, with similar logic. I know iOS is very strict when it comes to background work so I would be fine with the request being made at non-exact times (1-2 times a day is OK).</p>
  
  <p>In Flutter I am using <code>http.get();</code> (get data) and <code>http.post();</code> (login and get Bearer code) to get the necessary data.</p>
  
  <p>Unfortunately I only found tutorials on this topic with FCM and push notifications.
  Implementing push notifications is not an option for now, since I was given no access to the server backend.</p>
  
  <p>Is there another way to do this with simple HTTP requests to the API? </p>
  
  <p><a href="https://pastebin.com/F0kFb2B3" rel="nofollow noreferrer">Here</a> is the old implementation in Java.</p>