flutter_gps
flutter_gps copied to clipboard
Needs to be upgraded please..
Hi @CaiJingLong I know you might be busy but I would love for this to see through as it updates this package to support null safety. We @LibreHealth are currently...
Running the example app. It gives a null value. Are there any other changes to do? 
java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.MethodChannel$Result.success(java.lang.Object)' on a null object reference at com.example.gps.GpsPlugin.setResult(GpsPlugin.java:93) at com.example.gps.GpsHandler.onLocationChanged(GpsHandler.java:42) at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:291) at android.location.LocationManager$ListenerTransport.-wrap0(Unknown Source:0) at android.location.LocationManager$ListenerTransport$2.handleMessage(LocationManager.java:243) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6938)...
print('111111111111111111111111111111111111'); var latlng = await Gps.currentGps(); print(latlng.lat); print(latlng.lng); print('2222222222222222222222222222222222222222222222');
AndroidManifest.xml has ``` ``` but still get null,hey guy,what's problem?