Questions tagged [xamarin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
4answers
320 views

Raising concerns on the codebase as a new hire

I'm new in the team (< 3 weeks) but I believe I am experience enough as a Xamarin dev to know what I'm doing and also experience enough on using Prism library to give some criticism on how things ...
-3
votes
4answers
115 views

What's should I call a Location (Longitude and Latitude) associated with a DateTimeOffset? [closed]

In the Xamarin.Essentials library there is a Location class that comes with a DateTimeOffset TimeStamp. I know I'm being pedantic and I should just move on - I know it's to indicate a location of the ...
2
votes
1answer
350 views

How to authorize and store user login from a xamarin frontend to a asp.net core api

So I suppose this question isn't as much as a 'How to' but a 'which way' kind of question. So I have a .net core api backend that makes calls to a dB I also have a xamarin forms project that ...
0
votes
0answers
102 views

Implementing Core Data parent-child context relationship via Entity Framework

I'm working on porting an iOS app to Xamarin, where it's hoped that the Xamarin project will match as much of the logic and layout of the iOS project as possible. One big area that the iOS project ...
1
vote
1answer
86 views

How to properly handle deployment configuration for Xamarin Forms app

We are currently working on a Xamarin Forms (.NET Core) application. We use Microsofts DevOps for the code repo, building and deployment. Since we want to test newly developed features in a safe ...
4
votes
1answer
149 views

Architecture to lock account to mobile device

I'm currently creating a mobile app and have the following issue. I am required to only allow the user to login from a device that is registered to the users account. A user can have up to X number of ...
1
vote
1answer
506 views

What is the proper way to change the View from a ViewModel when using the MVVM pattern?

I'm trying to follow the Model–View–ViewModel pattern in a Xamarin application and am wondering how the View should be able to change when a given ViewModel is finished. Below I have listed the ideas ...
1
vote
1answer
139 views

Deploying Multiple Versions in One App Package

This is a question about Android, and iOS apps. The technology is Xamarin (C#) but this is not really important. The app will be deployed to the stores. The client app must be compatible with the ...
1
vote
0answers
62 views

Xamarin communication between devices, not using the internet

How would you go about if you would like to create something like: You have let say 3 devices (can all be iOS or Android, a mix is not necessary) One of the devices would act as a master and the ...
0
votes
1answer
154 views

RESTful API get requests by “modified” condition from mobile app

Currently I have following scenario. I have two projects: ASP.NET Core Web API and Xamarin.Forms app. General idea is to have consumer (Xamarin.Forms app) which is getting data from server (Web API)....
-2
votes
1answer
98 views

How to calculate user activity

I am working on a Xamarin.Forms PCL social media app project. People can like posts and comment on them which is saved in MySQL. I would like to add an activity page. What is the best way to ...
1
vote
1answer
277 views

Best way to manage services and exceptions

I have a mobile app who consumes a api service. I have a class to manage all the operations (get, post, put) who throws exceptions if the result is not 200. The app was originaly designed to be ...
3
votes
3answers
849 views

How to decouple code behind with business logic?

I'm having a hard time to decouple two classes. I have my code behind (will call it "class A") that I use to tweak the interface (defined in xaml). Next I have a class B that is only logic. But ...
1
vote
1answer
149 views

Most convenient way to implement the models used by the Service Access layer of a Xamarin application

I am new to the Xamarin technology, and I am working on an Asp.NET Core Web application which basically delivers micro-services which will be consumed by a Xamarin.Forms application. So my Web API ...
1
vote
1answer
367 views

Project.json and NuGet on a Xamarin.Forms Project

I am relatively new to Visual Studio (I've spent most of my life on Linux) and I am fairly befuddled about the Windows build process, especially regarding NuGet. I have a Xamarin PCL solution with ...
0
votes
1answer
381 views

How to add formatting/validation rules to UITextfield on Xamarin.iOS

This looks like another network's question, but I think it fits better on here rather than StackOverflow, since it's not gonna have one basic answer. We are in the context of iOS development, I'm ...
1
vote
0answers
138 views

How to separate source code directories from build directories with VS Xamarin solutions

I've been using CMake for years when developing in C++ using Visual Studio. My directory layout has always seen me separate source code directories from build directories. For those who are not ...
0
votes
2answers
3k views

Distinguishing the differences between view model and service layer

First project trying to use MVVM and Xamarin Forms, so please be gentle; however, I am at a lost on how to differentiate between the logic that belongs in the view model and model/service layer. I am ...
0
votes
2answers
420 views

How to properly architect app to display long forms with a lot of controls?

Basically, I've been tasked to work on a Xamarin.iOS app (predominantly for tablets only) that would display a long scrollable form that contains ~200 controls (buttons, switches, text fields, etc...)....
-6
votes
1answer
124 views

How much time/labor is spent setting up, and publishing a cross-platform mobile app? [closed]

Let me provide an imaginary scenario so that my question is fully understood. Let's assume you are an experienced cross-platform developer for iOS, Android and Windows Mobile. Someone asks you to ...
-2
votes
1answer
413 views

Would learning both XAML UI and XML UI be helpful in improving understanding of XML in general? [closed]

I'm familiar with HTML/CSS, and some non-UI programming using C#/node.js/Java and looking at options for building a simple mobile app. I will definitely use Xamarin, and have to choose between ...
5
votes
2answers
699 views

Should I remove “everything” from my controller in MVVM?

I'm working with Xamarin and we are following the MVVM design pattern. For those who don't know what Xamarin is, it's a technology that allows us to build iOS and Android apps with shared code. ...
1
vote
1answer
2k views

Is it good idea to save user/password and get token from server automatically behind the eyes of the user?

Suppose I have a REST API backend and it is used by a mobile app. Authentication is based on tokens (JWT) with expiration time. Mobile app user does not want to enter credentials so often, even for ...
0
votes
2answers
1k views

Web API vs Entity Framework with Repository Pattern using Xamarin

My team currently has a WPF application that runs on PC just fine. It utilizes Entity Framework 6 with the Repository/Unit of Work pattern that talks to Azure for the database store. We service a ...
1
vote
1answer
1k views

WCF Server for a mobile apps (Xamarin.Forms)

I have a “whiteboard” question. Technically I’d like to ask you about one thing I’m not sure in my design, but if you have time for a quick review the rest of the design - that’d be great. Every tip ...
4
votes
2answers
2k views

Is blocking a UI thread sometimes a good idea?

Say, I created a custom button which includes some animation which is played when the button is clicked. The animation takes 500ms. During that time (until the animation is over), the button should ...
1
vote
0answers
2k views

Sockets (SignalR) vs Push notifications

I'm developing a Xamarin.Forms app with a .Net Web API backend. I definitely don't want to do long polls on my app to the server, but I need the app to remain updated with the server information. I ...
2
votes
1answer
1k views

Let Xamarin clients listen when server send an API

My situation I will make a Xamarin application for Android that can access an ASP.NET MVC webserver with API's. The problem is when I'll send an API to the server, all the connected clients must ...
1
vote
1answer
245 views

Xamarin/Mono LGPL Compliance

The LGPL seems to stipulate that I have to distribute my app in a way that the LGPLed code can be replaced. Xamarin keeps saying that to distribute a mac app in the store, I need to use Xamarin.Mac ...
1
vote
1answer
1k views

How does package naming affects Android application once deployed?

Are there conventions to follow when naming an application package for an Android application? I'm coding in Xamarin Studio, using .Net, so I feel far from this "com.myapp.etc" naming convention. ...
2
votes
3answers
2k views

Could applications build in Xamarin possibly be banned from App Store by Apple? [closed]

Consider having restricted man resources and thinking about using Xamarin Studio for building cross platform application. Will you be afraid of Apple trying to ban all applications NOT developed by ...