Detect online presence using cloud functions - dart

I am creating an online game using flutter and cloudfirestore, my main problem is detecting the online status of the user since the game is online.
I know that cloudfirestore does not support detecting presence natively and we can use realtime database combined with cloudfire store to detect presence but I want to create a way to detect presence using cloudfunctions and cloudfirestore only. Is this possible? Please provide me with some archticture to follow.

Related

Simulate camera output on iOS

I'm currently trying to implement UI tests in my iOS app. An important feature of my app is the ability to let users scan QR codes so they can quickly retrieve the ID's of certain objects. I'm struggling to write tests for this however. What I would like to achieve is to supply mock images to the camera during UI testing so I can essentially simulate the scanning action. So far I haven't really been able to find anything that mentions whether it is even possible to supply image data to the camera, let alone how this would be implemented.
So my question is, is this even possible?

UBER api, can I retrieve driver fare for each ride (for a driver's utility)?

I am building a small utility for uber drivers. Currently when they drop off a passenger and eventually get the resulting fare processed and returned to them, I have them manually enter it into the utility. Is there a way to 'catch' this information programmatically and automatically populate my utility when this becomes available to the partner application?
We don't currently make this kind of data generally available via the API. But thanks for your interest and the question, it helps us to understand what the community is looking for so we can prioritize what gets built and released next.
Keep an eye on the Uber Developers blog for news around upcoming APIs.

Is it possible to create a blow functionality without detecting voice?

I need to create a blow functionality. I am using AVAudioRecorder for this. The problem is that my app along with the detection of blow also detects voice. What I want is to just detect the blow.
Please guide me.
I am using code from the given link
https://github.com/dcgrigsby/MicBlow

5- star survey for mobile GIS app iOS

I am currently trying develop a mobile app using the ArcGIS Runtime SDK on iOS. Right now users receive a push-notification requesting feedback when they visit a location predetermined using a feature layer. What I would like to add to the push-notification is a way for users to answer a three question 5-star survey. Results would need to be averaged and then populated back to the feature layer to be displayed via callout box to users.(i.e. name, address, and 5-star results would display).
I'm not sure where to start so I am open to any advice, tutorials, or workflows on implementing this (or good Samaritans willing to hold my hand). I have tried to piece together pieces of information found in different forums but I haven't found how to link it all together. Maybe using PostGIS in some manner? My skill level is novice, yet dangerous!
I know these forums are sometimes known for disregarding beginners, so thanks for taking the time to read my post.

Realtime with PubSubHubbub

I'm trying to implement real time chat engine with PubSubHubbub as the core in Rails. My question is what I need to do to or read to achieve this task ? Where I'm gonna start ? What knowledge do I need to know first because I'm really really newbie in this field and like to play with it... or are they any realtime chat engine that is fully compatible with Rails other than pshb ?
Thanx
Why don't you check out XMPP there is a good library called XMPP4R. XMPP is what Google IM uses and there are a bunch of existing clients and IM gateways that support it so you'd be able to very rapidly do things like hook up your program to IM you when a certain event happens.
It is my understanding that PubSubHubbub (as a protocol) is designed less for things like chat (1 to 1 communications) and more for situations where you would previously have to poll a resource for updates (like a series of RSS subscriptions).

Resources