Add Platform in Application Registration Portal - xamarin.forms

I am trying to register a mobile app to the Application Registration Portal but whenever I click the App Platform I get the option of 1. Web 2. Native Application 3. Web API. But I do not see the option for mobile app.
But when I try the native app, two platforms are added. one for Web and the other for Native Application. Why the platform for Web is added.
I am very new to this development.
Because of this whenever I am running the Xamarin.Forms app on iPhone simulator, I am getting the message that "Safari cannot open the page because the address is invalid".

Native application is for both the PC's application and the mobile application.
When you choose native application, web application is added because you may need to use a web server as a back-end service for your native app.
I don't think this issue related to your problem with iPhone and Safari.

Related

Allow some controllers to one app and not the others

We are developing a mobile app and this app will call the same APIs as the web one.
We want to create specific controllers for the mobile app and prevent it from calling the ones for the web app and vice versa.
Both apps send an access token which contains the client_id for each app.
Is it possible to do something like this :
[Authorize("mobileOnly")]
And check in the OnAuthorization if the request comes from the mobile or web app.
Or is there a better solution?
Edit: We are using .Net framework not .Net Core

iOS List of Installed Apps by User || XAMARIN FORMS

I am creating an iOS application using Xamarin Forms which is a copy of an Android application written in Kotlin.
There is a section that lists all the applications installed in the current device by the user. I want to implement the same functionality in the iOS application too.
Is it possible to get the applications list in iOS through Xamarin Forms?
This is impossible on iOS and it is not possible on Android either if you target latest API levels, so in some future when those API levels become required on Google Play you won't be able to do this.
This is a huge privacy issue, as having the list of apps may reveal something very personal and private and as soon as the app has it there is nothing that prevents it to send the info to the 3rd party server.

How can I make an axios call to my asp.net core web api with a react native app?

I have 1 ASP.NET CORE application on my desktop(Visual Studio 2019) and a React Native(VS Code Expo) app on my android phone.
I wish to use AXIOS to call some GET web api in the ASP.NET CORE application from my mobile app.
I can use POSTMAN to call the api via localhost, but I don't think my application on my desktop and mobile have same localhosts.
Need some help :)
If you want to call API which run your localhost on Android Emilatör, you must change proxy settings of emilatör. I think you deploy your API to a server, after that you can call easily.

Host web cam in uwp app over asp.net website

I have an asp.net web application and a universal windows platform application running on my laptop with a web cam.
I want to access the web cam from my asp.net web application.
If you want to access access camera from a web hosted UWP app, you can refer to Create your Hosted Web App. And you probably need to enable the WebCam and MicroPhone capabilities in UWP App's manifest file in some scenario.
If you want to make your web application can directly call the camera device without a UWP app, you can use some jQuery webcam plugin. For example, you can try this one. But this can not be used from your UWP app.
In this case, if you want to access web cam both from hosted uwp app and your web app, you need to implement two procedures in your web app, one for hosted UWP app using WinRT API to call the camera, the other one for web app only.

Web application into web app

I have the following requirement and I couldn't figure out a way to achieve it.
I have a mobile friendly web application developed using ASP.NET MVC. It works fine as a normal web application. Now my client wants it to be more like a native application (like the Facebook app for mobile, where you can download and install it and still opens in a browser window when you run the executable file.More importantly, all the fixes and updates are reflected in the application without having to re-install it.)
Can someone guide me through this?
As you said he wants to run application like website in browser. it sounds like that he just wants some sort of Shortcut for website.
Then you just create an application and fire your event to run site URL in browser.
as you said
all the fixes and updates are reflected in the application without
having to re-install it.
means this is just a site.
in other case use Phone gap (http://phonegap.com/) it matches your requirements and uses HTML for styling and almost all features of an typical site.
PhoneGap Support to Different Mobile Plateform (Claimed by PhoneGap)
http://docs.phonegap.com/en/edge/guide_support_index.md.html#Platform%20Support
The Native application need to be developed in separate platforms. Like Android, IOS, Nokia, BlackBerry, Windows Phone etc., If the Application requires all the platform apps.
In our concern we have developed few apps same as your requirement. When user wants to view in PC they can view entire web with responsive design. Same will work, if customer access from mobile with in mobile view. Entire application will work accordingly for PC, TAB and MOBILE with responsive design.
If you go for Native then the platform apps need to be developed and inside app they will use to call your site url with in WebView. Like PC Browser calls URL.
So, when ever you made any changes the changes will be reflected in your app also. without reinstalling the app. Since webview is calling only your URL. For this internet is must.
You can make these kind of Apps with setups and designs through Online itself. Just give your URL with that.
Link Here : Apps Bar
Link Here : App Makr
Google It : Google

Resources