I'm new in xamarin. I need to implement a mobile app with push notification (maybe using Firebase) with user authentication. One user can send a notification to one or more than one user. So far I cannot find the right tutorial.
Would you help me find the way to implement a mobile app with push notification (maybe using Firebase)? Thank you in advance.
Hi flo you can start with this which can help you to get into working of FCM.
and here you can get the topic messaging i.e. sending to multiple devices and at this place you can see the steps which can be used for xamarin you just have to see the corresponding files in xamarin.
Related
I am working on a custom webApp for Microsoft Teams, I would like to manipulate the badge notification for my App (btw I am not sure if it's the right name), I need to add a counter like teams does for new messages or another symbol to indicate different actions in my app.
Is there a way to do this? using a sdk, api, (#microsoft/teams-js, etc...)
Thanks
Currently we don't have any API to display notification when some action happens in an app. You can raise an UserVoice for this if this needs to be considered as a feature request. If you want to Send activity feed notifications to users in Microsoft Teams please go through this documentation.
I am using FCM Cloud Messaging framework to send and receive push messages for both Android and ios. To send messages from my server I call FCM v1 API. I use FCM SDK app in my native app (react native based) to generate device registration token, etc.
I am trying to find ways where the push messages show grouped in device system tray like on Whatsapp i.e. messages containing a particular unique id should be grouped under one category e.g. all messages for a particular stock ticker showing under one group, etc.
When searching for possible solutions I came across various links such as:
React Native - Android - FCM - Display group notification like What's app also allowing multiple grouped notifications
Group fcm notifications like whatsapp but allowing multiple group notifications
But none of those helped. For example sending "tag" field replaces previous message when new one is received with the same value. Moreover when app is closed none of the message handling functions of native app are executing on the device so I believe this should be purely a server side functionality. On FCM docs page there is no reference to grouping of messages.
https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages
Any suggestions on how to implement this ?
I implemented that with the help of the library react-native-push-notification and this issue helped me a lot Group notifications
On a React-Native mobile app, I need to access the contacts list, which is stored on the mobile device. The following 2 libraries provide this functionality. However, it seems that none of them provides information about which contacts have been updated (added/deleted/changed) recently.
Is there any library, which (1) provides some sort of notifications, which my app can subscribe to, to get updates about the contacts' list, or (2) provide a timestamp for when each contact was last updated?
I looked into the following libabries, but they do not seem to have this functionality.
Expo Contacts (https://docs.expo.io/versions/v35.0.0/sdk/contacts/)
React-Native-Contacts (https://github.com/rt2zz/react-native-contacts)
Your feedback is highly appreciated...
I saw this in the Expo Contact library : Notifications Expo Contact
You just need to add listener, and after u can sort by categories :
Notifications.addListener(listener)
Notifications.createCategoryAsync(name: string, actions: ActionType[])
it return an EventSubscription object , u can remove notifications by :
EventSubscription.remove()
Hope it will help,
If you need a easy way for notification, Firebase CLoud Messaging is the easiest way for configuring notification, and you can send global notification too by the firebase admin panel ,
This is not currently possible. If you want this feature please request it in the issue tracker and we can deliberate.
The library would have to expose an event the javascript can register a listener for.
I am trying to build an application which works this way: I as a user want to start a call with another user. The way I want the connection be made is by random. So it will connect to one of the many clients out there by random. Also when other clients try to make a call, it should connect to another random client and so on. I want those phone calls be made via application(such as WhatsApp) not as a phone call.
Now, the question is; is Twilio a good approach for this purpose?
If yes can you tell me which of their feature would fit my app the best?
Thanks for any suggestions!
Twilio developer evangelist here.
I can answer that Twilio would be a good approach for you to do this within your own application. I'd recommend using Twilio Video to build this as it allows cross platform communication via audio or video (in your case, you may not need the video, but this will give you the best audio quality).
As an example, my colleague Dominik built a video roulette application. It is the case that the interface was built in JavaScript for the web, but the idea would be the same for a native app. The code for the server side part of the application should give some insight into how to connect random pairings.
It's also possible to integrate Twilio Video with CallKit and Connection Services so that you can make outbound calls to other devices that ring like a real incoming call.
I was able to get Sample-chat version 2 android sample to run. The one-on-one chat function in the app works fine but the chatroom functionality does not work most of the time.
Since the chatroom functionality works sometimes the code seems to be fine. By debugging I was saw that the chatroom messages are not received from the XMPP server. When a chatroom is joined then sometimes the joining seems to be not successful and the older, saved messages in the chatroom are not received.
SO it seems like this is an isssue with the Quickblox XMPP chat server, since the sample app seems to work half of the time. Please let me know if the chatroom functionality is QuickBlox works properly. Thanks.
Thank you for your question in regards sample 2.
Unfortunately some bugs are possible in this sample.
We are creating new sample for Android chat, so soon we will share it.
Try to use new SDK and chat sample. It was recently released and contains several improvements.