I have an android app that shouldn't request location in background. But I do see a reminder. Most probably it's some library, can be facebook sdk or similar. How can I find, which one? The best way would be to crash internal builds, then I will get stacktrace. But I haven't found strict mode settings for background location access. Any recommendations?
Asked
Active
Viewed 61 times
0
-
You could use the IDE to set a method breakpoint on the API the code uses, which is likely one of the `requestLocationUpdates()` variants. – greeble31 Jan 01 '20 at 17:46
-
I as said in question, I think the request coming from unknown place from one of the libraries, not from my code. – DmitryBorodin Jan 02 '20 at 15:45
-
That doesn't matter. You are setting the breakpoint on the entry point for a public API, not on your own code. – greeble31 Jan 02 '20 at 16:38