|  |  |  | @ -44,15 +44,18 @@ class Location { | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     AppPermissions.location((granted) { | 
		
	
		
			
				|  |  |  |  |       if (granted) { | 
		
	
		
			
				|  |  |  |  |         Geolocator.getLastKnownPosition(forceAndroidLocationManager: true).then((value) { | 
		
	
		
			
				|  |  |  |  |           if (value == null) { | 
		
	
		
			
				|  |  |  |  |             Geolocator.getCurrentPosition().then((value) { | 
		
	
		
			
				|  |  |  |  |               done(value); | 
		
	
		
			
				|  |  |  |  |             }); | 
		
	
		
			
				|  |  |  |  |           } else { | 
		
	
		
			
				|  |  |  |  |             done(value); | 
		
	
		
			
				|  |  |  |  |           } | 
		
	
		
			
				|  |  |  |  |         Geolocator.getCurrentPosition(desiredAccuracy: LocationAccuracy.medium, timeLimit: const Duration(seconds: 5)).then((value) { | 
		
	
		
			
				|  |  |  |  |           done(value); | 
		
	
		
			
				|  |  |  |  |         }); | 
		
	
		
			
				|  |  |  |  |         // Geolocator.getLastKnownPosition(forceAndroidLocationManager: true).then((value) { | 
		
	
		
			
				|  |  |  |  |         //   if (value == null) { | 
		
	
		
			
				|  |  |  |  |         //     Geolocator.getCurrentPosition().then((value) { | 
		
	
		
			
				|  |  |  |  |         //       done(value); | 
		
	
		
			
				|  |  |  |  |         //     }); | 
		
	
		
			
				|  |  |  |  |         //   } else { | 
		
	
		
			
				|  |  |  |  |         //     done(value); | 
		
	
		
			
				|  |  |  |  |         //   } | 
		
	
		
			
				|  |  |  |  |         // }); | 
		
	
		
			
				|  |  |  |  |       } else { | 
		
	
		
			
				|  |  |  |  |         // AppPermissions | 
		
	
		
			
				|  |  |  |  |       } | 
		
	
	
		
			
				
					|  |  |  | 
 |