Firebase Cloud Messaging iOS (compatibility with GCM server, topics) - swift3

I'm implementing an application on iOS which main purpose is to handle push notifications received from the server. Server is using GCM for messages delivery.
If I decided to use the FCM framework on iOS (not even decided, just haven't found GCM framework for Swift 3, nor on Cocoapods), how much compatible will it be with the existing GCM - is it necessary to migrate it to FCM?
Is it possible to receive data messages (not notifications - the work as the should) while application is terminated. While application is in the background or foreground, the delegate method is being invoked and data are handled as they should, but when it is terminated - nothing is invoked, only if user touches the notification popup, but I need to fill data from data message to the database even when app is closed.
How to determine the topic to which the message was sent?
The reason I need this is that I have to make different actions based on to what topic/s the received message was sent to. I know that on Android, there is a key in received JSON - from, but what about iOS?
Thank you.

All the GCM features are compatibile with FCM (same token, topics etc).
New FCM features might not be available in GCM.
On iOS is not possible to receive data-messages if the application is terminated (as in it's not listed in the app switcher menu). This is a limitation imposed by iOS.
for now I suggest to add (replicate) the information about which topic you are targeting in the the data payload of the message

Is it necessary to migrate it to FCM?
YES, and here is the guide that can help you to migrate a GCM Client App for iOS to Firebase Cloud Messaging
Is it possible to receive data messages?
Try to check this page to know how the FCM message work. You can learn here all the possibilities that you can do with your message in FCM.
How to determine the topic to which the message was sent?
Now, for this question, this Topic Messaging on iOS guide can help you to answer your question.
Hope this information helps you.

Related

Is AWS SNS required for Firebase Cloud Messaging?

I have a production server running an application and also a mobile app for the same, I want to use FCM as my push notification service , but what I'm seeing from the google website and most stack overflow answers is somewhat conflicting. Stack has a lot of answers on how to get FCM running on SNS, I want to know is it possible to simply use FCM (as its free) or would I need SNS , if not why bother setting up SNS for FCM? Keep in mind I only want to use FCM through an API for a django server and not through the firebase console.
The Firebase documentation is clear on how to get started, and nowhere does it state that SNS is required. Just follow the documentation for your client app platform.
If you want to send messages from your AWS backend, you can just use the Firebase Admin SDK for your chosen backend OS. It will also not require SNS.
If you are having a specific problem with FCM, you should ask a new question explaining what you've done so far that doesn't work the way you expect, along with your code and links to the documentation you're working with.

React Native voice call for android and iOS 13+

My client wants me to develop one to one voice call facility for iOS and Android mobile app. Its a simple voice calling app.
We are using aws for authentication and data storage of the user. So I checked aws services for voice calling facility. I went through aws chime but as I understood it is only for meeting initiation, video calling and screen sharing facility. Not immediate voice calling like whatsapp.
I went through documentations of react-native-callkeep and react-native-voip-call but I did not understood do they need any server for voice calling or it can be done directly without any server support.
Please help me with the correct way to implement voice calling feature. What all libraries and servers do we need for this feature.
Thank you

Send notifications through DRF

Hello I'm building a RESTfull application using Django Rest Framework.
The clients are android application and react application.
I need to send a time based notification to users.
To send push notifications you can use the well supported https://github.com/jazzband/django-push-notifications app
It is not necessary to use FCM for android. I personally like to use Firebase Cloud Messaging (FCM). If you want to give it a try i suggest to use the pyfcm library https://pypi.org/project/pyfcm/
.
It's pretty straight forward and well documented. As for the authentication problems in the django-rest-framework, please be more specific.

RapidSMS Twilio Django - SMS Application Architecture

I am learning SMS application dev with RapidSMS Django. I came across rapidsms-twilio for backend. I am lost here and trying to make sense of overall architecture and technologies associated with each layer. It will help me in future research of better alternatives. Similar to web applications JS/Ajax/css/html are front end tech with java in app layer and db on backend how could i layout SMS application framework?
From my understanding Twilio will provide a number so whenever text is received on number it will receive it in SMMP format and convert it to HTTP and call app server URL mapped against it which could be in django. Where and what does rapidsms do here?
Twilio developer evangelist here.
I have never used RapidSMS, but as far as I can tell, it does the handling and sending of SMS via a chosen backend processor that receives and sends SMS messages. It comes with some built in backends, like Kannel which is an SMS gateway, but there are third party backends available too.
rapidsms-twilio is a third party backend that allows you to use RapidSMS as the dashboard/user interface and send and receive messages via Twilio

how to read and write message to Oracle MQ from webservice?

I have rceived a request that i need to communicate ti Oracle MQ through webservices. because i have other application will interact with webservice to post data to oracle MQ. because this applications is not MQ implemented app. In this how do i need to read and write data into MQ using webservice? What are the techniques are there to monitor whether the message arrived in Queue and make webservice to read it? Please guide me. i am more confused.i am new to this blindly.
this webservice application will be hosted in the demandware application. the webservice application reads the message in the Oracle MQ which is in the form of Xml file and places into the other Message queue which is also in the form of xml. Demandware application periodically invokes the request to webservice to get/ put the message from MQ queue.
Probably this is coming late, but still.
Demandware is not suitable for general purpose development, especially when proprietary protocols are involved.
My suggestion would be to use middleware component in cases like this.