background_locator icon indicating copy to clipboard operation
background_locator copied to clipboard

background service not working in real ios device

Open thekavak opened this issue 3 years ago • 3 comments

Hi, I download your github example a couple weeks ago. I tried on ios simulator, it works all good, Even if App was killed it sent me notification when location is change. Today, I sent the application on an ios testflight and installed it on the real device and gave the permissions the same. But when I close the application on the real device, it does not log or send me notifications. (Note: I also added a local notification on your project.)

I would appreciate it if you could help me find out how to solve the simulator running smoothly and not working on the real device.

thekavak avatar Mar 21 '21 14:03 thekavak

Hi @thekavak

Thank you for opening an issue;

You tested the same app on both simulator and real device? Any addtional info the might help would be appreciated;

mehdok avatar Mar 21 '21 15:03 mehdok

Hi @mehdok, Yes, Firstly I run the app on simulator and then I saw everything working properly. I wanted to see this on real device and sent testflight. And although I tried it on 2 different iOS devices, it didn't work on either.

In addition, I disabled only this setting on xcode because when I wanted to connect to the real device via usb, the app would crach. https://stackoverflow.com/questions/60645401/xcode-logging-metal-api-validation-enabled

Thank you.

thekavak avatar Mar 21 '21 15:03 thekavak

Honestly, In this situation, I can not figure out what is happening; If you could provide some logs from your real device, it might help to figure out what is happening;

mehdok avatar Mar 22 '21 08:03 mehdok