Bizarre Problem Same different code result?

1

Ok I do not know if this is a bug, a framework problem or what. I am making an application that gives me the location of my cell. Everything works very well in the emulator, I'm using api 27 oreo 8.1. The variable status reflects and returns the granted value of the permissions. As seen in the photos of the emulator in the watch "yellow arrow".

But when I compile or use the xamarin player to run it on my cell samsung s8 oreo 8.0 api 26. The same code generates different results. Instead of returning the permissions, it returns an int of 0 and then in verification 4.

Same different code result for just changing the device? Is not the api 27 supposed to have backward? What could be causing this? I am looking everywhere and I do not find something similar to this problem. Thanks in advance for your help !!!!!

    
asked by Neowolf 03.06.2018 в 15:09
source

0 answers