MvvmCross support for Windows 10 apps(UWP) - c#

I have created Windows 8.1 app with mvvmcross. Now I have migrated the same app into windows 10 (UWP) app. I am not getting any mvvmcross reference issue.
While running the application I am getting splash screen, after some minutes I am getting below error :
An exception of type 'Cirrious.CrossCore.Exceptions.MvxException'
occurred in Cirrious.CrossCore.dll but was not handled in user code
Additional information: Could not find plugin type in assembly.
I have done step by step debug solution the Setup. Initialize() method is not calling while app launch.
Can you please let me know? Is mvvmcross library compatible with windows 10 apps(UWP)?

Related

Android crash after splash screen

I'm building an app with .NET MAUI Hybrid and I wanted to roll out a new test version of the app on both iOS and Android. All previously test versions have worked just fine but now on Android (works on iOS) an error occurs after the splash screen, the app itself doesn't crash but I get yellow-ish popup that blazor applications gives you when an error has occurred.
I've generated a bug report via settings on the phone but it didn't really tell me much. I did find a small stacktrace but my google attempts were fruitless.
Exceptions thrown (exception_count, class_name):
22 java.lang.IllegalArgumentException
2 java.lang.SecurityException
2 android.os.ParcelableException
I'm unsure if it's my code that's the problem here since it works perfectly whilst debugging on a physical device. I did add Community Toolkit MAUI to the project during this iteration, however currently it's unused on Android, still included in the build but not used.

Xamarin.Forms Azure App Service SQLite integration - WP 8.1 Issue

I'm trying and setting up an Azure App Service database (easy table) integration on my Xamarin Forms App, following the instructions I found on these two posts: this one, by James Montemagno, and the one I found on a Xamarin Developer Guide.
Now, everything works fine on the Android App but I've got an issue on Windows Phone 8.1: I can build my app, but it crashes when executing the var something = new MobileServiceSQLiteStore(path); instruction ({"Unable to load DLL 'e_sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}).
Here's my SQLite & Azure-related reference:
.
Any idea on why this issue is happening?
Thanks!
Jacopo
UPDATE - 25/11/2016
I tried building the same project with the same libraries in Windows UWP, and it works.
Is there a WP 8.1 non-compability with the Microsoft.Azure.Mobile.Client.SQLiteStore I couldn't find any reference about, maybe?
Could this issue be related to the Visual C++ 2015 Runtime Package (UWP) vs the Visual C++ 2013 Runtime Package one (WP8.1)?

UWP crash after app start: "The internal MapControl framework failed to initialize"

In my Windows 10 UWP app I am using a MapControl and ApplicationInsights. I see reports of crashes of that app, which I cannot reproduce or know how to fix. The only information the crash reports are offering is the following:
A privilege that the service requires to function properly does not
exist in the service account configuration. You may use the Services
Microsoft Management Console (MMC) snap-in (services.msc) and the
Local Security Settings MMC snap-in (secpol.msc) to view the service
configuration and the account configuration. The internal MapControl
framework failed to initialize.
Seems like the crash occurs at the app start, as I appears even before the "MainPageView"-eventreport of Application Insights. Is anyone in the same situation or knows a fix for this issue?
Had the exact same issue with a Lumia 925 updated to Windows 10 Mobile, and in the end it seemed that the entire Maps framework was corrupt on that specific device.
You can check that the problem happens to any application that uses a MapControl by opening the native Maps application - if it crashes too, you will have to wipe and reinstall Windows 10 Mobile on that device.

Windows Phone 8.1 app crashing on startup

I'm having a frustrating issue developing for Windows Phone 8.1 and hoped somebody might have lived through the same thing.
I've had the app running on my phone from a few different deployment packages I created. I recently started deploying directly from VS to my phone when debugging. Everything is working fine. However, when I try to run the app without VS attached, it crashes after the splash screen, with no exception details given. It simply closes.
I've added a handler to the UnhandledException event that will output exception details to a dialog, but this is not displaying anything. The crash only ever occurs when starting the app from the phone.
I reverted to creating a deployment package and deploying that using the tool. However, this version also crashes on start with no message.
Weirder still, I've used one of the deployment packages that had been working fine, and I get the same error: crash, with no message.
I just don't understand this behaviour. Why has an old package that used to work stopped working? I'm using roaming data and considered it might be to do with that, but I really have no other ideas. Please help!

Problems with upgrade from a Windows Phone 7.5 project to WP8

I'm trying to maintain two versions of my app targeting WP7.5 and WP8. I started with the WP7.5 app and added a copy of the project with linked files. Then I upgraded the "linked" project to WP8 via the Visual Studio command. When I run the WP8 app on the emulator it crashes with a System.InvalidOperationException in System.Windows.ni.dll when executing a MessageBox.Show() command. The output windows shows a FileNotFoundException in mscorlib.ni.dll before the error message previously mentioned.
I tried adding mscorlib.dll to the WP8 project, but VS tells me it's already referenced. I also tried setting all capabilites in WMAppManifest as seen in similar threads but the problem is still alive. Can anyone give me a hint?
Below is my output after execution. I hope you don't mind the german.
Windows 8 Windows Phone 8: In Windows Phone 8 if you call Show method from the app Activated or Launching event handlers an InvalidOperationException is thrown with the message Error Displaying MessageBox. Alternatively, you should call the Show method from the Page.OnNavigatedTo(NavigationEventArgs) method.
Found that in MSDN and this applies to my situation. That was exactly my problem.

Categories

Resources