AdguardForiOS icon indicating copy to clipboard operation
AdguardForiOS copied to clipboard

iOS Widget "Unable to Load"

Open BaronKrause opened this issue 2 years ago • 39 comments

AdGuard for iOS v4.3.0(876) iPhone running iOS 15.1

I have the Testflight build of Adguard running on both my iPhone 11 and iPad Pro and noticed that the Widget on my iPhone was saying "Unable to Load" while the iPads widget worked properly (its still buggy, if you use it to disable blocking before opening the app, it will only open the app without disabling blocking, but the widget still reports it being disabled).

I uninstalled/rebooted and reinstalled Adguard via test flight on iOS and re enabled the widget and its still reporting "Unable to Load".

Figured it was weird since its showing different behavior on 2 different devices running the same Adguard test build.

BaronKrause avatar Dec 06 '21 19:12 BaronKrause

@BaronKrause Thanks so much for your issue. It's a known problem and we're working to solve it.

P.S. Wait for a while and widget will be loaded

AleksandrShulgin avatar Dec 07 '21 07:12 AleksandrShulgin

Same here. However the widget works on iOS on iPhone but not on iPadOS.

Quorum75 avatar Dec 15 '21 13:12 Quorum75

Still occurring on 4.3.0(915)

ghost avatar Dec 24 '21 21:12 ghost

@BaronKrause

Thanks so much for your issue.

It's a known problem and we're working to solve it.

P.S. Wait for a while and widget will be loaded

Agree with @planet0. The problem still occurs and whatever time you wait it just doesn't load.

Quorum75 avatar Dec 26 '21 19:12 Quorum75

Seeing the same on 4.3.0 release for iOS/iPadOS.

verdi1987 avatar Dec 30 '21 01:12 verdi1987

Problem still occurs with 4.3.1 (919).

Quorum75 avatar Dec 30 '21 10:12 Quorum75

@BaronKrause, @Quorum75, @planet0 Could you please sent the logs to our email: [email protected]

AleksandrShulgin avatar Jan 13 '22 09:01 AleksandrShulgin

Issue still occurs with AG Pro 4.3.2 (923).

Log sent.

Quorum75 avatar Jan 25 '22 16:01 Quorum75

I should also mention I sent through my logs on the 13th.

Edit: Just sent another email with new exported logs.

ghost avatar Jan 25 '22 20:01 ghost

At the moment all the logs I received were from the stable version.

@Quorum75 could you please re-send them again, maybe I missed it somehow? Please indicate your Github username in the email.

ameshkov avatar Jan 26 '22 13:01 ameshkov

Not a problem. I just sent through another one with 4.3.2(923).

ghost avatar Jan 26 '22 19:01 ghost

@planet0 please try build 925, it is the latest available one.

ameshkov avatar Jan 27 '22 09:01 ameshkov

@ameshkov TestFlight is only showing me 4.3.2 (923) as the latest version. Do I need to wait for it to become available?

ghost avatar Jan 27 '22 09:01 ghost

@planet0 weird stuff. We pushed it silently, but it seems that sending a notification to the testers is mandatory.

Please check it again.

ameshkov avatar Jan 27 '22 09:01 ameshkov

@ameshkov That is odd. Pushing via notification did however make 925 immediately available. Unfortunately, the widget hangs for about 3-4 seconds and then displays "Unable to Load" still. Would you like new logs sent with this build?

ghost avatar Jan 27 '22 09:01 ghost

@planet0 yeah, in this version the widget writes more logs, it will be useful.

ameshkov avatar Jan 27 '22 09:01 ameshkov

@ameshkov No problem, I still had debug logs enabled so I've been able to send you the logs immediately via email.

ghost avatar Jan 27 '22 09:01 ghost

@planet0 thank you for the logs, it is helpful indeed. At least now we can see where exactly it stalls. In the next beta we'll make an attempt to fix this and also add a bit more logs just in case if the first attempt is not successful and we need more info.

ameshkov avatar Jan 27 '22 10:01 ameshkov

@ameshkov Brilliant, thank you!

ghost avatar Jan 27 '22 10:01 ghost

@planet0 could you please check it with the latest nightly? I am not entirely sure that the fix will help (there is a chance, though), but at least there will be enough logs to narrow it down further.

ameshkov avatar Jan 28 '22 07:01 ameshkov

@ameshkov It sadly hasn't fixed the widget, so I have just sent new logs for you.

ghost avatar Jan 28 '22 09:01 ghost

With AG Pro Beta 4.3.2 (930) the problem is solved 👍🏻

Quorum75 avatar Jan 28 '22 10:01 Quorum75

@ameshkov @Quorum75 Oh yes you are right, I quickly removed the widget and added it back and the widget loaded!

ghost avatar Jan 28 '22 10:01 ghost

I've updated to iOS 15.3 and the widget is unable to load again. Sent new logs.

ghost avatar Jan 29 '22 04:01 ghost

Argh. Hopefully, we'll push another beta today. With another attempt to improve this situation.

ameshkov avatar Jan 30 '22 14:01 ameshkov

Just emailed through new logs for 4.3.2 (932).

ghost avatar Jan 31 '22 11:01 ghost

@planet0 even after re-adding it? Tbh, I am out of ideas for now:(

The only kind of idea I have is that the widget code reuses services from the main process that are rather heavy. Changing this requires substantial changes in the code so I will reassign this issue to AG v4.5.

ameshkov avatar Feb 01 '22 08:02 ameshkov

Still "Unable to Load" with 4.3.2 (933) — it feels like this only started as of 4.3. @ameshkov not a problem, any help with testing let me know.

ghost avatar Feb 01 '22 09:02 ghost

Still "Unable to Load" with 4.3.2 (933) — it feels like this only started as of 4.3.

@ameshkov not a problem, any help with testing let me know.

I agree it started on 4.3.

Quorum75 avatar Feb 12 '22 09:02 Quorum75

I'm not sure of the reason, but the widget is now working for me with 4.3.3(947).

I have changed from an iPhone SE (2020) to an iPhone 13 running iOS 15.4.1, otherwise I haven't done anything else to have it working again.

ghost avatar Apr 10 '22 13:04 ghost