Lyokone / flutterlocation

A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.
MIT License
1.1k stars 811 forks source link

location_web: migrate from `package:js` to `package:js_interop` #936

Open bartekpacia opened 5 months ago

bartekpacia commented 5 months ago

location_web depends on the js package:

https://github.com/Lyokone/flutterlocation/blob/cbb79e79fc0d67eee05f54d3a1a3e7a03b17cd05/packages/location_web/pubspec.yaml#L18

README of the js package says:

Prefer using dart:js_interop instead of this package for JS interop. See the JS interop documentation for more details.

MominRaza commented 5 months ago

But location_web does not import js package, why it is included in dependency? Instead it uses dart:html that should be migrated to package:web

MominRaza commented 2 months ago

@bartekpacia any updates on this

bartekpacia commented 2 months ago

If there was an update, it'd be posted here. You can contribute this yourself.

Or, if you need this urgently, you can pay me.

I plan to get to this in the future, but right now, I don't have time.