katsuyax / flutter_geofence_sample

Sample code to use iOS / Android geofence with Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter で Geofence を使うサンプル

Geofenceのプラグインは flutter_geofence を使用していますがiOSの方で不具合と思われる挙動があったためPRを投げています。取り込まれるまでは fork先 に向けています。

iOS/Androidでの挙動の違い

登録したときにすでにその境界に入っていたら?

  • Android エミュレータ:entry通知来る
  • Android 実機:entry通知来る
  • iOS シミュレータ:entry通知来る
  • iOS 実機:entry通知来ない

免責事項

  • 本ソースコードはサンプルソースコードであるため、作者は本ソースコードに関して一切の動作保証をするものではありません。
  • 本ソースコードで発生した結果、および生成物について保証するものではありません。また、本ソースコードの使用により生じた損害ならびに、第三者に直接または間接的に生じた損害について、作者は法律上の根拠を問わずいかなる責任も負わないものとします。

Sample of using Geofence in Flutter

The Geofence plugin uses flutter_geofence, but I'm creating a PR because of what I think is a bug in the iOS version. I'm pointing it to fork destination until it's imported.

Difference in behavior between iOS and Android.

What if you are already in that boundary when you register?

  • Android emulator: entry notification comes
  • Android real device: entry notification comes.
  • iOS simulator: entry notification comes.
  • iOS real device: no entry notification

Disclaimer

  • This source code is a sample source code, and the author does not guarantee any operation of this source code.
  • The author does not guarantee the results or products generated by this source code. In addition, the author assumes no responsibility whatsoever, regardless of the legal basis, for any damage caused by the use of this source code, or for any damage caused directly or indirectly to a third party.

About

Sample code to use iOS / Android geofence with Flutter


Languages

Language:Dart 82.6%Language:Ruby 11.4%Language:Swift 4.5%Language:Kotlin 1.2%Language:Objective-C 0.3%