Frequently Asked Questions

Devices / Users:

New devices are not properly registering into the Platform

Sometimes you may experience that new devices are being check as inactive, you can confirm this in the "Devices" page at the Active column.

This situation causes that all notifications will not be send to those devices. Most probably this is due to the limits of your license, find more information about how licenses works here.

Sending Notifications:

What is the character limit for push messages?

Currently the limit on the size of the title or the alert for a push notification is determined by the size of the payload (complete notification information) that is sent to Google and Apple services. This payload includes all notification information, from title and alert, to custom properties or the rich content URL. And it has a total maximum size of 2KB for iOS and 4KB for Android. Each character usually occupies 1B, so it is difficult to reach this limit by making reasonable use. Even so, it is recommended to use short URLs as much as possible to push this limit further.

The maximum size of the text or title of a notification, therefore, would be more determined by what a phone or tablet screen may display (a notification that is too long could not be displayed full on the screen). These sizes are (approximately):

  • Title: up to 40 characters
  • Text: 40 characters with the screen locked and up to 200 in the iOS notification center and between 40 and 500 (if notifications with large text are used, which is the default TwinPush behavior) on Android

Not receiving notifications

Initial approach

The first thing you have to do is to download the PDF report of the undelivered notification, you can find this report in the Push page, under details of that notification.

You can see there, if there was an error that TwinPush could have identified. Most common errors are:

  • There are no deliveries: There were no recipents (active devices) for your notification, from here, you should check if all devices of your recipient list are active, you can check that in "Devices" page at the Active column.

  • BadDeviceToken or No valid token or certificate error: These kind of errors are common when sending notifications to iOS devices, and you must check your Apple APNS Certificate configuration at the settings section. Check for your Certificate expiring date or if you are using your Certificate correctly: Development or Production (Distribution checkbox checked) according to your current App, and apply corrections if needed.

In case the notification report is not showing any error, there might be some other reason, please check the following one by one:

  • Inactive Device: mainly caused by a problem with the limit of your TwinPush license here.
  • Notifications not enabled in the device: you should check if notifications are enabled for your App in that device and try again. When a user decides not to receive notifications from your App in his phone, the Push check will show uncheck in the Device list and he will not receive any notification, eventhough he could find them in his notification Mailbox, only if you have integrated this funtionality into your App.

  • Connectivity problems with the device, sometimes a lack of coverage or a wifi connection into a corporative network can cause the notification not to arrive or to delay.
  • The notification had arrived but it was unnoticed.

As a general rule, when you are not receiving notifications into a specific device, you should check the activity in your device: in the Devices page, find your device linked to your user name(Alias), and make sure it is effectively active and has notifications enabled.

You could even reinstall your app and repeat the registering process.

If you have followed all these steps and still have a problem, please contact us at support@twincoders.com

Notifications are not seen in the App mailbox

TwinPush offers a notification mailbox per user, where a user can find all received notifications from the App.

In case you are not finding a specific notification into your mailbox, most probably you haven't mark that notification to get saved into the mailbox at the time you compose it. It is essential to mark the checkbox when composing the notification, in order to get it later in the mailbox.

The notification text arrives incomplete

The length of notifications is limited by Apple and Google.

In that sense, you should be aware that you have a length limitation of a Push notification including all its parts: the text as well as the url, the custom properties, etc. Once a notification is composed, if that exceeds the limit, TwinPush will cut the text, to make sure it will be deliver to most devices.

For that reason you will see sometimes the text incomplete.

A way to improve your text completeness is by trying to shorten your URL by using URL shorteners or by reducing the size of your message.

The Notification Web content cannot be seen

The notification arrives but the web content that should be seen when opening the notification is not doing so in the App.

If you are getting this error, there a a few verifications you should do:

  • Check if the web content is properly loading into a web browser, sometimes this kind of problems are caused by an overload in the destination Web, due to huge amount of mobile users requesting it at the same time.
  • The Web has not secure URL references. Some Mobile Operative Systems will not open a non secure destination Web into an App but will force to open it into the Device browser.

If you are not able to see any rich content received, you could probably have an integration problem with the Webview of the App, in that case contact to the developement team of your App.

Troubles while uploading the target file

TwinPush offers you the posibility to upload a file containing the target users of your campaign.

The target file must comply a specific format and composition, you should follow this guide to generate a target file for a proper operation.

More Questions

Not getting a confirmation or an invitation email

TwinPush sends you an email to confirm your email account when you register, when you request a new password, when you are invited to use an App or when other actions require it. Sometimes the email goes into your Spam folder or it can be block by the security system of your company. If you are not receiving an email, please do not hesitate to contact us at support@twincoders.com

No access to the settings of an App

Only the Account Administrator of an App has access to the settings of the App. The Administrator is the only one who has access to the Authentication Keys, can manage the team and the settings of the App.

How Licenses Work

TwinPush has a license model based on the number of active devices.

An active device is the one that has been enrolled in the platform sometime by accessing through the App and has accessed at least once into an specific period of time. This period is 6 months by default, but this time parameter can be reconfigure on each account.

In this context, any device that has not registered any activity in a 6 months continuos period, it will become part of the inactive devices, so it will stop receiving notifications and reporting statistics and it will not count into the licensed devices.

Out of license devices

In case that the number of active devices exceeds the number of licensed devices, TwinPush will mark the account as "out of license" and new enrolled devices will be marked as inactive. A new devices count is done every week.

In this way, active devices will be the ones that have registered activity in the last 6 months as well as the ones with older date of enrollment.

Reconfiguring the time of activity

It is possible to reconfigure the time without activity needed to consider a device as inactive. This period of time (in months) can be adjusted by each account. In this way, is possible to force devices as inactive in a shorter time.

This parameter will allow an account to work always with the most active devices, but, on the other hand, that account will lose the ability to communicate with the least active ones, making impossible to carry out campaigns to reactivate these users.

if you want to change this value in your account, you should contact us at support@twincoders.com

Error Messages

The following table list describe the main error messages that return Google (FCM) and Apple (APNS) Push notification Platforms. TwinPush relay these messages in the response of Notification request. These messages could also be found in the downloadable report at a Notification view.

Message Description
NotRegistered
Warning - FCM
An existing registration token may cease to be valid in a number of scenarios, including:
* If the client app unregisters with FCM.
* If the client app is automatically unregistered, which can happen if the user uninstalls the application. For example, on iOS, if the APNS Feedback Service reported the APNS token as invalid.
* If the registration token expires (for example, Google might decide to refresh registration tokens, or the APNS token has expired for iOS devices).
* If the client app is updated but the new version is not configured to receive messages.
For all these cases, remove this registration token from the app server and stop using it to send messages.
Unregistered
Warning - APNS
The device token is inactive for the specified topic.
MismatchSenderId
Error - FCM
A registration token is tied to a certain group of senders. When a client app registers for FCM, it must specify which senders are allowed to send messages. You should use one of those sender IDs when sending messages to the client app. If you switch to a different sender, the existing registration tokens won't work.
DeviceTokenNotForTopic
Error - APNS
The device token does not match the specified topic.
InvalidPackageName
Error - FCM
Make sure the message was addressed to a registration token whose package name matches the value passed in the request.
InvalidParameters
Error- FCM
Check that the provided parameters have the right name and type.
InvalidRegistration
Error - FCM
Check the format of the registration token you pass to the server. Make sure it matches the registration token the client app receives from registering with Firebase Notifications. Do not truncate or add additional characters.
CERTIFICATE_EXPIRED
Error - APNS
OPENSSL_internal:SSLV3_ALERT_CERTIFICATE_EXPIRED
The APNS Certificate from Apple has already expired.
BadDeviceToken
Error - APNS
The specified device token was bad. Verify that the request contains a valid token and that the token matches the environment.
MissingRegistration
Error - FCM
Check that the request contains a registration token (in the registration_id in a plain text message, or in the to or registration_ids field in JSON).