Unsupported operation - Apps are not allowed to listen to device lock notifications

Hi,


We had our App to be approved thru submission already. We recently made a very minor change in the App and then re-submit for App update. It returned back with the following error :


Unsupported operation - Apps are not allowed to listen to device lock notifications.


It is new issue to us. Our minor change should not be related to this issue. Would you mind to tell us what the real problem is ? What are the specific function/notification calls the App made to cause the problem ?


Thanks.

You or a thrid pary library that you are using are probably observing 'com.apple.springboard.lockstate' or 'com.apple.springboard.lockcomplete' which Apple no longer allows. They are Darwin notification and were always a little risky to use. Then again, it sure would be nice if Apple gave us and official way to know if the device is locked. In my case I use this information to power down a peripheral Bluetooth speaker. Without this, users will suffer with much shorter battery life.

I have the same quesion of "Apps are not allowed to listen to device lock notifications". But i don't any code in my project,so i believe it in the third framework. So how to find which framework use the code. Please help me,thanks very much.

I am facing the same problem. Although I am listening to com.apple.springboard.lockstate

Has anyone found the workaround?

I know this thread is dead, but I am interested in hearing if there was ever a workaround for this problem? Is there a way to have Apple more thouroughly investigate the app to ensure that it is using this function without malicious intent?

Unsupported operation - Apps are not allowed to listen to device lock notifications
 
 
Q