Skip to main content

Scan beacon using monitoring when the app is killed ( not running in background )

Answered

Comments

3 comments

  • Noor Al-Ghadeer

    Same problem .. 

    Please help 

    0
  • mario hernandez

    i have the same problem, i made jobschedule and foreground service but the problem is the method for discover baecon

     

    0
  • Noor Al-Ghadeer

    I got the solution ..

    1. You have to ask for all the time location access.

    add this permission in Manifest file:

    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />

    to request access to background location, you can get help from this link:

    2. Use JobSchedualer or Background Service. you can search about them. 

     

    0

Please sign in to leave a comment.