GitXplorerGitXplorer
P

Xam.Reactive.Location

public
10 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
bca957016ec940c6cfd82f779dfeace8364e4dbb

fix scoping

PPureWeen committed 7 years ago
Unverified
38c963f318a4a8a45493710c94b9e2e3c1e11756

simplifying down classes a bit changing configuration points

PPureWeen committed 7 years ago
Unverified
14c2479ad9dff0e54f5663d2c4ab2b29c86ac3a3

first set of UWP implementation

PPureWeen committed 7 years ago
Unverified
4167a96d49dc8cab3fb7397778d6160de2cc949c

fixing name spaces and setting up with the newer dispatcher package

PPureWeen committed 7 years ago
Unverified
d680d283a320111c815449cb9c03bc8d84d13996

moved all exceptions to throw via onerror and made location listener not fail.. Fixed up ios sample to ask for permissions. Fixed up Android to try and manage cases of failed permissions asking for

PPureWeen committed 7 years ago
Unverified
81a9b230be8d6fca4578b13805b934b444bc1f82

fixing ios to subscribe and unsubscribe correctly

PPureWeen committed 7 years ago

README

The README file for this repository.

Xamarin Reactive Location - ALPHA

Motivation

Location on each Xamarin platform is already event/push driven which is where Reactive models do great. This creates a useful wrapper around the iOS/Android location APIs.

Cross Platform-ish

  • Location features/permissions change (see iOS 11 permission changes).
  • Location features get fairly nuanced between platforms. This library will have a default setup that "works" but it has platform specific extensibility points for permissions, the location objects, and setting up start parameters. Not having these things hidden gives you full control

Still thinking about and working on

  • Is location service useful? Should everything just be condensed into the Listeners?
  • Is a default implementaiton useful? Or should user just be forced to implement an abstract listener on each platform?
  • What level of default implementation should be provided for checking permissions?
  • What type of cross platform "settings" should be allowed? or just tell user to implement the listeners
  • UWP I have some older code I need to port into this model to make it work for UWP
  • There's some duplicate logic between listeners (checking permission). Look at centralizing this
  • Need to surface different states. IsAuthorizedObs, Service Disconnected, Reason No Longer Listening, Also different reasons location checking is failing. Disabled on device etc...
  • Error handler might be a weird design and need to just percolate exceptions through stream instead

Thanks To