Flutter Web Socket - flutter

I have developed a flutter app for WEB and Android I store transaction data using sembast. I want to sync the data between my mobile app and web app just like Whatsapp WEB.How do I implement this without sending data to all the user's but only the specified user with a unique Id.

Related

Flutter firebase chat integration in flutter app without google signin

I am developing an application for users signing up with their mobile numbers. Now I have to develop a chat module in my app How to integrate flutter firebase chat without google sign-in.
I have tried with the anonymous sign but the user's chat is not stored in firebase. May I know the steps to use firebase chat in-app and how to integrate firebase without manual google sign into my application?

Retrieve custom data from in app messaging campaign in flutter

Hello flutter developers. I'm trying to retrieve custom data from firebase in app messaging campaign. Anybody knows.??

Agora Web SDK not displaying video and audio feed from flutter app

My project requires video call using flutter (mobile) and native web. When using the temp token generated from the console both web and mobile receive video and audio. When using the token generated from my server the mobile app receives the video feed from the web but the web does get any feed from the mobile app.
However on the app work fine when connecting mobile app to another mobile app.
flutter 2.2
agora_rtc_engine: ^4.0.6
Fixed
The problem happens when the UID on the mobile and the web are not the same data type. I was using local storage to save the UID local. The issue with that was it was retrieving the UID as a string not int. Resolved the issue by converting the UID to int when retrieving it from local storage.
Flutter Web is not currently supported by agora. There is an alpha release for web support, but since it's not official, it could be buggy.
https://pub.dev/packages/agora_rtc_engine/versions/4.1.0-alpha.2

Flutter: Get list of contacts only signed up in my flutter app using Firebase Auth (like WhatsApp)

I build an application similar to the chat applications, the user signup via the phone number using the Firebase Auth.
How I can create a list of the contacts stored by the user in their phone that is signed up in the application, such as those in the WhatsApp application.
How to fetch the phone contacts is already answered here Fetching contacts in flutter
Now you need think of your own way how you would create a list of those contacts which are also using the app. One option would be to make a query to your database for each phone number of the devices contact list and if its in the database you know this contact is also signed up, so you can add it to your list.

How to fetch device information from a progressive web app

How to fetch device information (Google Advertising Id or IDFA) from a progressive web app
https://developers.google.com/web/progressive-web-apps/
Google Advertising ID is not accessible to progressive web app running in browser and so the installed PWA.
Said that, you can make it available to your installed PWA using an Android service(which is a native code getting the Google Advertising ID) and passing it to your PWA using Deep links, by setting a Indent filter to your PWA with a URL and have the ID retrieved in your native code passed to web app in the query para (URL).
You can refer to this java code to retrieve device identifiers and wrap it as a Android service, which calls your PWA using deep links.