-
Notifications
You must be signed in to change notification settings - Fork 55
Stuck at splash screen with Cheesebaron.MvxPlugins.Settings 5.0.0 #111
Comments
No idea. The App does not crash? This doesn't leave me with much information to reproduce the issue, if at all with the library. |
No crash, it just stays at splash screen. The only change I do is updating the package. I am aware of that, but I have also exhausted my ideas what might be wrong/what to do. So, anyway thanks. |
What version of MvvmCross are you on? Do you have any warnings when restoring NuGet packages about downgrades or anything like that? What is the debug output? |
The latest 7.1.2. API 29, mono 10.
No downgrade warnings in log.
After some testing, I can tell that the issue happens when I just add the
package to Android project, I do not actually have to use it.
I did noticed that version 5, adds 2900+ lines to Resources.Designer.cs
'global::Cheesebaron.MvxPlugins.Settings.Resource.Animation.abc_fade_in =
global::Droid.Resource.Animation.abc_fade_in; '
'global::Cheesebaron.MvxPlugins.Settings.Resource.Animation.abc_fade_out =
global::Droid.Resource.Animation.abc_fade_out;'
'global::Cheesebaron.MvxPlugins.Settings.Resource.Animation.abc_grow_fade_in
_from_bottom = global::Droid.Resource.Animation.abc_grow_fade_in_from_
bottom;'
'...'
whereas version 4.1.2 only 18 lines mostly related to MvxBinding:
'global::Cheesebaron.MvxPlugins.Settings.Resource.Attribute.MvxBind =
global::Droid.Resource.Attribute.MvxBind;'
'global::Cheesebaron.MvxPlugins.Settings.Resource.Attribute.
MvxDropDownItemTemplate = global::Droid.Resource.Attribute.
MvxDropDownItemTemplate;'
'...'
Not sure if this might somehow cause it.
|
log.txt |
@Cheesebaron first of all great work in xamarin community. It is easy to reproduce. Create just a sample app. Add mvvmcross 7.1.2. plus your library. On Android target 10 and run android app. It freezes on splash screen |
I can confirm that.
Use TipCalc from examples and just add Cheesebaron.MvxPlugins.Settings 5.0.0
package via NuGet. Android version stuck at splash screen.
|
I'll have a look, thanks! |
Just to follow up. The fix is in 5.1.0. Thank you for reporting! |
Hello,
I have correctly working project with Cheesebaron.MvxPlugins.Settings 4.1.2. If I change the Nuget package to 5.0.0, the project compile, but the resulting app stuck at splash screen (tested on Android).
From debugging, I can tell that
public MainApplication(IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer)
public SplashScreen() : base(Resource.Layout.splash_screen)
are called (both have empty bodies) and that is all. No
Initalize
or another code is called after that and when I stop the project I get "No compatible code running".Any idea, what might be wrong?
Thanks,
Petr
The text was updated successfully, but these errors were encountered: