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
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.