GoogleCast icon indicating copy to clipboard operation
GoogleCast copied to clipboard

didn't connected to Chrome in ios release mode but working fine in debug mode

Open shahtajjawaid opened this issue 3 years ago • 3 comments

Hi, I have created an application using Xamarin and used a chrome cast in it. Application working fine in Debug mode bug but when await ConnectAsync(selectedcastdevices) call it didn't work in release mode and did not connect to the casting device. I am using the google cast plugin for the chrome cast technique. mac os Catalina 10, iPad 15 version, and vs 2019.

I have done too much research about this issue before posting it here and what I have concluded is 'issue can be of Permission' (debug mode doesn't ask for permission) but in release, it asks and somewhere in this permission section is vulnerable cause it works fine in debug mode as mentioned above

it executed Semaphore.Release() and never come back on release mode and show nothing

In info.plist, NSAppTransportSecurity => NSAllowsArbitraryLoads set to true is already added.

shahtajjawaid avatar Nov 25 '21 03:11 shahtajjawaid

Hi, we're encountering the same issue with our application. (Xamarin Forms : 5.0.0.2083 / GoogleCast : 1.7.0)

We're getting TimeOut in iOS Release but not in Debug mode. We gave like all permission to the app.

Did you find any workaround ?

AlyosA avatar Nov 30 '21 17:11 AlyosA

Hi alyosA No we are still stucked in the same. we also provided all permissions but no luck.

shahtajjawaid avatar Dec 02 '21 05:12 shahtajjawaid

I just came here to report the same thing. It does not make any sense.

cncb-gh avatar Jan 21 '22 20:01 cncb-gh