We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When building app, getting this error:
e: C:\Development\Projects\Flutter\Test\android\app\src\main\kotlin\oko\oko\Application.kt: (8, 37): Unresolved reference: LocatorService
package oko.oko import io.flutter.app.FlutterApplication; import io.flutter.view.FlutterMain; import io.flutter.plugin.common.PluginRegistry; import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback; import io.flutter.plugins.battery.BatteryPlugin; import rekab.app.background_locator.LocatorService; class Application : FlutterApplication(), PluginRegistrantCallback { override fun onCreate() { super.onCreate() LocatorService.setPluginRegistrant(this) FlutterMain.startInitialization(this) } override fun registerWith(registry: PluginRegistry?) { if (!registry!!.hasPlugin("io.flutter.plugins.battery")) { BatteryPlugin.registerWith(registry!!.registrarFor("io.flutter.plugins.battery")) } } }
And version 1.4.0 realy doen't contains LocatorServer.kt file, unlike version 1.3.2
The text was updated successfully, but these errors were encountered:
HI @khalitovsv Thank you for opening a new issue.
LocatorService is removed from the recent version. Please refer to the wiki for more info.
LocatorService
Sorry, something went wrong.
Can you update instruction https://github.com/rekab-app/background_locator/wiki/Use-other-plugins-in-callback?
Thank you for pointing out, It's been updated;
[suggestion] I think it would be a good idea to add the necessary imports to this instruction (people using VS Code may need to open Android Studio to figure out what imports are missing) : https://github.com/rekab-app/background_locator/wiki/Use-other-plugins-in-callback
Also, some classes are deprecated, maybe this will be a problem in the future:
No branches or pull requests
When building app, getting this error:
Application.kt
And version 1.4.0 realy doen't contains LocatorServer.kt file, unlike version 1.3.2
The text was updated successfully, but these errors were encountered: