You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I am trying to save my location on Firebase RTDB but for some reason when I try to run it I get the runtime error of Null check operator used on a null value
try {
BackgroundLocator.registerLocationUpdate(
(LocationDto locationDto) async {
// Handle location updatesaveLocation(locationDto);
},
initCallback:LocationCallbackHandler.initCallback,
autoStop:false,
androidSettings:constAndroidSettings(
accuracy:LocationAccuracy.NAVIGATION,
interval:5,
distanceFilter:0,
androidNotificationSettings:AndroidNotificationSettings(
notificationChannelName:'Location tracking',
notificationTitle:'Start Location Tracking',
notificationMsg:'Track location in background',
notificationBigMsg:'Background location is on to keep the app up-tp-date with your location. This is required for main features to work properly when the app is not running.',
notificationIconColor:Colors.red,
notificationTapCallback:LocationCallbackHandler.notificationCallback),
),
);
} catch (e) {
print('Exception Caught on fetching location: $e');
}
Hi I am trying to save my location on Firebase RTDB but for some reason when I try to run it I get the runtime error of Null check operator used on a null value
And showing error like this
Pointing directly at
The text was updated successfully, but these errors were encountered: