illogical-robot / apkmirror-public

APKMirror.com bugs
http://www.apkmirror.com
100 stars 32 forks source link

Some Pushbullet channels not updating #128

Open patrickdrd opened 4 years ago

patrickdrd commented 4 years ago

no updates posted at all on pushbullet!

archon810 commented 4 years ago

Hmm, you're right. https://www.apkmirror.com/apk/mk-dev-llc/tv-show-favs/tv-show-favs-4-5-0-release/

https://www.pushbullet.com/channel-popup?tag=am-1303042955

image

I've pinged Pushbullet devs about this because I don't think it's something we can fix ourselves.

archon810 commented 4 years ago

Telegram is stuck on an older v5 update. https://www.apkmirror.com/apk/telegram-fz-llc/telegram/telegram-6-1-1-release/

https://www.pushbullet.com/channel-popup?tag=am-29045543

image

archon810 commented 3 years ago

https://twitter.com/battierpeeler/status/1323057863556620289

https://www.apkmirror.com/apk/google-inc/chromecast-built-in/

https://www.pushbullet.com/channel-popup?tag=am-28773310 etc.

sammyke007 commented 1 year ago

This is still bugged, correct?

archon810 commented 1 year ago

Yeah, I believe this continues to be an issue with Pushbullet. I'm not sure if Pushbullet is actively developed anymore, it's more on life support.

archon810 commented 1 year ago

Another related issue was reported here:

Dear @ApkMirror, your Pushbullet link for "Lidl Home App Updates" ISN'T working, sadly.

Can it be fixed? ( it's - https://www.pushbullet.com/channel-popup?tag=am1177583991 - that channel that cannot be followed. )

Thanks! Just reporting a bug.

Based on our analysis, the issue seems to be on PB's side.

guzba commented 1 year ago

Hello. PB Dev here. Happy to share my thoughts on this.

A handful of years ago now, APK Mirror and PB set up an RSS system to create channels and send pushes out automatically based on RSS feeds. This was a very clever way to get things up and running quickly, which was great, worked out very well. It has not proved to be a good long-term system though.

It has now been several years and debugging RSS issues for this custom made plugin has become a frustrating burden without any benefit to me and not something I can justify spending time on.

The true solution here is fortunately very straightforward. APK Mirror should use our public API to create channels and send pushes to those channels whenever they want. This will be vastly more reliable, simpler, and better in basically every way. It will require APK Mirror to switch away from our custom RSS integration thing I built for them though.

At this point it's basically a choice between having APK Mirror use our public API just the same way as everyone else does, or continue using the RSS integration and accept it is not perfect (or we can remove it altogether if it isn't worth having any longer).

To create channels programmatically: https://docs.pushbullet.com/#create-channel To send pushes programmatically: https://docs.pushbullet.com/#create-push

Those 2 public API calls are all that will be needed to swap over to a much better system.

sammyke007 commented 1 year ago

Tnx for clearing this out!

archon810 commented 1 year ago

@guzba Great to hear from you. My biggest concern with switching to another system is all the existing subscribers to existing channels. Would we be able to migrate these subscriptions to newly created with the public API channels? We need a transition plan because otherwise we would lose thousands of subscribers as you will undoubtedly shut down the feed system once we switch.

sammyke007 commented 1 year ago

But... I guess there are more none working channels than working channels. Isn't it?

archon810 commented 1 year ago

I'm not so sure that's true. A lot of channels were working when I spot checked them.

guzba commented 1 year ago

@archon810 Existing channels are owned by the APK Mirror PB account IIRC, which means APKM has API control over those channels. I would suggest just using those existing channels but sending pushes to them manually at the correct time. (By manually, I mean using our API when an APK update is published by your system.)

You could use the API to check if a channel already exists for an APK, and if it does, just stick to the existing channel. If it does not exist, then you'd want to create a new one of course.

API to check if channel exists: https://api.pushbullet.com/v2/channel-info?tag=

This does have a migration question but I really don't think its impossible and am happy to help inform the path of least resistance at least as I see it with my limited insight to APKM internals ofc.

Edit: adding a bit more haha.

While this will be nonzero effort, I see the end results being worth it in just trust of the system. The expectations become far simpler. Once a channel is created by API call, it's ready to roll. No hoping it gets created by the system we have now. Then for notifications, hitting our API gives you 100% absolute control over timing and reliability. Again, no need to hope the RSS stuff worked, it either did or did not by API HTTP call.

archon810 commented 1 year ago

Thanks for the additional thoughts. We'll switch to our Telegram group to discuss and strategize with you further when we're ready to tackle this.

archon810 commented 1 year ago

https://www.apkmirror.com/apk/getverify-lda/getcontact/getcontact-5-9-3-release/ Not working: image

guzba commented 1 year ago

I have disabled new channel creation because Superfeedr cannot register anymore: https://github.com/superfeedr/documentation/issues/155

Not sure why it fails on certificate error but probably due to being out of date. Either way, without Superfeedr the APK Mirror stuff would need to mass-poll feeds which was trouble in the past.

julien51 commented 1 year ago

Hi @guzba The certificate on https://simplecast.superfeedr.com/ is up to date... would you be able to tell me more? Thanks!