-
Notifications
You must be signed in to change notification settings - Fork 70
[WIP] Rebase of continued Geofence implementation (see #86, #88) #91
Conversation
@friesenkiwi The rebase looks good :) Test coverage just needs to be added for the new methods implemented in the geofence API and then we should be good to merge. @sarahlensing posted a few suggestions on #88 for how to approach this. Also I noticed Circle CI is not building your branch even though the pull request is now pointing at master... we'll look into this issue on our end. |
OK, thanks for the review. So it's (on my end):
I'll have to see, when I have time to work on it, probably on the weekend. |
If you can add some basic unit tests for creating multiple geofences and removing a geofence I would be happy to merge what we have here so far :) Device testing and other APIs (transition types, initial trigger, etc.) can come later in follow-up pull requests. |
dc58c7a
to
71d3890
Compare
I added the testcases @sarahlensing suggested over at #88, added one more (looks a little bit complicated, but there's no way, to make it simpler, or is there?) and included some checkstyle fixes. |
bump API level, bump gradle versions, add dcendents dependency
implement adding Geofences by List implement Geofence removal Add GeofencingEvent scaffold
add RequiresPermission annotations fix circular method call/hidden field
Execute checkstyle rules and resepect some linter hints
71d3890
to
48bbbb5
Compare
OK, never mind, I am starting to get the hang of rebasing and force-pushing :D |
Thanks @friesenkiwi! I'm going to merge this now and create new issues for any outstanding TODO items related to geofences. |
Thank you! :) |
@sarahlensing @friesenkiwi I created issues for the following outstanding features related to geofences:
Out of this list I would say we definitely want to flesh out (and return) a Also we should definitely have support for Things that I would consider nice-to-haves but optional at this time are support for Finally, I'm not even sure we can implement anything useful for notification responsiveness as long as we are relying on the |
* Change checkstyle rules to allow for current version (see checkstyle/checkstyle#473 (comment)) Add some information to the contributing guidelines * [WIP] Rebase of continued Geofence implementation (see #86, #88) (#91) * Adds GeofencingRequest class * Fix checkstyle error * Changes in build environment: bump API level, bump gradle versions, add dcendents dependency * implement adding Geofences by List in builder implement adding Geofences by List implement Geofence removal Add GeofencingEvent scaffold * fix missing duration default add RequiresPermission annotations fix circular method call/hidden field * revert targetSDK back to 23 for robolectric compatibility * Add Test cases Execute checkstyle rules and resepect some linter hints * Include GitHub remarks * Change checkstyle rules to allow for current version (see checkstyle/checkstyle#473 (comment)) Add some information to the contributing guidelines * Include GitHub remarks
Overview
Rebase of #88, continuing to implement Geofencing support, also the API level bump is reverted
Proposed Changes