App auto-launch when charger plugged

Dear all,


I would like to know if it is possible to Auto-launch an app when I plugg my charger ?


Thanks for your help !

Without user interaction/knowledge, auto-launching your app would seem to be a security risk, so no.

Hi KMT,


thanks for your help!

What do you mean by security risk ?

-It is possible nut Apple won't allow it in the App Store ?

or

-It is not doable because IOS do not allow it at all ?


Would it be possibe with a popup or something that the user have to confirm ?


thank you

Hi Geraldo,


To say the same thing from a different perspecive, this won't be possible because there is absolutely no way that you can have your app automatically be launched. What would launch it? You can't change iOS so the only way to launch it would be to have another app of yours running all the time, but you have no way of ensuring that.


-Max

Hi Max,


thanks for your answer.


To answer your question "what would launch it?" : as when you plugg your charger the Iphone can automatically identify that it is charging with a song, a little icon etc etc... I thought we could trigger this and auto-launch an app with that.

But that's iOS that does that - you have absolutely no control over iOS period - you app is "sandboxed" - meaning that it can't touch how iOS itself runs. I promise you - you absolutely can't do what you're wanting. If I weren't 100% sure, I wouldn't say so.


Sorry the news isn't better for your App idea,

Max.

hahaha, no worries Max.

Thanks for your precious help !


Maybe, I can do with a background update just like e.g. Whatsapp is doing ? but with detecting the fact that my iphone is plugged ? and ask for an action from the user ?

Hey,

We were puzzled with the same question, and that's how we came up with idea of creating our QI wireless charger with NFC - Plum Wireless Charger.
App auto-launch when charger plugged
 
 
Q