Page 1 of 1

Possible to ban devices on ur application?

Posted: Tue Jul 21, 2015 8:32 am
by ScaryFace87

Hello ,

I would like to know if its possible to ban a device so he cant view it or do anything


Possible to ban devices on ur application?

Posted: Tue Jul 21, 2015 4:12 pm
by Evgene Karachevtsev

Hello!

Sorry, I'm not sure I understand you correctly, could you please clarify your question with more details?


Possible to ban devices on ur application?

Posted: Tue Jul 21, 2015 5:02 pm
by ScaryFace87

For example if device 1 is banned he cant view / do things in the app.


Possible to ban devices on ur application?

Posted: Tue Jul 21, 2015 6:25 pm
by Evgene Karachevtsev

No, unfortunately this is impossible. You may search for the appropriate phonegap plugin and if it exists use it, but I have serious doubts about it.


Possible to ban devices on ur application?

Posted: Tue Jul 21, 2015 8:34 pm
by Jon Haider

You can probably create a database collection with a list of banned deviceIDs, and then on deviceReady, you can query that database for the deviceID and if it exists, then you log them out, or kill the app, and if it doesn't exist they can proceed as normal. This will create half a second delay for launching the app, but it could work (assuming deviceID are constant and don't change... but they do).