Not identifying beacon properly in oreo and above versions

  • Implemented the proximity detection of beacon, my use case is that whenever app comes to foreground beacon listener starts similarly whenever app goes to background beacon listener stops. It is working fine on pre-oreo devices but on oreo and above its not working properly (not able to detect everytime).