JaneySprings / DotNet.Meteor

A VSCode extension that can run and debug .NET apps (Xamarin, MAUI, Avalonia)
https://marketplace.visualstudio.com/items?itemName=nromanov.dotnet-meteor
MIT License
269 stars 10 forks source link

Android .NET MAUI app fully reinstalls on each build and deploy #128

Closed domneedham closed 2 weeks ago

domneedham commented 2 weeks ago

When debugging via .NET Meteor for our .NET MAUI Android app, the app is fully reinstalled, losing preferences, permissions etc. This requires going through app setup, such as logging in, again every time we want to debug.

Environment:

macOS: Our dev team see it on Ventura and Sequoia .NET MAUI: 8.0.40 but any above. Not sure about .NET 9 and MAUI rc

JaneySprings commented 2 weeks ago

Hi, @domneedham ! Uncheck the following setting:

image
domneedham commented 2 weeks ago

Thanks for replying so fast, that does fix it.

Do you know why this only affects Android? iOS, Mac and Windows with the same setting on does not lose any previous install data?

JaneySprings commented 2 weeks ago

No problem! Because Windows, MacOS and iOS are store they cache in the different locations (Like ApplicationSupport or %AppData%) and I don't clean it. But Android has some installation issues if you don't uninstall this application before the installation (version downgrade etc.)

domneedham commented 2 weeks ago

Makes sense. Thanks again!