Using Geofencing feature with a Flutter app?

437 views
Skip to first unread message

Victor Hooi

unread,
Nov 6, 2015, 11:57:43 PM11/6/15
to Flutter Dev
NB: I'm new to Dart/Flutter, so forgive me if this is a basic question.

But say I wanted to write an application that used Geofencing features (http://developer.android.com/training/location/geofencing.html). 

From Googling, it seems on Dart I can use the dart:html library:


However, I saw from the Flutter FAQ that you can't use dart:html in Flutter.

Is there another way of accessing the Geofencing API from within Flutter?

Adam Barth

unread,
Nov 7, 2015, 12:23:55 AM11/7/15
to Victor Hooi, Flutter Dev
On Fri, Nov 6, 2015 at 8:57 PM Victor Hooi <victo...@gmail.com> wrote:
NB: I'm new to Dart/Flutter, so forgive me if this is a basic question.

But say I wanted to write an application that used Geofencing features (http://developer.android.com/training/location/geofencing.html). 

From Googling, it seems on Dart I can use the dart:html library:


However, I saw from the Flutter FAQ that you can't use dart:html in Flutter.

That's correct.

Is there another way of accessing the Geofencing API from within Flutter?

We plan is to use Mojo IPC to provide access to the Geofencing API (and many other similar APIs).  We haven't built out many of the Mojo services yet, including Geofencing, but we have done a few to get a sense for how it's going to work.

If you're interested in contributing to Flutter, building out a service like Geofencing might be a good place to start.  Otherwise, rest assured that it's on our list of services that we'd like to expose.

Adam

Reply all
Reply to author
Forward
0 new messages