-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method is register #10
Conversation
rekabhq#8 Update example to request location permission manually.
@mehdok please approve and push to pub.dev as soon as possible, I need this feature in production 😟 |
client: FusedLocationProviderClient, | ||
result: Result?) { | ||
if (IsolateHolderService?.isRunning) { | ||
Log.d("BackgroundLocatorPlugin", "Check Locator service: running") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove log.
Log.d("BackgroundLocatorPlugin", "Check Locator service: running") | ||
result?.success(true) | ||
} else { | ||
Log.d("BackgroundLocatorPlugin", "Check Locator service: not running") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove log.
@@ -151,6 +152,20 @@ class BackgroundLocatorPlugin() | |||
stopIsolateService(context) | |||
} | |||
|
|||
@JvmStatic | |||
private fun isRegisterLocator(context: Context, | |||
client: FusedLocationProviderClient, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for client
Fixing the locator so it still works after an app crash
No description provided.