A FRIEND WITHIN THIS COMMUNITY TRIED TO SOLVE THIS ISSUE BUT STILL CAN’T SHOW THE LISTENERS WHO ARE ONLINE NEITHER WHO ARE OFLINE.
Yes exactly that is what I want it to show but how can you show those exited and those who are online.[quote=“manishthetechguy, post:20, topic:28331, full:true”]
I took his blocks and tried to rebuild the App in this way.
First I imported the AIA and I created a Firebase Web API with Firebase URL and pasted in the Firebase links as you can see
The Block are like this and I thought they could call the listeners who are listening the Radio online as in my case I wanted the link which I pasted on the Firebase value could call and track all people who are listening to the Radio through the URL of the Radio either within the App or out of the App to show on my App
beacuse you have enter the links inyour firebase database. change the values to 0 (number).
also i added some math blocks to calculate the no. of listners. from above image it seems that you have removed that.
I think showing number of people online is quite easy but you can not show number of offline users unless you have proper knowledge how user exits your app.
And this is where you will stuck.
Place two If, since you are getting two labels at the same time
I suggest that when you hit the Play button (Sorry, I could not see if it has or not) add +1 to the value in Firebase, and when you give stop to subtract 1
Yeah, I have tested it but, I don’t understand if it is working or not because first it shew 3 listeners and secondly it shew 4 so I don’t know what was it because if I could have seen the blocks that you used maybe I could have proved it out.