This is a migrated thread and some comments may be shown as answers.

How to determine DEBUG or RELEASE configuration?

1 Answer 30 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Frank
Top achievements
Rank 1
Frank asked on 14 Apr 2013, 04:07 AM
How can I determine which mode is my active configuration that I am running in?  How do I see this in both .html and .js files?

Thanks

1 Answer, 1 is accepted

Sort by
0
Yavor Georgiev
Telerik team
answered on 14 Apr 2013, 11:31 AM
Hi,

 The Debug or Release configurations determine whether the app includes LiveSync or not. Right now the only way to determine if your app is running with LiveSync enabled is to inspect the document.location.pathname property in JavaScript. For iOS this should point to /var/mobile/Applications/{GUID}/Documents and for Android the path is in the /sdcard partition. You can experiment with the value of this property on both platforms when built in Debug or Release to get a sense of what you should be looking for.

Greetings,
Yavor Georgiev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
Tags
General Discussion
Asked by
Frank
Top achievements
Rank 1
Answers by
Yavor Georgiev
Telerik team
Share this question
or