Push notifications

<< Click to Display Table of Contents >>

  Server and client installation >

Push notifications

General

 

Push notifications are sent to Virola clients which run on mobile devices by Virola server on new events such as new messages or calls. Virola server uses APNS and Google GCM (FCM) services to send push notifications. Push notifications are encrypted and transmitted securely through APNS and GCM gateways.

 

How to enable / disable push notifications

 

Push notifications are enabled by default. However, it is possible to disable them through Virola Administration menu.

 

To disable push notifications you need to:

1.Log into Virola client as administrator

2.Follow Administration / Push Notifications menu
 

Push notifications

Push notifications

 

3.Uncheck "Enable push notifications" checkbox
 

Disable or enable push notifications

Disable or enable push notifications

 

4.Apply changes

 

Working with push notifications

 

1.Firebase platform from Google is used to send push notifications in Android Virola client app

2.APNS (Apple Push Notification service) platform is used to send push notifications in iOS Virola client app

 

Due to the limitation of the push notifications technology, Virola server will contact our Push-token server API to renew the push token every 50 minutes.

 

Below is the detailed scheme of using push notifications in Virola:

 

Push notifications in Virola

Push notifications in Virola

 

 

If you disable push notifications for your Virola server, you'll be 100% independent from any third-party services, except for our license check server. But your mobile devices will not receive push notifications about new messages and calls in this case.

The following scheme shows how Virola works without push notifications enabled:

Virola without push notifications enabled

Virola without push notifications enabled

 

What to do if push notifications do not work on mobile devices

 

To send notifications your server should have access through HTTPs protocol to the following resources:

 

https://fcm.googleapis.com/v1/projects/virola-messenger/messages:send for Android

https://api.push.apple.com for iOS

https://virola.io/pushtoken/api/v1/push_tokens push token

 

You need to allow them in your Firewall. If you configure Virola server to work within your local infrastructure, then to have push notifications working, you need to allow the links above to access the Internet.