Hi I am curious what exactly promoteToForeground() and demoteToBackground() do? I tried calling them in my callback but got the following error for both, with the respective function. What would be a use case for these?
edit: after looking deeper it doesn't seem that these methods are implemented for iOS, is this true?
Unhandled Exception: MissingPluginException(No implementation found for method GeofencingService.demoteToBackground on channel plugins.flutter.io/geofencing_plugin_background)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157)
<asynchronous suspension>
#1 GeofencingManager.demoteToBackground (package:geofencing/src/geofencing.dart:124)
<asynchronous suspension>
Hi I am curious what exactly
promoteToForeground()
anddemoteToBackground()
do? I tried calling them in my callback but got the following error for both, with the respective function. What would be a use case for these?edit: after looking deeper it doesn't seem that these methods are implemented for iOS, is this true?