I\'m using DetectedActivityFence from Google Awareness API. It\'s working fine on my own devices, but I received a several crashes in Crashlytics about SecurityException
I came across this issue as i was getting the same error, and i thought it might be the Awareness API keys not syncing to the Google Developer Console, after lots of looking and getting the same error, I went back to the Awareness API on Google Developer Console and realized my Awareness API was not enabled even though, I had the package set and had a valid API key. Also make sure that API key is set in your Manifest. Hope this helps someone.