When you open a page containing TitleView or Toolbar Items, if an already running App is opened via deep linking on Android Emulator, the TitleView or the Toolbar disappears.
Initial
TitleView With Red BoxView & one ToolbarItem with the text option
After Deep linking
Steps to Reproduce
Have a Maui Page with TitleView or ToolbarItems or Both
Make sure the MainActivity Can take deep linking IntentFilter
For toolbar Items, I was able to provide a workaround by removing and re-adding the toolbar items on the OnNavigatioTo method of ContentPage. However, TitleView seems to be not working.
Relevant log output
Log output after the deeplinking -
``
[EGL_emulation] app_time_stats: avg=555.76ms min=0.95ms max=9371.05ms count=17
[Parcel] Expecting binder but got null!
[igationbarissue] Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals()
[EGL_emulation] app_time_stats: avg=102.45ms min=0.72ms max=1312.70ms count=14
I am also facing the same issue in Android if an already running App is opened via deep linking on an Android device, the TitleView or the Toolbar items disappear.
Description
When you open a page containing TitleView or Toolbar Items, if an already running App is opened via deep linking on Android Emulator, the TitleView or the Toolbar disappears.
Initial
TitleView With Red BoxView & one ToolbarItem with the text option
After Deep linking
Steps to Reproduce
Have The App Running
Use the ADB command to deep link the App to Android Emulator
Environment
OS: Windows 11 VisualStudio Version: 17.7.5 Android Emulator: API 33 TargetFrameworks: net7.0-android
Link to public reproduction project repository
https://github.com/mkshiblu/MAUI/tree/main
Version with bug
7.0.92
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 10+ , didn't test other versions
Did you find any workaround?
For toolbar Items, I was able to provide a workaround by removing and re-adding the toolbar items on the OnNavigatioTo method of ContentPage. However, TitleView seems to be not working.
Relevant log output