Recently browsing the garden article, found that the blog park and listen to the cloud is holding "listen to the Cloud Original blog" contest. I've been working on an iOS app recently, so listen to the cloud app to monitor my app's metrics and protect my app. Next, I'll show you how to embed the SDK for listening cloud into your app.
First go to the cloud website to register, and then login to the product backstage, such as, click into the cloud app to listen to the page
Go to the page and see a Product Management background page, and then click New App, we can start the deployment integration work.
In the picture below fill in the application name, application platform, type of application,
Click Save to see a background for you to assign the key, remember this key because embedded in your app to add this key.
The next step is to download the SDK and add the SDK to your project file.
SDK files: links. (Listen to the Cloud SDK to support iOS5.0 and above systems.) )
Then follow the deployment Guide in the background to add the downloaded SDK to the project.
The next step is to add the libraries that the SDK relies on to your project, which is the following 4 libraries:
- Coretelephony.framework
- Security.framework
- Systemconfiguration.framework
- Libz.dylib
When this is done, it's almost complete, just add the following files to the Cloud app in the APPDELEGATE.M file:
Then add the following snippet of code to the didfinishlaunchingwithoptions method to complete the app integration.
Recompile the project and run the app on the iphone, if the steps above are correct, you can see the following prompt:
See the above tips to show that the listening cloud app has been successfully deployed to your app, keeping the app running, and network access, waiting for a few minutes and will be able to see the performance data Report of the monitored app in the Listening Cloud app system.
Summary: If you are very focused on application performance monitoring, try using third-party tools to help you monitor the status of your app every day, so you know how to run your app every day. At present, I am also just a preliminary use of listening to the cloud app, specific monitoring indicators and monitoring accuracy is still to be explored.
#听云博客大赛 # How to embed listening cloud product monitoring app performance in your app