I have a push notification issue with mobilefirst 7.1.
When the mobile device subscribes and receive the push notification message, i see the logged data in the operations console. But I don't see any data in the analytics console. Maybe it doesn't synchronize each other? But the device's data does exist. It only syncs with the device in operations console.
Unfortunately, we do not currently log push notification data in the analytics console. However, our dev team will be looking into it as we see this is an issue.
Related
How do I obtain more information, in addition to server logs and trace, on my application that crashes from time to time?
Application crashes can be tracked via the Analytics Console. By using Analytics SDK, the user setcontext api's to set the user in the application. That will ensure the application user data
and the crash captured (when the app starts next time to connect to the Mobilefirst server). This way one can capture the crash logs and analytics from the deviceId and user perspective.
More details:
https://www.ibm.com/support/knowledgecenter/en/SSHS8R_7.1.0/com.ibm.worklight.monitor.doc/monitor/c_op_analytics_data_capture.html#c_op_analytics_data_capture__manually_captured_data (see the [crash report] section)
We are using
WL.Analytics.log({"key" : 'value'});
to perform some analytics log in an iOS cordava app.
We are able to view the data using
http://localhost:9500/*/_search?q=module:%TestOldButtonPressedEvent%22%20AND%20timestamp:[2017-04-20%20TO%202017-04-20]
Question:
Yesterday, the mobileFirst and analytics was down for maintenance, user perform "TestOldButtonPressedEvent" using the iPad offline. (the app supports offline mode.
However, after the server is up today, there's no data in the elastic search result.
Does it means it doesn't keep the data in the iPad in offline mode and resend it to the analytics server once the server is up again?
We are implementing the GCM Push notification for app updates on AppCenter Client app
We have setup the following values in the server configuration
jndiName="ibm.appcenter.gcm.signature.googleapikey value="***"
jndiName="ibm.appcenter.push.schedule.period.unit" value="seconds"
jndiName="ibm.appcenter.push.schedule.period.amount" value="40"
And our app is still not receiving push notifications from GCM,
is there anything additional in the AppCenter Client to modify to enable this feature?
we have already set the config.json file gcmProject attribute with the GCM project number and rebuilt the apk accordingly.
the logs don't show any exceptions and no registered devices are available for push notification update
This type of question does not fit StackOverflow, which is meant for programming-related questions. Please open an IBM PMR (support ticket) to address this kind of server configuration question.
When I send multiple notifications to Apple or Android devices through MFP, Apple devices will receive all the notifications on the other hand Android will only receive the last notification. We are using Unicast Notification to send messages to user devices using this REST API.
Android devices will also receive all the push notifications sent by the MFP server. The notification shade ( center) will however display only the last received. This does not mean the earlier ones are lost. They are all still available, just not visible in the notification shade.
You have not mentioned the complete build version of your MFP. To see all the notifications in the shade-
install the latest ifix from FixCentral, rebuild your application. Edit your wlclient.properties and add the following property-
showAllNotificationsInTray=true
My question is as follows:
I have a database on another server with the appropriate records of the devices.
I can send a notification by REST API without necessarily making an installation registry?
Something like:
"Send notification to the following devices:
- id1
- id2
- Id3 "
My idea is to continue to use my other server without getting spending requests or hosting Parse. Only use the push notifications service.
Is it possible?
Not sure what types of devices you are referring to (iOS? Android? Windows Phone?), but push notifications to mobile devices always require an application to be installed on the target device, since the notification is sent to a specific application on a specific device.
And the only way you can get a device ID (which you can use to send push notification to a device) is by having an application on the device send that ID to your server after obtaining it from the relevant push notifications service (APNS for iOS, GCM for Android, etc...).