{"id":38840,"date":"2025-09-18T10:20:00","date_gmt":"2025-09-18T07:20:00","guid":{"rendered":"https:\/\/trueconf.com/blog\/?p=38840"},"modified":"2025-09-18T15:33:53","modified_gmt":"2025-09-18T12:33:53","slug":"how-push-notifications-work-in-trueconf-mobile-apps","status":"publish","type":"post","link":"https:\/\/trueconf.com/blog\/knowledge-base\/how-push-notifications-work-in-trueconf-mobile-apps","title":{"rendered":"How push notifications work in TrueConf mobile apps"},"content":{"rendered":"<h2 id=\"what_is_push\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">What is a push notification?<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">Overall, a push notification is a message sent to your device from a data distribution service. When an application is installed on a mobile OS, push notifications are used to send certain information about an event on the server, including the cases when the application is not used (minimized or unloaded from the device RAM).<\/p>\n<p>Different services may be used for delivering push notifications depending on the application store from which the application was downloaded. In TrueConf applications, the following services are supported: <\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">FCM (Firebase Cloud Messaging) for the Google Play Store on Android;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">HMS Core (Huawei Mobile Services) for the Huawei AppGallery on Android;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">APNs (Apple Push Notification service) for the Apple App Store on iOS.<\/li>\n<\/ul>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">\nIf multiple app stores are installed on the device, TrueConf application will use the posh notification service of the store from which it was downloaded.\n<\/p>\n<\/div>\n<p class=\"primary-medium-text ui-mb-sm-1\">Example of a push notification from TrueConf app:<\/p>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2025\/09\/image3.png\" data-rel=\"lightbox-gallery-lDi0NlqI\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2025\/09\/image3-690x394.png\" alt=\"\" width=\"690\" height=\"394\" class=\"aligncenter size-medium wp-image-38852\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/image3-690x394.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/image3-1024x585.png 1024w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/image3-768x439.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/image3.png 1080w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<h2 id=\"push_mech\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">Push notification mechanism<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">In TrueConf mobile applications, you will receive a push notification of incoming messages and mentions in a group chat, if notifications are not disabled in your settings.<\/p>\n<p>Overall, TrueConf push notifications work in the following way:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">The device is registered on a push notification service depending on the app store from which TrueConf mobile app was downloaded.<\/li>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">\nIf you download and install TrueConf mobile app from <a href=\"https:\/\/trueconf.com\/downloads\/android.html\" target=\"_blank\" rel=\"noopener\">our official download page<\/a>, the push notification service will depend on the version of your APK file. Currently, TrueConf supports versions with Google Play and Huawei services.\n<\/p>\n<\/div>\n<li class=\"ui-list__item ui-list__item--num\">The push notification service issues a unique device token, This ID is needed for delivering notifications.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">When a message is sent by the initiating client, TrueConf Server contacts the TrueConf notification server at <code>reg.trueconf.com<\/code>.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">The TrueConf notification server contacts the push notification service and sends the data listed below (the content can be customized by the administrator in the <a href=\"https:\/\/trueconf.com\/docs\/server\/en\/admin\/info\/#applications-settings\" target=\"_blank\" rel=\"noopener\">control panel<\/a> of the video conferencing server):<\/li>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">Sender&#8217;s name;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Notification text;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Name of a group chat\/channel;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Name of a video conference or incoming call;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Preview of the attached image (if the size is less than 1 KB);<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Type of attachment (file\/text message\/geolocation).<\/li>\n<\/ul>\n<div class=\"accent-note accent-note--line ui-mb-sm-1\">\n<p class=\"primary-medium-text\">\nInformation in a push notification is sent over a secure HTTPS connection using a TLS certificate.\n<\/p>\n<\/div>\n<li class=\"ui-list__item ui-list__item--num\">The push notification service verifies the token and forwards the notification to the client device which is supposed to receive the message.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Even if the application is closed, the OS will display a pop-up message.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28.png\" data-rel=\"lightbox-gallery-lDi0NlqI\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-555x470.png\" alt=\"\" width=\"555\" height=\"470\" class=\"aligncenter size-medium wp-image-38855\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-555x470.png 555w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-1024x868.png 1024w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-768x651.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-1536x1301.png 1536w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2025\/09\/clipboard_2025.09.18_10-06-28-2048x1735.png 2048w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/a><\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\">Depending on the push notification service, different TCP ports may be used for receiving such messages on a mobile OS. More details can be found in <a href=\"https:\/\/trueconf.com\/blog\/knowledge-base\/ports-trueconf-server-use?ysclid=mejy3gwus4827678290\" target=\"_blank\" rel=\"noopener\">our article about ports<\/a>.<\/p>\n<h3 id=\"in_app_notifications\" class=\"h5--main h5--thick black-text ui-mb-xs-3 ui-mt-md-1\">In-app notifications<\/h3>\n<p class=\"primary-medium-text ui-mb-sm-1\">In addition to system push notifications, there are other notification methods supported by TrueConf client applications (in-app notifications).<\/p>\n<p>The main differences from service (system) push notifications are as follows:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">In-app notifications are sent directly from a video conferencing server (TrueConf Server or TrueConf Enterprise) and do not depend on external services;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">In-app notifications work only if the application is active (used at the moment).<\/li>\n<\/ul>\n<p class=\"primary-medium-text ui-mb-sm-1\">Such notifications work instantly, without delays, and do not depend on external services, but they are available only if the application is active (used at the moment).<\/p>\n<p>Let us consider an example when there is no Internet connection between the mailing service and the TrueConf notification server. In this case, depending on the application state:<\/p>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">If your TrueConf mobile application is minimized or unloaded from the device RAM, push notifications will not be received on the device;<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">If your TrueConf mobile application is open, an in-app notification will be displayed.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What is a push notification? Overall, a push notification is a message sent to your device from a data distribution service. When an application is installed on a mobile OS, push notifications are used to send certain information about an event on the server, including the cases when the application is not used (minimized or [&hellip;]<\/p>\n","protected":false},"author":73,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[260],"tags":[186],"class_list":["post-38840","post","type-post","status-publish","format-standard","hentry","category-knowledge-base","tag-administration","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/38840","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/comments?post=38840"}],"version-history":[{"count":9,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/38840\/revisions"}],"predecessor-version":[{"id":38856,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/38840\/revisions\/38856"}],"wp:attachment":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media?parent=38840"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/categories?post=38840"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/tags?post=38840"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}