AdguardTeam / AdguardForAndroid

Open bug tracker for Android version of AdGuard.
https://adguard.com/
1.31k stars 89 forks source link

adguard adblocker not working for sonyliv app in android #4296

Closed spidy2356 closed 1 year ago

spidy2356 commented 1 year ago

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Issue Details

after enabling adguard adblocker android, sonyliv app content streaming not working, it freezes or remains buffering

Expected Behavior

sonyliv app should start content streaming without ad.

Actual Behavior

sonyliv app content not stream, it freezes

Screenshots

sonyliv app doesn't allow to take screenshot. sorry for that

Screenshot:

Additional Information

almost 1 yr ago I found a filter rule '@@||sonyliv.com^$generichide', after use it the problem was solved for many days but now after the sonyliv's recent update the filter rule not work anymore

spidy2356 commented 1 year ago

@maxikuzmin I send the mail. And is there no one from India in your developer team?

maxikuzmin commented 1 year ago

@spidy2356 no. Thanks, I got the logs, but they are now from version 3.6.11. Before that, you were sending logs from version 4.0. So on which version is the problem?

spidy2356 commented 1 year ago

@maxikuzmin but the problem is the same...the version change because of your beta key

maxikuzmin commented 1 year ago

@spidy2356 please unload the logs from version 4.0, I think it would not be superfluous

spidy2356 commented 1 year ago

@maxikuzmin I uninstall the nightly version to use this beta key and use this 3.6.11 version currently....so what I do now 😢 Edit: I finally succesfully upgrade to nightly version 4.0.621. and I resend the log files in 2 days. ok😊

spidy2356 commented 1 year ago

@maxikuzmin I tried some premium videos of sonyliv which are few miutes free.....they are works perfectly with adguard protection on. and the app loads well but the issue is free videos doesn't works with adguard protection on....looks like internet access are bloked. so I make a video and provide filterlog with playing all kinds of videos( premium, free) and send in mail in few days. ok.😊

maxikuzmin commented 1 year ago

@spidy2356 okay, we're waiting

spidy2356 commented 1 year ago

@maxikuzmin I send it to the email via pcloud, see the video. Firstly which video play flawlessly this is a premium video and secondly which video play,(not play every time flawlessly this type of category), just one episode free then premium and fully free video doesn't play at all with ad blocker.

spidy2356 commented 1 year ago

@maxikuzmin is the video understandable or I make a better video and send you, it is little hard to make video without ph holder....what your suggest...make another one or not

maxikuzmin commented 1 year ago

@spidy2356 if you can provide more materials to explore the problem, it would not be out of place. I have handed over all the materials, now we're need some time. Send more materials if you can provide more information about the problem

spidy2356 commented 1 year ago

@maxikuzmin what type of material or information you need?...You can take time as much you need...I just ask you, is the video which I send you, is understandable or not

maxikuzmin commented 1 year ago

@spidy2356 sorry for the long wait, we need a little more time

spidy2356 commented 1 year ago

@maxikuzmin it's ok....I will wait. No problem 🥰

spidy2356 commented 1 year ago

@maxikuzmin there is a video streaming platform called atoplay.com, but adguard extension/or any other adblocking extension can block its first 5secs skippable ads, then what can I do and how is it possible? if you said then I can make this point a new issue.

and secondly, I wanna ask you something, is that possible to block youtube ads by using the accessibility feature of android in Adguard? like I found an automation app "macro droid", and it has a few templates for blocking youtube app ads and it works well and it requires an accessibility feature, so I ask you if it was possible.

maxikuzmin commented 1 year ago

@spidy2356 on another app's problem, please start another issue. Viewing YouTube without ads is only possible with the "Share" button in YouTube

spidy2356 commented 1 year ago

@maxikuzmin ok I will create new issue. And I know the share option to watch YouTube videos without ads...but I'm asking is it possible using accessibility feature of Android like Macrodroid app?? Macrodroid can block official YouTube app ads...just search youtube u get know about it

maxikuzmin commented 1 year ago

@spidy2356 surely there are other ways to watch YouTube without ads, but here we are only talking about AdGuard :) For your main question, it will take some more time

spidy2356 commented 1 year ago

@maxikuzmin I wanna talk about the issue I registered. Recently I use only private dns> dns.adguard.com from network settings and the sonyliv app don't detect it and video plays without ads also. So is that possible to make a rule for sonyliv so that only dns will be in use and other filtering not work for sonyliv. If possible then make such a rule then I will try and inform u. Thank you

Edit:- sonyliv app detects vpn also. So as adguard filter as vpn so that's why it may be detected and video playing not possible at all. It is one of my theory...haha..

maxikuzmin commented 1 year ago

@spidy2356 so the sonyliv app doesn't detect DNS, and then there are no ads in the app? And how do you check that the app is not detecting DNS? Then why make a rule to filter the application only for DNS if you say that sonyliv does not detect DNS? Do you think the filters are interfering and that's why the ads are showing? Try turning off filters manually, leaving only DNS and see how it works

spidy2356 commented 1 year ago

@maxikuzmin Edit:- only if dns filtering on then sonyliv app works with adguard also. Then make a rule. I think this is the solution.

I turn off the adguard app and set private DNS from the android network setting > private DNS > host name: dns.adguard.com. that's it, and this method blocks every app and website ads and on sonyliv video plays ads free without no issue. I don't know sonyliv is detecting DNS or not but this method occurs no issue during video playback ( like video not plays at all if I use adguard app). ~~Maybe it's not adguard filtering problem as adguard work as VPN. so sonyliv detects VPN and stops video playback. I talked to a Bangladeshi person, he said that if he turns on VPN and plays Sonyliv and video not plays. the app detects it, and if he opens Sonyliv and then turns on VPN, it somehow starts working. just like my adguard issue. so maybe the issue(what I registered) occurs because of VPN filtering.~~

and I don't think that filters are interfering. Edit:- only if dns filtering on then sonyliv app works with adguard also. Then make a rule. I think this is the solution. I will cross check tomorrow and confirm u. Thanks

spidy2356 commented 1 year ago

@maxikuzmin I cross-checked, again and again, and only DNS filtering via adguard app occurs with no issue during video play in Sonyliv. then make a rule. that's the final solution.

maxikuzmin commented 1 year ago

@spidy2356 unfortunately there is no way to create a DNS filtering function for just one application. But then you can enable DNS for everything and that should work as well, right?

spidy2356 commented 1 year ago

@maxikuzmin yes, if only dns filtering enable them everything works well. Is that not possible to make user rule for a specific app so that other filters not work for this app except dns?

maxikuzmin commented 1 year ago

@spidy2356 yes, you can turn it off for sonyliv in "App management" -> "Filter app content" A rule for not filtering an application @@*$app=package_id "package_id" you can find in Settings tab -> Filtering -> Apps -> Apps management -> click on the desired application -> context menu -> Statistics -> context menu -> Technical info -> Package name

spidy2356 commented 1 year ago

@maxikuzmin it's working fine now. Thanks for ur help.

maxikuzmin commented 1 year ago

@spidy2356 this is great news! Do you have any unresolved questions?

spidy2356 commented 1 year ago

@maxikuzmin yes I have. When I surf the internet there are some shortlinks which I found and even some website who use anti adblock script. some of then are bypassed by using "block ads on website" option given by adguard extension, some are bypasses by javascript off. but some r not possible to bypass and even I turn off javascript then anti adblock script gone but website got static and I can't go forward by next link or links not work. so what can I do now?

maxikuzmin commented 1 year ago

@spidy2356 I think that since this is no longer relevant to the main topic of this issue, please open a new issue and we will try to figure it out. I'm glad that we were able to figure out the sonyliv application :) I'm closing this issue.

spidy2356 commented 1 year ago

@maxikuzmin yes then close it. But how to open new issue on this topic because this not for specific website so plz suggest me something what can I do about the issue

maxikuzmin commented 1 year ago

@spidy2356 just create a new issue, like you did with this one. Name the topic of the problem, for example "Ads are not blocked on some sites" (If I understand correctly). Describe the steps of reproducing the problem and attach links to the sites

spidy2356 commented 1 year ago

@maxikuzmin the issue occurs mainly for anti adblock script, so how can I issue it to adguard team?? is it ok if I do so?

maxikuzmin commented 1 year ago

@spidy2356 you can try creating an issue in the repository https://github.com/AdguardTeam/AdguardFilters if the anti-blocker script blocks filters. Maybe they can help you in some way