Skip to content

omarzerir/Location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Location

Dealing with user location

  • Category: Either foreground location or background location

  • Accuracy: Either precise location or approximate location.

  • Foreground-Location: [ Navigation: turns - Message: Share Current Location ] shares or receives location information only once, or for a defined amount of time.

    Visible Activity or Foreground Service (recommended)

    Foreground Server on Android 10 (API level 29) and higher must declare this foreground service type. in the Manifest. <service android:name="MyNavigationService" android:foregroundServiceType="location" ... >

    Permissions: (RunTime)

  • Background-Location app constantly shares location with other users.

    accesses the device's current location in any situation other than the ones described in the foreground location section.

    Permissions: (RunTime)

About

Dealing with user location

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published