MAUI APP does not run, android-API34 issue ?
Hi everyone, i'm facing a problem using dotnet 8.0 and Maui. I read that an android api is automatically associated to a dotnet version. So for .Net 8.0 the android api is 34.0 I installed the Maui workload and created a new project, then i ran(build) it without any modifications and all the necessay packages installed without issues But when i go to the generated bin folder and run windows app it does'nt even show up, For android part i installed the signed-apk in virtual device and here is what i get : I found somewhere that this was the api 34 issue, i tried to install .Net 7.0-API 33 and .Net 9.0-API 35.0 but facing the same problem. What should i do now... please help me THNKS!!!356Views0likes2CommentsSynchronizing Photos and Data with Xamarin, Asp.Net Core, and MSSQL
Good day! I am in the process of developing an internal application for merchandising purposes, intended not for the general user base. However, I'm encountering an issue: our employees often find themselves in locations with either no internet connection or a very poor one, which hinders their ability to upload necessary photos for their tasks. The development is utilizing Xamarin, Asp.Net Core for the API and MSSQL as the database. My question to the community is: how can we implement functionality that would allow employees to collect the required data throughout the day and upload it at the touch of a "Upload" button at the end of the day when internet access becomes available? Are there proven approaches or tools that could facilitate the implementation of such a solution? Your advice and experience would be incredibly valuable in overcoming this challenge.227Views0likes0CommentsHow can I publish my Xamarin App to the App Store?
Hello everyone, I tried to publish my application in the App Store, but during this process I've faced an issue. I already prepared everything I need for the distrubution. I have a certificate, an identifier with the same bundleID like my application and a provisioning profile. Anytime I try to build my application, everything worked fine until the distribution process. I already defined the build options of my IOS project, I selected the distribution certificate and the provisioning profile I generated and I included the property list file (info.plist) into the build options. So anytime I try to publish the application through the visual studio assistant it gets to the point, an .ipa file gets generated and afterwards it complains with the message "unable to validate archive". My next try was opening the created archive file with XCode and trying to publish the application with XCode itself. Even there anything worked without issues, until I had to choose a provisioning profile for the distribution. After selecting the created provisioning profile XCode complained about missing entitlements inside the provision profile, although I already defined them inside the property list file of my Xamarin IOS project. Inside my Apple Development account I don't have the opportunity to set any entitlements like in the property list. I also tried to contact the Apple Development Support, whether they can give me a permission to edit those entitlements inside the provisioning profile. But they rejected my request, due to the fact that I use a thrid party plattform (visual studio) for the distribution. Now my question is, how can I solve the conflict between the missing entitlements inside the provisioning profile and the property list I've already included into my build options? Or is there another possibility to add such entitlements inside the provisioning profile? If anyone knows how to solve that issue or knows what I could have missed during this process, please let me know. Thanks in advance.446Views0likes0CommentsMigrating Xamarin app to MAUI Startup Much Slower
I am migrating a Xamarin iOS / Android app to MAUI. When I start the MAUI app using Visual Studio for Mac on either Android or iOS, the startup time is about 12 seconds longer. This is near the beginning soon after loading all of the debug DLLs. I initially show a LoadingPage that is a simple ContentPage by setting App.MainPage = new LoadingPage(). I then pause for about 1 second to allow that to finish loading and set App.MainPage = new MainPage(). MainPage is also a ContentPage and has many views as children. One of its children is ContentView called MainView. These are all XAML files with simple code behind and then ViewModels to implement all binding. When starting up the MAUI version of my app, there are about 12 additional seconds where the screen is just blank between the loading page and the main page. I am not asking here for someone to know the answer without all my code. I am asking here for suggestions on where to look and how to diagnose this startup issue...433Views0likes0CommentsMAUI project iOS simulator startup failed MT7091
onnxruntime.xcframework/ios-arm64_x86_64-simulator/onnxruntime.framework/onnxruntime File format not recognized I have a MAUI project. When I tried to start using the iOS emulator, an error occurred. VS was able to connect to the MAC machine normally, but the emulator failed to start. The error is as follows I tried to search for related errors on the internet, but I couldn't find a similar situation, and I couldn't find any relevant information about MT7091 either。 My VS version is as follows:434Views0likes0CommentsAndroid Xamarin App Calls OnResume After Reinstalling
I have a Xamarin cross platform app. On only a few Android phones when I uninstall the app and then install a new version, the permissions I requested before are gone like I would expect, but the first time the app launches, it is calling OnResume and all of the Preferences I have saved via the Xamarin.Essencials.Preferences api seem to still be there. One of the phones is a Samsung S22 Ultra. That phone is somewhere else and not a developer, so I can't actually debug on the phone. I have tried it on a friend's phone that is also a Samsung S22 Ultra, but everything works normal and OnResume doesn't seem to be getting called on that phone. On this working phone when I uninstall the app it also removes all of those preferences. Can someone tell me what setting on a phone would cause this?351Views0likes0CommentsTips on creating an Android app to consume webservices
Hi I have a database online at my ISP containing movie information that I would like to build an Android application around. I have also created a couple of SVC webservices in Visual Studio to return movie and actor information. These are also located in my ISP environment. For a start I would like to build filtered lists of movies and actors in the database with the services created earlier. There are services for lists and details of movies and actors. Are there any sample C# projects somewhere where I can get a little head start in an Android application using Visual Studio and Xamarin? Regards Peter896Views0likes2Comments.NET MAUI AppLinks
Xamarin.Forms documentation has information on how to setup app links. .NET MAUI works with single project for both iOS and Android. I didn't see documentation to setup AppLinks/UniversalLinks in iOS and Android. Could you provide info on how to setup applinks and universal links (Android and iOS) in single project scenario?Solved7.3KViews0likes5Comments