Mobile Apps Monitoring With IBM Bluemix
Developers are able to see information about how their mobile apps are used within IBM Bluemix.
Join the DZone community and get the full member experience.Join For Free
One of the great capabilities of Bluemix is that developers can see information about how their mobile apps are used in a server side dashboard. This includes usage statistics, network traffic and devices types as well as client side logs. Being able to see logs from all mobile devices is very useful since physical access to devices is obviously hard and sometimes not possible.
In order to use this functionality Bluemix provides the Mobile Client Access service and SDKs for iOS, Android and hybrid apps.
The service Mobile Client Access was recently renamed and supports now Android as well as iOS. In order to register mobile apps to connect the client apps with the server backend, the app GUID is now configured in the Bluemix app rather than in a particular service.
I use the logging functionality in the sample app Hear the Buzz. After including the SDK for iOS you can use the IMFLogger APIs from both Swift and Objective-C. For example via logInfoWithMessages you add logs and via sendPersistedLogs logs are sent to Bluemix. Here is a screenshot of the dashboard (still using the old service name).
To learn more read the documentation and watch the video from Andrew Trice.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.