enableProximityMessaging

Enables proximity messaging. This will only succeed if:

  • setProximityEnabled was set to true
  • The AltBeacon dependency was included in your build.
  • The device has the correct hardware and API level (18)
  • The play-services-location dependency was included in your build
  • The ACCESS_FINE_LOCATION permission has been granted.
  • The ACCESS_BACKGROUND_LOCATION permission has been granted on Android Q+.
  • The device has the supported play services version.

Return

True if proximity messaging was sucessfully enabled