even after uploading two images the toolbar's subtitle shows 0 uploads

Thanks for report @abhi472 , I experienced same issue on 4.2.4 device. Can you share your Android vesrion?
sorry to have not mentioned it in the issue itself,
i checked this on a v6.0.1 device
@abhi472 Is this happening on the beta build? We have a known issue where the upload count doesn't reflect correctly on beta/debug builds as it uses the beta commons.
@maskaravivek yes it happened in betaDebug
We depend on a https://tools.wmflabs.org/ API to get the upload count. They don't have an equivalent API for commons beta. So with the current approach this issue cannot be resolved.
It would be great if we are able to explore an API that supports both commons and beta commons
Yeah, this is a known issue with our beta product flavours sadly, but as beta is only used for testing (and will never be released to users), it isn't a high-priority problem IMO.
Actually it happens to me on product too:/
Anybody talked to the person offering the API on tools.wmflabs.org if he could create a variante for the beta host?
@neslihanturan Oof, really? Which version of the app are you experiencing this issue with - Google Play beta, Google Play production, or master?
@janpio My memory might not be accurate, but if I recall correctly the person who implemented the wmflabs tool for us was @urbanecm ? Hi Martin, can you confirm? :)
Hello Josephine, yeah, I was the one who created the wmflabs tool. Should I do anything with this issue?
Nice, hi @urbanecm :)
There now exists a beta/debug version of the app that uses a different host - so that test uploads don't land on production Commons and get deleted and make people unhappy. It would be neat if the wmflabs tool would also exist for that host, so it could be used to display the correct number.
@misaochan or someone else that actually codes can probably provide the correct host the beta/debug version uses.
If we're talking about the beta cluster (https://commons.wikimedia.beta.wmflabs.org/wiki/Main_Page), it seems to be almost impossible to create similar api as for the prod one. I depend on Tool Labs replicas and as beta cluster contains just some random gibberish, it isn't replicated. I may try to precalculate number of uploads and create similar API which will serve such pre-calculated numbers.
As the test version of the app should never be propagated to the users, my question is: Is it really needed to be fixed? What about just some notification: „The numbers of uploads doesn't work correctly in the testing version for technical reasons“?
Let me know if I should look into it.
By the way by reading through the whole issue I can see that @neslihanturan expierenced this issue at prod version too. If that's true I kindly ask they to give me their on-wiki username so I can investigate further.
If it is not "yeah, I can deploy the same code again with another hostname configured" for you (which I hoped...) then it indeed probably isn't worth the effort.
Hi @urbanecm , thanks for dropping by! :) Yeah, I don't think it is a high priority fix, so if it will be difficult to implement then it won't be worth it IMO. Although @neslihanturan did mention something about it not working for her on prod as well, can you confirm this Neslihan?
Yes, I can confirm @misaochan :/

I will be happy to investigate but I really do need your on-wiki username for it. Can you give it to me please? Thanks! Also, please confirm that you do use the prod version.
Yes, it is my prod account. Actually I was aware of this issue before we have beta flavors, but I have never thought it is not reported. My username is "Neslihan Turan" thanks @urbanecm !
Ok, that's caused by the spaces. I thought that I will be requested with URL like "https://tools.wmflabs.org/urbanecmbot/uploadsbyuser/uploadsbyuser.py?user=Neslihan%20Turan" (URL encoded space) but the URL was "https://tools.wmflabs.org/urbanecmbot/uploadsbyuser/uploadsbyuser.py?user=Neslihan_Turan" (underscore instead of a space).
As underscore is an illegal char in username (It's converted to space automatically by MediaWiki), the API should give same results for both URLs listed above.
Can you try it again @neslihanturan ? If the app do no caching, it should work right now.
Best,
Martin
It works now @urbanecm , thanks a lot!
Since we don't tend to solve this problem for betaDebug, I am closing this issue.
Maybe not use the API on betaDebug then but just display a ? to avoid confusion?
You're welcome @neslihanturan.
@janpio Agree with you.
Most helpful comment
Ok, that's caused by the spaces. I thought that I will be requested with URL like "https://tools.wmflabs.org/urbanecmbot/uploadsbyuser/uploadsbyuser.py?user=Neslihan%20Turan" (URL encoded space) but the URL was "https://tools.wmflabs.org/urbanecmbot/uploadsbyuser/uploadsbyuser.py?user=Neslihan_Turan" (underscore instead of a space).
As underscore is an illegal char in username (It's converted to space automatically by MediaWiki), the API should give same results for both URLs listed above.
Can you try it again @neslihanturan ? If the app do no caching, it should work right now.
Best,
Martin