Several missing connections. If you follow this step-by-step you'll notice that the class on the xaml page is not the same as the class he shows. I really appreciate people taking the time to put tutorials like this out, but if they don't completely work then they just confuse.
Look at time 1:28 in the video. The 'S' in "SendNotifications" is underlined. Also, the 'S' in "Save". The error reported on my machine is No data context found for Binding. Which seems right. Because when I click the 'Save' button, the Save Method does not get called. I don't know why yours works and mine doesn't I checked everything 10 times, I have everything precisely as your tutorial. Also, I believe there is a required step from Part 1, Secured Storage. When you make entries to the MauiProgram.cs file. I believe the builder must be set for Part 2. But I skipped secure storage Part 1, and missed that part. Part 2 would be better if you describe that necessary step.
Did you set the ViewModel? You need to set BindingContext of the View to your ViewModel. I think if you also add the DataType, intellisense can resolve the binding errors at compiletime. Otherwise, they will be there, because here binding only happens at runtime
I have tried using the same wrapper, well I named it differently I think but the logic is the same, it caused my app to crash immediately on launch on android, and even when debugging, it doesn't show the root, it just breaks out and says "emulator return code xx..), reverting to use Preferences.Default directly fixed this issue... Any idea why?
I don't see where you call your LoadSettings method ?
Several missing connections. If you follow this step-by-step you'll notice that the class on the xaml page is not the same as the class he shows. I really appreciate people taking the time to put tutorials like this out, but if they don't completely work then they just confuse.
Look at time 1:28 in the video. The 'S' in "SendNotifications" is underlined. Also, the 'S' in "Save". The error reported on my machine is No data context found for Binding. Which seems right. Because when I click the 'Save' button, the Save Method does not get called. I don't know why yours works and mine doesn't I checked everything 10 times, I have everything precisely as your tutorial. Also, I believe there is a required step from Part 1, Secured Storage. When you make entries to the MauiProgram.cs file. I believe the builder must be set for Part 2. But I skipped secure storage Part 1, and missed that part. Part 2 would be better if you describe that necessary step.
Did you set the ViewModel? You need to set BindingContext of the View to your ViewModel. I think if you also add the DataType, intellisense can resolve the binding errors at compiletime. Otherwise, they will be there, because here binding only happens at runtime
Hi I noticed that maui secure storage returns null when accessed multiple times or locked the phone or in app background. Do you ever faced it?
I have tried using the same wrapper, well I named it differently I think but the logic is the same, it caused my app to crash immediately on launch on android, and even when debugging, it doesn't show the root, it just breaks out and says "emulator return code xx..), reverting to use Preferences.Default directly fixed this issue...
Any idea why?
Is that project available on GitHub?
This one is not. For newer videos I am trying to push code to GitHub
Great tutorial as always, Thanks.