phonegap / phonegap-app-developer

PhoneGap Developer App
app.phonegap.com
Apache License 2.0
2k stars 2.51k forks source link

Phonegap Developer app viewer does not give access to MSapp object in window #293

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi im tying to make a Angular app js working and the phonegap developer app does not give me access to window.MSApp object so i can do the workaround for the security issue inside windows phone.

Here is the issue we are having. http://stackoverflow.com/questions/30527939/angularjs-navigation-routeprovider-and-phonegap-on-windows-phone-8-not-working

The phonegap app is a simple 3 page app with templates. https://github.com/lnesitwo/html_5_template

Any help on this?

Thanks.

mwbrooks commented 9 years ago

@lnesitwo Thanks for submitting the issue! Does this issue exist on iOS or Android using the serve command?

@purplecabbage do you have any thoughts on this issue?

purplecabbage commented 9 years ago

MSApp does not exist in wp8 which is c#/silverlight based. I will look specifically at your issue on stackoverflow when I get a chance, but it sounds like you are mixing up some of the windows store app context with windows phone 8.0.

mwbrooks commented 9 years ago

Thanks @purplecabbage!

@lnesitwo I'm going to close off this issue and allow for the remainder of the discussion to happen on Stackoverflow. Thanks again for submitting it. It'll be useful for anyone else who comes across it.

purplecabbage commented 9 years ago

The specific issue here IS relevant to the phonegap-developer app. I just think the issue is mis-stated, and the summation of 'why' it is happening is most likely incorrect. The issue is : The phonegap-developer app cannot run angular based apps on wp8.