qnblackcat / uYouPlus

uYou+ is a modified version of uYou (made by @MiRO92) with additional features and mainly made for non jailbroken users!
7.16k stars 8.2k forks source link

[v19.12.3-3.0.3] Casting issue #1395

Open timfea926 opened 5 months ago

timfea926 commented 5 months ago

Is there an existing issue for this?

Have you read the FAQ?

Device information

Describe the issue

When I click the Cast icon it tells me to go to Settings and enable Local Network access. The thing is Local Network is already enabled! This seems to be a problem across all tweaked YT apps.

Steps to reproduce

  1. Open uYouPlus v19.12.3-3.0.3
  2. Click the Cast icon at the top
  3. When the prompt shows up Enable Local Network Access, open the Settings app and click YouTube to confirm that Local Network is in fact checked off
  4. With Local Network enabled, close uYouPlus and restart, then try clicking the Cast icon again. If you have my problem, you will continue to get the same prompt to enable local network access even though you’ve already done so. IMG_4390

Crash log

No response

Are you using the latest version of uYouPlus? If not, why?

✅ Yes, I'm using the latest version of uYouPlus

Does the issue happen with the official YouTube app from the App Store?

❌ No, I cannot reproduce this issue in the official YouTube app from the App Store

Additional information

Like everyone else, I also have the problem with Sponsorblock causing the app to crash. Right now it’s disabled so I can actually watch videos.

IphoneCake commented 4 months ago

I had the same bug. I was able to work around it with a workaround by simply turning off the WLAN and then pressing the cast function again. If you have an Alexa Fire TV Stick or Cube, it should also be found, even if you are not connected to the Wi-Fi. Now press connect and you can stream via your smartphone again. However, this only works as long as the stick or Cube has power and remains switched on. If you disconnect the device from the power supply, simply repeat the steps. I would be very grateful for a fix from Miro or arichornlover

Kind regards Dominik

Yunogamer commented 4 months ago

using it over cellular works fine, link the destination device by manual code. access casting to add the code by youtube settings, not the casting icon on main screen.

looks like broken by some tweak change not google or it be broken both ways not just wifi..

Stavrak2 commented 4 months ago

19.07.5 appears to work

at a guess we’re running sideloaded versions and it’s checking the specific YouTube app identifier has the setting turned on and not finding it

IphoneCake commented 4 months ago

Yes, the same applies to me. I use the uyouEnhanced [v19.02.1-3.0.1] The uyouEnhanced version should have been released around the date 01.18.2024. I had updated to 3.0.3 v19.10.5-3.0.3 recently, because I wanted to update again and only had problems. Sponsor block no longer worked, app kept crashing, so hardly usable. That was about a month ago. I then installed uyouEnhanced [v19.02.1-3.0.1] Version again via sideload, everything worked again as before, no problems. This also lasted for about 1 month. Until recently the update 17.4.1 was installed via Itunes, because I wanted to make a backup of my IPhone 14 Pro Max. Then the massive casting problems started. As the previous speakers have already said, turn off WIFI and do it via cellular. It is best to connect to the TV beforehand using a manual code with the iPhone. I currently use a Fire TV Cube from Amazon with the "Smarttube" application. It should definitely work with this interaction. I would be interested to know, which IOS versions you have installed or whether it really is a Google problem, as older versions of uyouEnhanced are also affected by the problem.

Kind regards Dominik

Write commented 4 months ago

I can confirm the bug happens on sideloaded YouTube even without any addons / plugins added.

Stavrak2 commented 4 months ago

I think I’ve fixed it. Here’s how:

Go to You —> Settings —> A/B —> Enable to show A/B settings (if not already enabled). Reopen YouTube

again go to You —> Settings —> A/B. In search settings enter ‘local’. Enable the one ending ‘wififixes’ and the one ending ‘reliabilityfixes’. Go back, force close and app and reopen.

Seems to work for me.

Write commented 4 months ago

I think I’ve fixed it. Here’s how:

Go to You —> Settings —> A/B —> Enable to show A/B settings (if not already enabled). Reopen YouTube

again go to You —> Settings —> A/B. In search settings enter ‘local’. Enable the one ending ‘wififixes’ and the one ending ‘reliabilityfixes’. Go back, force close and app and reopen.

Seems to work for me.

Thanks a lot, it seems to work for me too !

I couldn't find wififixes you mentioned but I just enabled

cxClientEnablelosLocalNetworkPermissionReliabilityFixes

And it works great so far

image

timfea926 commented 4 months ago

Unfortunately, these changes did not work for me.

Write commented 4 months ago

Unfortunately, these changes did not work for me.

Yup it stopped working for me too. weird.. -.-

Bigmac375 commented 4 months ago

This bug appeared after update, and the fix listed does not work, except for the switch to cellular. uYou enhanced current version works fine when casting.

Reverting to v18.15 is the only fix I’ve found for now.

iPhone 11 iOS 17.4.1 Altstore

Stavrak2 commented 4 months ago

I think I’ve fixed it. Here’s how: Go to You —> Settings —> A/B —> Enable to show A/B settings (if not already enabled). Reopen YouTube again go to You —> Settings —> A/B. In search settings enter ‘local’. Enable the one ending ‘wififixes’ and the one ending ‘reliabilityfixes’. Go back, force close and app and reopen. Seems to work for me.

Thanks a lot, it seems to work for me too !

I couldn't find wififixes you mentioned but I just enabled

cxClientEnablelosLocalNetworkPermissionReliabilityFixes

And it works great so far

image

Can you screenshot what appears when you search the word 'local'? As one of the flags appears when I do that which you may not have enabled (or not been able to)

To clarify the two that need enabling are

cxClientEnableIosLocalNetworkPermissionReliabilityFixes and cxClientEnableIosLocalNetworkPermissionWifiFixes

Please reply when tried and successful or show which flags you can see

Freenex1911 commented 4 months ago

These changes do not work for me either. I still get the casting issue.

Model: iPhone 15 Pro iOS: 17.4.1 uYouPlus: 19.10.7-3.0.3

tdsf commented 4 months ago

Working with only those 2 toggled. image

Freenex1911 commented 4 months ago

It works! I just had to disable the cxClientEnableIosLocalNetworkPermissionUsingSockets option too.

YabberWalkie commented 4 months ago

Can confirm by enables all the localnetwork fixed/reliability settings on and then disabling the socket setting, export from modified settings:

Total: 4 YTColdConfig.cxClientEnableIosLocalNetworkPermissionReliabilityFixes: 1 YTColdConfig.cxClientEnableIosLocalNetworkPermissionUsingSockets: 0 YTColdConfig.cxClientEnableIosLocalNetworkPermissionWifiFixes: 1 YTHotConfig.isPromptForLocalNetworkPermissionsEnabled: 1

rbouma commented 3 months ago

Can confirm after also disabling YTColdConfig.cxClientEnableIosLocalNetworkPermissionUsingSockets what @YabberWalkie suggested, its working.

webmatrixxxl commented 3 months ago

This configuration does not working for me on iOS

Stavrak2 commented 3 months ago

This configuration does not working for me on iOS

What, exactly, have you done?

webmatrixxxl commented 3 months ago

This configuration does not working for me on iOS

What, exactly, have you done?

Total: 4 YTColdConfig.cxClientEnableIosLocalNetworkPermissionReliabilityFixes: 1 YTColdConfig.cxClientEnableIosLocalNetworkPermissionUsingSockets: 0 YTColdConfig.cxClientEnableIosLocalNetworkPermissionWifiFixes: 1 YTHotConfig.isPromptForLocalNetworkPermissionsEnabled: 1

YouTube 19.17.2 uYou 3.0.3 I iOS latest

I'm trying to cast to Google Home Mini speake. It is not found on the devices list pressing the cast button.

Stephan-87 commented 2 months ago

Plz add the configuration to the next release

diegoorosa commented 2 months ago

Still not working for cast, all the settings was already like the one mentioned.