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

Works in simulator, not on Ion

2 Answers 60 Views
AppBuilder companion app
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dylan
Top achievements
Rank 1
Dylan asked on 08 Mar 2013, 03:41 PM
Hi,

I’ve got a very basic app which replicates the example at http://openlayers.org/dev/examples/mobile-jq.html#mappage and should display a simple map of the world.

It works fine in the simulator, but as soon as I load it into Ion it has a blank screen where the map should be. A colleague has tried running it on his Android tablet and it works fine there, but with Ion on the iPhone I’m having no luck at all.

I’ve tried adding in some debugging to try and figure out what’s happening and it looks like the init() function (which creates the map) enters correctly, but something’s happening in there as it doesn’t appear to exit correctly (the debug test I’ve written at the end of the function never gets fired). Now I’m at a loss as I have no idea how to find out what’s going wrong—as I say it works in the simulator, where I’ve got access to the console, so I expected it to work fine on the phone too.

Any ideas what I could do to try and find out where my code is failing within Ion?

Thanks,

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Dobrev
Telerik team
answered on 11 Mar 2013, 08:44 AM
Hi Dylan,

It would be a wild guess but can you check whether or not you are referencing any script/CSS file with correct casing in the path name? iOS file system is case sensitive and when you include any file in your HTML it should be with the exact same casing as it is on the file system.

 

Hope this helps,
Stefan Dobrev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Dylan
Top achievements
Rank 1
answered on 11 Mar 2013, 09:25 AM
Brilliant—that was the cause of the problem. I should have known better though as it’s something I’d encountered before! Oops :) Thanks.
Tags
AppBuilder companion app
Asked by
Dylan
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Dylan
Top achievements
Rank 1
Share this question
or