maui icon indicating copy to clipboard operation
maui copied to clipboard

Calling API method to retrieve byte array fails in MAUI Android app

Open darutter0508 opened this issue 1 year ago • 2 comments

Description

I have a .NET 7.0 MAUI app that calls an API to retrieve a byte array of a file. The call completes correctly when the iOS version of the app executes, but fails to come back from the call when executed in the Android version of the same app.

Steps to Reproduce

Create a MAUI app using .NET 7.0 Create page that has a button whose event handler makes a call to retrieve byte array from API Execute app and press button When run in iOS, call success and process continues When run in Android, call never returns and app eventually times out

Link to public reproduction project repository

No response

Version with bug

7.0.101

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

6.0

Affected platforms

Android

Affected platform versions

Android 10 and up

Did you find any workaround?

No

Relevant log output

No response

darutter0508 avatar Jan 18 '24 16:01 darutter0508

Hi @darutter0508. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

ghost avatar Jan 18 '24 19:01 ghost

@darutter0508 can you also test on .NET 8?

PureWeen avatar Jan 18 '24 19:01 PureWeen

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

ghost avatar Jan 29 '24 19:01 ghost

trying to get a sample project to submit to show issue

darutter0508 avatar Jan 29 '24 20:01 darutter0508

Over a month without the requested info so I'm closing this for now. If you still experience this, please feel free to open a new issue with relevant code and ideally a reproduction project. Thanks!

jfversluis avatar Mar 06 '24 18:03 jfversluis