Is there a document explaining the process? sIFS Cloud - 23R1 UPD 6]
My Status:
I have created the Azure Notification Hub. And the notifications are received to the Notification Hub.
Which means the Notifications are sent from IFS Cloud successfully to the notification hub. i.e. Application parameters in IFS Cloud are correctly defined.
The Notification Hub metrics shows that the requests have failed. Understandably this is due to not setting up the Google and Apple settings which requires keys from the development team.
I saw that you refrerred to the trouble shooting guide. Have you set up an own Azuer hub or used the default one?
Regards
Johan
Hi Johan,
Thank you.
FYI. This is a remote deployment.
I tried both ones. Since I could not get to working with the default one, I’ve created a new Azure hub. I get the requests to the hub but they fails.
I believe this is due to settings up none of below.
Sanjaya.
@JOOLSE
Hi @JOOLSE , we are using IFS Cloud 23R2 in remote deployment. We are testing NotifyMe 2, the app itself works fine, but I would like to make the notifications working too. I have created Notification Hub in Azure, but not sure what the Notification Hub URL and Notification Hub Path should be populated with from Azure to make this working. Also IFS doc is silent in this. Will the notification hub be actually working with the remote deployment? Thanks for a hint. Jan
Hi Jan
It should work with remote deployment as well. We are sending the messages fromm backend through the azure notification hub to the device. You should get a message on your device when you have a new notification.
We had a report the other week around something that could be the cause for your experience. I have added it in the 24R1 documentation. I am not sure, but this could be the reason.
-----
Production environments restrict all outgoing calls except for IFS approved url's. For push notifications to work, backend should be able to communicate with Azure service bus. Depending on the app you are running there can be several servicebus.
Namespace.servicebus.windows.net
Example: mWorkOrder.servicebus.windows.net for Mobile Work Order
----
Regards
Johan
Hi @JOOLSE ,
I am interested in below information. Quoting 24R1 documentation.
Does the Notification Hub exist and is it configured correctly? The Notification Hub requires configuration for each required client platform (Google, Apple, Windows). The Azure Notification Hub configuration pages can send test Push notifications to check this.
What is the process to get hold of these configuration parameters? Whom to contact?
Sanjaya
I have been with a support call with IFS RnD. These configuration values are internal to the App developers and they are not shared. (I am not sure there is a way to obtain them. I think generally it should not be possible.).
So I think it is not possible to use custom Azure Notification hubs at all. (General case)
Therefore this information should be removed from the IFS Documentation as I see, There should not be any mentioning about custom Azure Notification Hubs at all (or mention the specific cases they might be needed).
The notifications for all the IFS customers are handled by the same notification hub. There is no need to change any of the parameters. Anyway it seems like the parameters which gets added during the installation of IFS Cloud is incorrect. I am yet to receive the correct parameters for NotifyMe.
@Rukmal Fernando. I am tagging you. Could you please validate what I have written here is correct? Also will it be possible to provide the correct parameters?
Hi @Sanjaya, yep, the configuration coming with the installation is wrong for NotifyMe, I have received correct values from IFS Support (sharing below) however it does not work anyway,. I’m following with them on this. Is there anybody having this working with remote deployment?
The parameters set during the installation is correct.
I think some configurations were done to the central hub. Now the Windows and iOS notifications are working.
Hi
Really good news then
Regards
Johan
@JOOLSE , Yes. waiting for Android to work.
Hi
So windows and iOS is working and only Android left. Are you using any loadbalancer or any other thing which also require a certificate? In android the certifcate chain need to be the same on all places, which iOS and Windows does not require.
If I understood it correctly is though that you on the android device get the record, but not the notification about the record and usually when it is certification mismatch, then you will not receive the record either. But just asking the question, so we can rule that off completely.
Hi @JOOLSE/ @Sanjaya,
I have just tested push notifications with original setting on apple device and it’s still not working for us. It seems even the flag for push notifications is not enabled with original notification hub setting.
Hi,
I am restating some information to mark this comment as the answer.
For Notifications to work No additional Hubs are required. The parameters values defined during the installation is correct.
Works for Remote deployments as well.
Custom notification hubs are not necessary
My opinion is this information should not be in the documentation
If a custom hub is used, The hub should be configured with sensitive keys available only for the developers of the app (RnD) so that the notifications can be delivered to the App.
These keys never to be shared with others
Hence custom hubs cannot be configured for NotifyMe
(Device) Android NotifyMe app permissions for Notifications gets dropped, (or does not get added during the installation). Therefore Android devices might not get notifications. Ensure that the notification permissions are granted to the App in the Device.
Sanjaya
@ORFJAN ,
The notifications are working for me now.
The Notification Path you have provided earlier is not valid for IFS Cloud. Can you please check them? I got the correct ones from IFS and they seem to be the same ones I had (got inserted during installation).
First iOS and window apps also did not work for me, but after reporting to RnD they started to work.
Later found that Notification app permissions were missing for Android. RnD found that there is an instance where during installation the permissions are not requested.
@ORFJAN,
I hope you are debugging by trying to send the notifications via Send Notification command. My question was related to Sending Notifications only. Can be tested via Send Notification command.
“Send Notification” works fine in my case.
If you are concerned about the business logic generated Notifications.
I had an issue where the permissions cache not getting refreshed for existing users. (I did not debug this issue). Once I created a new user, there were no issues. with Business Logic (Order Report) generated Notifications.
Hi @JOOLSE and @Sanjaya, thank you for your inputs, yes, the issue I was referring to was connected to “Send Notification” command. I was following with IFS Support via this case Ticket Form for Case - Service Center (ifs.com) and they provided me another new notification hub connection details on Friday and good news, these seems to be working fine for Android and iOs! I don’t think it’s secure to share connection details here, so I can provide them on a private chat if you need. I have also summarized our review of Notify Me in this post.