Azure Mobile App and AngularJS responsive in same host space - angularjs

Is it possible to get ride of "This mobile app is up and running" page and when user enters the sitename redirect/route him to sitename/app folder where I can pretty much create a AngularJS website in my project folder. FYI - I'm a Dev beginner
using Custom site URL in Azure: I tried this and working pretty like,
when I open the site (www.testsite.com) it's taking me to blue screen
when I go to (www.testsite.com/app) it displays my AngularJS app that I am trying deploy along with and in same mobile app serivce
REST API services and details under www.testsite.com/swagger
why I am trying this ?
On a typical note I want my app to serve all devices, web, mobile, tablet and I feel that mobile app solution is the only lean solution to do rapid application development but wondering how to reach web users without creating an other Web App services in Azure only for Views or web client which comes with cost. let us say if mobile service is just a backend stack and it doesn't allow it... I wonder why not ? by doing it, developers don't need to create 2 services in azure (1. mobile app, 2. web app)
Appreciate it.

found work around by adding MVC Razor Home controller and view for home landing page. more information in this link. this may be a temp solution to get ride of Blue screen and I am going to explore more in include AngularJS site and routing from angular too.
Since this solution works with only MVC style routing there will be a conflict between routing mechanics. will update as soon as I get something.
https://social.msdn.microsoft.com/Forums/azure/en-US/f23175db-2a83-489f-ac0c-f2abe9e48a76/default-document-for-the-mobile-app?forum=azuremobile
If Home view not showing up refer this link.
The view 'Index' or its master was not found

Related

Responsive Website both mobile and phone, mingle both Reactjs and React native

I want to the responsive web app on Mobile and Web page. I have built a website on React js. I have brought that website using a web view to React native and made it a mobile app. Now I need to direct my users depending upon the platform. If they are mobile users I need to direct them to React native app(live on the browser) and if they use the system they should be seeing the website I build. How can I do that? Is it possible? Suggest me a better Idea.
You can achieve this using your backend code by checking request user agent if you get mobile, you can redirect to some other url (Probably play store).
You can do the same via front end JS also (not advisable). You can use these methods to detect if the user is on mobile, based on that redirect it to play store.
Check if the navigator userAgent is mobile or not. If mobile add a links to your app or app store to download it.
if (/Mobi|Android/i.test(navigator.userAgent)) {
// if I'm here that mean I'm a phone
}

How to share App Deep Link vs. Regular link on Facebook accounting for mobile and desktop

I am working on a facebook sharing functionality for a site that is used on both mobile and desktop. We have a deep link we can use to link to the apps and will take the user to the app store if the app is not installed, when on mobile.
This is perfect but in the case that the share is opened on a desktop machine the experience is less than desirable.
Ideally, we would like to find a way for if they share is opened on desktop that the call to action / button goes to the website.
Worst case I would think that we put a redirect to the website when the App Deep Link is clicked on a desktop machine.
Thoughts?
Branch has a free solution for this. Their links are smart enough to direct desktop users to the website and mobile users to the store if that's what you want to do. They also have an SDK for routing and attribution.

Migrate link from mobile web browser to mobile app

I want that my online website link that is opened in my mobile browser checks whether my mobile app is installed or not and then opens it in my mobile app.
I want my functionality as I have shown in this
image
I am using AngularJS,Express,NodeJS in my application.I tried node deeplink
but it does not work for me.Please provide me with the appropriate solution.
This functionality is known as Mobile Deep Linking. The easiest way to get started is with a deep linking service like Branch.io (full disclosure: I'm on the Branch team), Yozio, or Firebase Dynamic Links. They all do exactly what you're describing.
this could Help you perhaps:
Check this

IBM Worklight - Using native pages in a mobile web application

In worklight we can use native pages in a Hybrid application. Similarly I want to use the native pages in a the Mobile Web environment.
Is there any possibility to do this?
Short answer: No.
Longer answer:
WL.NativePage.show is available, as the documentation states, for Android and iOS.
Mobile Web environment - a webpage that is served, loaded, displayed, ... in the device's mobile browser app.
Hybrid app - an app that is comprised of a native shell and a WebView inside it, allowing the ability to open a native page... you do not have that in a browser.
There is no such thing in mobile web. Mobile web is a web site and not an application. However, you can leverage url schemas supported in iOS/Android. e.g. create an app that will declare myapp:// schema support and then add a link to your mobile web site, e.g. myapp://doAction1?param1=someparam
The application will start and process the URL. You can get a lot of info about it on the internet, e.g. http://wiki.akosma.com/IPhone_URL_Schemes

Best way to integrate external mobile site in an app

I have a mobile website made in jQuery Mobile and I would like to integrate some parts of it in a Phone Gap mobile app.
The app will provide some offline features (using local html and JS) and will integrate with the mobile website sending forms and receiving its pages (that are already in jQuery Mobile).
What do you think is the best strategy to do this? Should I write services or should I keep the ongoing html pages?
After seeing your comment above, Yes You can wrap it with phonegap and launch in app store. Then consider this, you can create services to return JSON(only for dynamic data) and load all your HTML templates on to the app (wrap with phonegap).
So static data/contents gets loaded from within the app and the dynamic content comes from server. Now enable offline caching for the dynamic contents which you want to enable for offline access.
TO enable offline access, you can either use webkit local storage(5Mb~50Mb) or a native phonegap plugin for more storage.
Hope this helps.

Resources