Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Check whether developer option is true or not in mobile

$
0
0

Hi,

How can i check whether developer option is true or not in a mobile?

I am using alloy framework and develop android app,

I used to run my app in mobile and it always take test mode but its wrong because i am doing development so it should be dev but i am running in mobile so it gives test.

So on basis of developer option i can check condition for test mode and development mode . like :

1) If there is a device and developer option is true : take development url.

2) If there is a device and developer option is false : take testing url.

Is it possible to get developer option value and check?

Thanks in advance.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>