jamesmontemagno / GeolocatorPlugin

Geolocation plugin for Xamarin and Windows
MIT License
294 stars 158 forks source link

Documentation correction #261

Closed pollaris closed 6 years ago

pollaris commented 6 years ago

In your documentation at

https://jamesmontemagno.github.io/GeolocatorPlugin/

you suggest a bare minimum of:

CrossCurrentActivity.Current.Activity.Init(this, bundle);

In my project Init was undefined. I used:

Plugin.CurrentActivity.CrossCurrentActivity.Current.Activity = this;

inside android OnCreate() instead. Working fine, thank you for an excellent plugin.

jamesmontemagno commented 6 years ago

Yes, either is fine, but I would like people to use Init