yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] woodman:
First off, FYI blk_jack said HERE and also to me as recently as 2 days ago via private chat that notifications, download services, are still planned to be modified (mainly backend changes). We currently use MQTT for push notifications, but it will change.

About the current functionning, I can also provide you good readings regarding MQTT (more info here: http://mqtt.org/)

1- https://xdaforums.com/showpost.php?p=64648887&postcount=631

2- https://xdaforums.com/showpost.php?p=69344300&postcount=6312

3- https://xdaforums.com/showpost.php?p=73518343&postcount=9113

I think I can't really respond correctly to most of your questions but still I try:

Here is below a post which could be interesting for you about how access tokens are refreshed (maybe the notifications token you are talking about is a different matter though...)

https://xdaforums.com/showpost.php?p=72029191&postcount=8508

I don't know.

No impact since Labs uses MQTT, not GCM.

I don't know but maybe the mqtt.org website can help?

If my reply is not enough, you will have to wait for better answers from the master dev blk_jack himself :)
[Android Apps and Games] adinechin:
Hi and thanks for your answers, in fact with your input I found some new info, mainly about additional manipulations to do on MIUI to have notifications. Can you PM me (again...thanks for your help) to check ?

I am aware about the work in progress about FCM notifications, but I really want to understand what's wrong and try to make it work ;)
[Android Apps and Games] adinechin:
To make a little update, here is what I've tried :

Both MIUI (Lollipop) and Mokee (Nougat) ROM

The app is not "optimized"

On MIUI the notifications of the app were in top priority

I've disabled all MIUI optimizations on developper options

I've authorized all permissions needed for the app

I've enabled autostart

I've tried to logout and login again : KO

I've tried to disable and enable the notifications again : KO

I've tried to clean all data of the app and launch the app again

With all these tests, even when the app was open, I had no notifications (I waited several minutes). I'm beginning to think this has to do with my user account (configuration on XDA or perhaps multiple entries on MQTT side ?).

I'm looking forward to the update with Google notifications...
[Android Apps and Games] woodman:
FYI you won't get notifications when the app is open, it's a normal behaviour.

FYI2, sometimes, it can takes time to get push notifications with Labs (there is a "normal" delay), sometimes 10 or 15 minutes, maybe more...

Please read this: https://xdaforums.com/showpost.php?p=65775071&postcount=1733

Thanks for your feedback BTW :) :good:

In the meantime, I can only suggest you to use the email notification system provided on the xda website (xda control panel).
[Android Apps and Games] adinechin:
Ok, I didn't know that ! So when you say "open", is it :

- displayed on the screen

- still in recent apps

- ...

As I read in the posts you refer to, should I press home or back until I leave the app ? I will try some more tests...
[Android Apps and Games] woodman:
When I say "open", it is:

- displayed on the screen

- maybe on the background after pressing home button (not sure about this one)

You should better press back to leave the app, to make sure.
[Android Apps and Games] adinechin:
Just a thought : is it possible that an ad blocker app that changes the host file of the device, blocks the notifications ?
[Android Apps and Games] x.trinity:
I cant remember the last time when I got a notification from xda application.
[Android Apps and Games] vikasb32:
Why XDA app using so much Ram ?200mb + all the time.

I am using op6 running android pie open beat 1.btw i even disable notification in app.i don't want push notification of this app.

Sorry if this already answer.
[Android Apps and Games] BillGoss:
That's normal.

I'm on OOS 5.0.5
[Android Apps and Games] woodman:
Hi,

Please read here: https://xdaforums.com/android/apps-games/labs-t3241866/post68247631
[Android Apps and Games] woodman:
I don't think so but I could be wrong :)
[Android Apps and Games] adinechin:
Thanks, I don't feel alone ;)

---------- Post added at 11:31 AM ---------- Previous post was at 11:24 AM ----------

I really don't understand what's wrong and I would appreciate if someone share with me his config. On my side :

I'm right now on Mokee ROM (very close to Lineage), Nougat version

I disabled battery optimizations on XDA Lab app

I installed the app from the apk (clean install)

I even tried to disable/enable again the notifications

I've "closed" the app by pressing back button

The result is always the same : no notifications. I've waited for more than an hour, and if I open again the app, it seems that the message counter refreshes itself only when I'm reopening.
[Android Apps and Games] woodman:
I think the only explanation is that Android or a 3rd party app kills the Labs PushService on your device and it is not restarted for some reason, so you don't get notifications. It's less likely but your issue could be purely ROM-related as well.

More readings:

- HERE

- HERE

- HERE

Good luck!
[Android Apps and Games] adinechin:
What is really weird is, when I exit the app, when I clean it from recent apps, or even when I reboot, using developers options, I still can see the PushService process running, but even when I wait for up to 3 hours, I did not receive my notifications (during this time I had one message and one quote)
[Android Apps and Games] woodman:
If the service not running is not the culprit, sorry but I can't help anymore.

I don't remember if you ever provided logs. If not, maybe grabbing them using the debug version of Labs and sending them to blk_jack will help?

But if the notification system is changed in the future, I'm not sure blk_jack will fix things regarding current Labs' service (using MQTT) for some Android version or some specific ROMs / devices.

I have no more ideas, sorry.
[Android Apps and Games] adinechin:
Ok. Thanks for your help and sorry for bothering you. I'm downloading debug version and try to at least understand by my side ;)
[Android Apps and Games] woodman:
You're welcome. Oh and you don't bother me at all, I like very much when the Labs thread is alive :highfive:
[Android Apps and Games] jcmm11:
https://m.youtube.com/watch?v=xos2MnVxe-c
[Android Apps and Games] Ibuprophen:
I'm just curious regarding the Notifications within the Labs App.

I was hoping if you could clarify something for me regarding something that may or may not be helpful.

I took a quick look at the app itself and I wasn't able to locate any permissions regarding notifications in the AndroidManifest.

I know that the app itself has its own settings but, doesn't it require the permissions as well to push within a device itself?

I don't recall ever running into an app that even has a built-in notification settings without the permissions outlined within the AndroidManifest.

Just trying to help out (or look like a fool LOL!) :)

Thanks a bunch!

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent from my Samsung SM-G900V using XDA Labs
[Android Apps and Games] woodman:
Sorry but I won't be the guy who will respond, unfortunately. I don't know this. :o
[Android Apps and Games] JT1510365:
Hey can someone help me out?

I can not login into my xda account using the xda app from the playstore or the xda labs latest apk from this thread on any of my 3 devices running kitkat. I can login on my computer and my other devices that dont run kitkat but if it's a kitkat rom it just says invalid username or password but i know i have the correct information.

If someone could help me that would be great:)
[Android Apps and Games] woodman:
Did you try to login using the G+ button? I know it's a workaround but it's the only advice I can give you since I don't understand why using kitkat would be an issue to login...
[Android Apps and Games] adinechin:
In fact I downloaded and installed debug version, I had one notification (from your quote), and nothing else since ! I moved back to miui, and I will keep an eye on the update...

If notifications come from Google, do you know if the next version will be on Google Play ? I'm currently using old XDA app on Google Play for now...
[Android Apps and Games] trinaldi:
I can't login to the app.

The button stops at 'Submitting..."
[Android Apps and Games] woodman:
First version to be updated is always XDA Labs (the full version which can be installed via this thread). Then after testing, the Play version is updated, that's how it works usually.

So yeah, if updates come in future, the Play version should be updated.
[Android Apps and Games] DB126:
It isn't. I can login fine from a KitKat based image (CM11) that I keep around for testing.
[Android Apps and Games] mitas35:
Doesn't work on OnePlus 6 oos beta 2.
[Android Apps and Games] strongst:
Bug report may be useful :o
[Android Apps and Games] DB126:
What?? Outrageous request!! Clearly unskilled in telepathy, telemedicine and magical powers of any kind. Sigh, these XDA RCs are really useless. :rolleyes:
[Android Apps and Games] strongst:
Sry, my bad... I didn't sign up for the crystal ball academy :crying:

Maybe somebody can provide me a link?
[Android Apps and Games] xanthrax:
You're having fun guys, that's great and I have nothing really against but would have been even greater if you would've thrown a small "how to" along with the joke, it would look like a nice mixture of fun and help, he might really have not knowing how to, could be one of your best friends from your childhood behind the keyboard, you never know, just sayin'... [emoji39]
[Android Apps and Games] DB126:
Yep - coming off a series of threads littered with "it don't work" posts with little supporting detail. Probably best not to respond as XDA has become XdA.
[Android Apps and Games] strongst:
Too much green tea in the morning :silly: Sry [MENTION=3946657]xanthrax[/MENTION], will be reduced tomorrow :svetius:
[Android Apps and Games] adinechin:
Hi, a little update from this morning : I tried debug version, and you can find attached logcats (I only kept "logcat | grep xda") :

For a clean install

For the first startup

But most of all, after a little time after I quit the app (with back button), I had this message :

"D/PushService$MQTTConnection$MsgHandler(18439): Connection attempt failed with reason code [0]: java.net.SocketTimeoutException: failed to connect to labs-mqtt.xda-developers.com/52.202.170.13 (port 1883) after 30000ms"

I'm on MIUI 9 (Android 5.1).
[Android Apps and Games] woodman:
Thanks for those logs.

The 2 files attached don't contain the interesting error message you pasted in your post ("D/PushService$MQTTConnection$MsgHandler(18439): Connection attempt failed with reason code [0]: java.net.SocketTimeoutException: failed to connect to labs-mqtt.xda-developers.com/52.202.170.13 (port 1883) after 30000ms"). I think it could be useful to attach the corresponding full logs in this thread.

And then, I hope [MENTION=2637227]blk_jack[/MENTION] will look into this, at least to get an explanation for this issue related to MQTT, maybe specific to MIUI 9 (Android 5.1)?
[Android Apps and Games] adinechin:
Ok, obiously I tried again and this time it seemed to connect, but here is a new log with the same issue : you can see at the end of the log that it tries several times.

I think there are some specific configurations I did not find yet to answer these logs :

I/Conv2QueryExtension( 4119): Conv2Query not enabled due to current app [com.xda.labs] not in whitelist

But if you have some answers to the timeout, I will be grateful ! ;)
[Android Apps and Games] woodman:
I think an external app or process may block the connection to labs-mqtt.xda-developers.com.

The problem is you used | grep xda while saving your logcats, so I can't see external reasons of this blocking in your logs. Maybe try to take logs without filter to see the cause of the issue?

Last time (HERE) you asked me about ad blocker which could be the cultprit, did you check if your ad blocker app blocks labs connections? Or did you try to disable it and rebuild your hosts file without any blocked urls?

If it's not related to your ad blocker app, it could be other 3rd party apps...
[Android Apps and Games] adinechin:
Yeah, you can find a new log (still for first startup of the app).

I restored original host file and disabled my adblocker for now.

With my new log, there was a lot of these logs that I had to remove :

E/Process ( 2875): Error setting cpuset policy for pid:4011 errno:22

E/SchedPolicy( 2875): add_tid_to_cgroup failed; fd=-1

But I don't know why. It seems related to kernel...but what's weird is that with all my tests, sometimes it succeeds !
[Android Apps and Games] woodman:
I really think a 3rd party app on your device is the culprit.

In addition to the previous errors you pasted in this thread, here is another line from your log file which shows the connection is not OK:

Error code 32104 is "The client is not connected to the server." (source: https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_7.5.0/com.ibm.mq.tro.doc/q039390_.htm)

I suggest you to dig more and disable one by one each app which could affect connections to specific urls/IP addresses...

Maybe you can backup your ROM and then clean install it and just install XDA Labs to test again push notifications? Don't hesitate to ask me if you need to send you some PMs (to test notifications).

Good luck!

Edit: and your previous post showing:

com.xda.labs is not in white list...
[Android Apps and Games] ALPHAWolf96:
Finally everything is working smooth for me now. My feed is perfectly synced with the website's articles. Forums are opening up quickly, attached media as well as the images are loading almost in a second or two. Guess the backend issue is resolved by the might Labs' team!

Can anyone confirm?
[Android Apps and Games] adinechin:
Hi [MENTION=4752536]Wood Man[/MENTION], I'm having hard times getting the correct log, but what I can understand right now is :

It takes around 5 minutes for the app to connect to the push server

Even once connected, I don't seem to receive any notifications

The point before is due I think to the ActivityManager killing the process in the mean time (while waiting for the notif)

In Settings > Memory > Apps started on boot > XDA Lab I can see that notifications has been allowed to pop sometimes, but I never saw them

I think I'll have to completely clean data and just install XDA Lab without any root or ad blocker and try again...and upload the complete logs and screenshots ;)
[Android Apps and Games] DB126:
Same here. XDA app performance has been consistently good over the past week on several different devices. While some of this relates to XDA site performance in general the glitches and gremlins that uniquely plagued the XDA Labs experience appear to be resolved. Woohoo! :cool:
[Android Apps and Games] woodman:
Thanks again for this interesting feedback. As I already told you via PM, I also have issues with push notifications but I don't pay attention to them since a while (I'm using xda notifications by emails), I know the process being killed is a long-standing issue but it's a matter of Android unfortunately.

Related post: https://xdaforums.com/showpost.php?p=75777691&postcount=10226

Sorry but I'm out of knowledge to help you any further. You already did an awesome job providing all those logs and info. It's in the hands of the dev now :highfive:
[Android Apps and Games] xanthrax:
To me is still the same... my thanks count didn't improve at all using labs,I lost my hope it will be fixed
[Android Apps and Games] woodman:
Nope, it is fixed! Check again pal!
[Android Apps and Games] adinechin:
As I just said in PM, at first I got correctly connected :

09-11 17:22:08.738 30223 12582 D PushService$MQTTConnection$MsgHandler: Subscribed to: app/com.xda.labs
09-11 17:22:12.908 30223 12582 D PushService$MQTTConnection$MsgHandler: Subscribed to: user/b72d24e63edba78516f07006dcd644ad471f734048bc1b6551ef3619882f396fe1422c022ea86bdfbd4dcb5d307ae391d19366178a448dfeca96f8d6a04b0c61

But a bit later, when checking the process pid (30223), I just had these lines, even if I checked "autostart" and "locked" it never to stop.

09-11 17:35:08.678 24447 24851 I ActivityManager: Process com.xda.labs (pid 30223) has died: svcb S
09-11 17:35:08.818 24447 24851 D ActivityManager: cleanUpApplicationRecord -- 30223

It seems that it just "dies" alone...

And even if I reconnect later, I never seem to receive the notifications waiting. I'll stay with this configuration for a few days now, just in case...
[Android Apps and Games] adinechin:
Hi [MENTION=4752536]Wood Man[/MENTION], do you know what information I should use to test the MQTT server here : http://www.hivemq.com/demos/websocket-client/

Is the clientId the userId on XDA ? Are username and password needed ?
[Android Apps and Games] woodman:
Sorry but I don't know :(
[Android Apps and Games] loocool2:
I'm having a problem with the search function in Labs. It works in the forum and device section, but for the xposed and apps section there aren't any results for any search. Is this a known problem? Or is there a fix
[Android Apps and Games] strongst:
Within a specific thread inside the apps section im getting results for a search with xda labs :rolleyes:

Can you please give more details or just how we can reproduce your issue?
[Android Apps and Games] loocool2:
Nevermind, I fixed it with a reinstall. My bad
[Android Apps and Games] adinechin:
Interesting...I've installed my stock lollipop ROM for 4 days and had some quotes and messages without being notified, but just today I had a notification :silly:

Don't know if the app need some kind of stabilization...I'll see if I receive some others...
[Android Apps and Games] Wolfcity:
I get notifications on all my devices since two days. Never got one the last months.
[Android Apps and Games] adinechin:
Perhaps a server improvement ? Didn't receive this one though :p
[Android Apps and Games] Wolfcity:
I just received this one.:good:
[Android Apps and Games] yochananmarqos:
How about this one?

Quote me, I wanna test! :laugh:
[Android Apps and Games] woodman:
Test :cool:
[Android Apps and Games] yochananmarqos:
Eureka! ?
[Android Apps and Games] SecUpwN:
[MENTION=2637227]blk_jack[/MENTION], I just found another website calling itself XDA Lab. Is this site related to XDA Developers? If not, you shoudl probably think of a more unique name for your app to avoid confusion and users possibly getting drawn to that forum. Also, we just advertised your thread!
[Android Apps and Games] EVOuser94:
Is there a chance of being able to subscribe to a device, similar to how the Xda Premium app allows?

Regardless this app is really smooth and can definitely tell a lot of work went into this!
[Android Apps and Games] Ban Dan:
Same here.
[Android Apps and Games] XxMikeMasterxX:
May I add a feature request here, please?

I am wondering if this app would be able to support a Font Size setting. I am legally blind and benefit from manipulating text size in each app. I have seen apps include 5 settings: Smallest, Smaller, Normal, Larger, Largest. I personally find the label of Huge to be insulting as huge for some users may not be huge for others. Largest at least indicates the largest font available without vision scuity assumption.

Thank you for considering! And as always, fantastic work.
[Android Apps and Games] woodman:
It's planned. You should read POST #3 and also OP and post #2.

http://xdaforums.com/showthread.php?p=63676332
[Android Apps and Games] XxMikeMasterxX:
Thank you for the help. I will refer to the posts you mentioned.
[Android Apps and Games] Ben36:
He can't because they're not set to huge [emoji13] [emoji14] ??

---------- Post added at 08:18 AM ---------- Previous post was at 08:15 AM ----------

Also why doesn't labs show emoji's?
[Android Apps and Games] NYLimited:
A known limitation for the moment ..
[Android Apps and Games] shegeloaf:
I seriously have no i dea how to log into xda labs chat 9n irc.
[Android Apps and Games] Manuel15:
Download an IRC client, then in the app add a new server/network, in the settings:

Server URL : irc.freenode.net

Server port: 6667

Nickname: choose your nickname

Alternative nickname: choose an alternative nick

Real name: what you want

Then if there is the auto join option, add #xda-labs to it

Otherwise connect to the network and write the command /join #xda-labs
[Android Apps and Games] mrrocketdog:
[MENTION=2637227]blk_jack[/MENTION] , would also like to add a feature request. each time i open xda labs could SOME $ be added to my bank account:eek:

would really appreciate it. loving labs.:cowboy:

"err on the side of kindness"
[Android Apps and Games] XxMikeMasterxX:
Really? You had to say huge? Come on...
[Android Apps and Games] Ritchiejoe:
IS it possible to upload a screenshot to the xda forums via the app? .... is it staring me in the face or no?
[Android Apps and Games] woodman:
You, also, should read POST #3

---------- Post added at 17:55 ---------- Previous post was at 17:51 ----------

In the meantime, you can post links with a picture. Upload it somewhere and paste here public link.
[Android Apps and Games] Ritchiejoe:
apologies
[Android Apps and Games] :
Any chance of the ability to remove apps from the XDA Labs Console? Also I've realized that renaming your dev display name on console doesn't update the XDA Labs app (yes I've tried clearing cache). Is the server just slow, or is it a bug?
[Android Apps and Games] MSF Jarvis:
[MENTION=2637227]blk_jack[/MENTION] do you think the ability to see who thanked you for a post needs to come??
[Android Apps and Games] nathanchance:
They are developing the API that lets them do this, it was a few pages back.
[Android Apps and Games] stunned:
Chrome tabs are not working? I only have Chrome beta installed and every link is opened externally. Setting is enabled.
[Android Apps and Games] Ibuprophen:
HA-HA!

~~~~~~~~~~~~~~~

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] woodman:
Thanks, I got the push notification of your quote 4 or 5 minutes after the xda e-mail.

Seems to be working better since 1 or 2 days days then :good:
[Android Apps and Games] adinechin:
Not good for me, I guess I just had luck...
[Android Apps and Games] Venom0642:
Test me i want to see if it works lol thanks.
[Android Apps and Games] woodman:
Test just for ya' :cowboy:
[Android Apps and Games] yochananmarqos:
Doh. I didn't get get this one. It didn't even show in Quotes/Mentions until I refreshed manually.

---------- Post added at 08:25 PM ---------- Previous post was at 08:23 PM ----------

I didn't get this one, either. It did show up as new in Quotes/Mentions, though
[Android Apps and Games] adinechin:
But I got this one :silly::D
[Android Apps and Games] Robert-:
Hey! I cant download any app from XDA Labs. After I click on the download button, it downloades the app but nothing happens after..
[Android Apps and Games] woodman:
Please read here: https://xdaforums.com/android/apps-games/labs-t3241866/post77352042
[Android Apps and Games] anaschillin:
Hi,

I have installed the XDA Labs app on my Note 9. When I hit My Device menu. It just seems to sit there loading. It knows the model (SM-960F) but doesn't load.

Can anyone help?

Thanks
[Android Apps and Games] woodman:
Do you mean you don't see the thread list shown in this screenshot attached? As you can see it works on my end.

Did you try to manually change the device to see if it's better?
[Android Apps and Games] anaschillin:
Manually setting it worked. Thanks a lot