Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on android(.net 9) when trying to open bottom sheet #142

Open
whysrini opened this issue Nov 30, 2024 · 6 comments
Open

Crash on android(.net 9) when trying to open bottom sheet #142

whysrini opened this issue Nov 30, 2024 · 6 comments

Comments

@whysrini
Copy link

Crash on android(.net 9) when trying to open bottom sheet and shows following error
Binary XML file line #15 in com.app.test:layout/the49_maui_bottom_sheet_design: Could not inflate Behavior subclass com.google.android.material.bottomsheet.BottomSheetBehavior"

@darrenf89
Copy link

Also getting the same issue. Was worried it was another dependency I had so tried a fresh .NET 9 project and getting the same result.

@trondwa
Copy link

trondwa commented Dec 2, 2024

Android works just fine in my project on .NET 9. However, iOS is not. How about you gays, does it work on iOS?

Just created an issue regarding my problem:
#145

@whysrini
Copy link
Author

whysrini commented Dec 2, 2024

Also getting the same issue. Was worried it was another dependency I had so tried a fresh .NET 9 project and getting the same result.

For now we can use https://github.com/softlion/The49.Maui.BottomSheet, i have tested with dotnet 9 Android and iOS its working

@whysrini
Copy link
Author

whysrini commented Dec 3, 2024

I merged both softlion/The49.Maui.BottomSheet and the49ltd/The49.Maui.BottomSheet and fixed some issue, it seems to be working with dotnet 9
The49 Maui BottomSheet.zip
iOS and Android

@trondwa
Copy link

trondwa commented Dec 3, 2024

I merged both softlion/The49.Maui.BottomSheet and the49ltd/The49.Maui.BottomSheet and fixed some issue, it seems to be working with dotnet 9
The49 Maui BottomSheet.zip
iOS and Android

Thank you!! Are you able to build the project you posted? I get a few errors.

@whysrini
Copy link
Author

whysrini commented Dec 3, 2024

I merged both softlion/The49.Maui.BottomSheet and the49ltd/The49.Maui.BottomSheet and fixed some issue, it seems to be working with dotnet 9
The49 Maui BottomSheet.zip
iOS and Android

Thank you!! Are you able to build the project you posted? I get a few errors.

Yes, try to update your MAUI work loads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants