Is Angular JS based hybrid app support windows? - angularjs

I am working on cordova based cross platform mobile App project which needs to be done using MVC Based framework and able to work on each windows device like windows phones & tablets. So i selected Angular + ionic + cordova.
I tried so many examples to test that windows platform will work with Angular JS or not and every time I install app on windows device, application was crashed each and every time. Those apps are working perfectly on android and ios devices.
I have gone through so many tutorials and blogs for this question, but I didn't find any satisfactory answer. Is there anyway to achieve windows support in angular + ionic?
I tried using "shim" way and also created project through visual studio, but still result is same.
Is there anyone can help me to find answer?
Thanks for help.

Related

Building a mobille phone app with webview

I am willing to write a very simple mobile phone app (Android and iPhone). It is so generic that it should already exists. Only 2 pages : one for choosing the URL of the server and one with only webview. It already works in a browser. I looked at tools for this purpose (Android studio and Ionics) but they are quite difficult to start with. Any hint to get this done quickly ?
Thanks in advance.
You can do it with a simple ionic app and the in-app-browser plugin:
https://ionicframework.com/docs/angular/your-first-app
https://ionicframework.com/docs/native/in-app-browser

How to automate a Silverlight based web application using selenium?

I am trying to automate a web application using selenium, however that application is developed using Silverlight. Hence, i am not able to inspect the elements in the web page. Could anyone please suggest on how to tackle this problem?
Out of the box, selenium won't natively support testing a Silverlight-based web app. There is https://code.google.com/archive/p/silverlight-selenium/, but it doesn't look like that project is currently being maintained. Beyond that, Silverlight itself is not longer under development, and it won't run on recent versions of Chrome or Edge (or Android or iOS).

Can you use the Ionic framework to build Mac apps?

The title pretty much says it all. I was asked this question today and really didn't know the answer.
Ionic is not intended to build desktop, or even desktop browser based applications.
From the official docs :
Ionic is focused on building native/hybrid mobile apps rather than
mobile websites.
As such, our browser support tends to be whatever Web View API is
available to native apps on a given platform. For Ionic 1.0.0
"uranium-unicorn", that means UIWebView for iOS 7+, and Android 4.1
and up. Windows Phone and FirefoxOS support is on our roadmap.
Even if you implement a browser website using ionic, the rendered output would rather weird.
Infact, Ionic has itself implemented it's website using bootstrap ;)

AngularJS Routes not working on Windows Phone 8 (using Worklight)

I am developing a Hybrid App for iOS,Android,BB and Windows using IBM Worklight.
I am using AngujarJS as the framework along with HTML, CSS and Bootstrap.
As this being a SPA, we are using ngRoute/UI.Route (Need to decide on whether to continue with ngRoute or UI.Route) to route between pages.
While the app works fine on iOS, Android and BB, it does not render anything on Windows Phone 8 Hybrid App. Meaning, it is not able to pick the file when we say
templateUrl : 'views/Login.html'
One blog suggested that we will have to give absolute path in order to make it work like -
templateUrl : 'www/default/views/Login.html'
But this is not the correct solution. Is there any setting that we need to do in order to make it work on windows8 phones.
Thank You in Advance.
I'm not convinced this has to do with AngularJS, but rather to plain JavaScript used in jQuery in conjunction with Windows Phone8, which is notorious to not work well when it comes to web-based multipage apps.
See the following questions for related issues:
Using jquery mobile in IBM Worklight for WIndows Phone 8
IBM Worklight v 5.0.6 - Can't navigate multipages on Windows Phone 7.5 environment
IBM Worklight - $("#pagePort").load() not working in Windows Phone 8
IBM Worklight 6.0 - WL.Client.reloadApp() not working in Windows Phone 8
The problem was the path used.
Take a look at the multi-page sample project provided in the IBM Worklight Getting Started webpage. It contains special handling for WP8 which you may need to apply to your project.
Building a multi-page application training module
Multi-page sample project
Note how the path is handled specifically for Windows Phone 8.
common\main.js:
var path = "";
function wlCommonInit(){
// Special case for Windows Phone 8 only.
if (WL.Client.getEnvironment() == WL.Environment.WINDOWS_PHONE_8) {
path = "/www/default/";
} ... ... }
Conclusion: You need to account for the path for WP8 vs other platforms.

Debugging VoiceOver application using Angular JS

I have this huge Web Application using Angular JS. This application run in almost every platform and browser configuration like WIn7/IE10, MAC, iPad iOS5,7 and many more.
But this application does not work well when VoiceOver is ON for accessibility and test on iPad iOS 7. The application turn blank on double tap. How to debug this application and anyone who face similar issue can guide, it will be helpful.
Thanks,
Rocky

Resources