public void TriggerBackgroundRunManually(bool _AlsoOnAndroid = false) { if (_AlsoOnAndroid) { ServiceStarterAndroid.StartBackgroundServiceAndroid(Application.Context); } }
public override void OnReceive(Context context, Intent intent) { // Call Android directly ServiceStarterAndroid.StartBackgroundServiceAndroid(context); }