How does the IFTTT application perform background synchronization?

Is there any code that can illustrate how IFTTT performs background synchronization?

This is mostly a chaotic binding, but I wonder how it works.

+4
source share
1 answer

I'm not sure that this is what they use, but you mentioned that it is a geolocation hack, and this Apple document says (in the section "Implementing Long-Term Background Tasks") that you can add location to UIBackgroundModes in the Info.plist application Info.plist to perform tasks in the background.

You need to go a little further to complete tasks, even if the location has not changed - see How do I get a background location update every n minutes in my iOS app? about how you could implement this, and iPhone is a background survey for events for other methods of performing background tasks (in addition to using geolocation hack).

+1
source

Source: https://habr.com/ru/post/1491152/


All Articles