我点击了这个链接(https://github.com/jfpsf/flurry-phonegap-plugin),在phonegap iPhone应用程序中集成了flurry插件。
在链接中给出的集成之后。我调用了flurry方法:
flurry.startSession('XYZ',function(){
alert('success session');
},function(){
alert('fail session');
});
flurry.logEvent('app logevent',function(){
alert('success logEvent');
},function(){
alert('fail logEvent');
});没有给出任何回应。当应用程序通过单击主页按钮发送到后台,并再次打开应用程序时,flurry事件发生并完美工作。有人能帮帮我吗?当应用程序来自后台时,为什么flurry插件方法可以正常工作?
提前谢谢。
发布于 2013-05-28 23:38:46
Please ensure that you press the home button before closing the app. This is required in order to complete the Flurry reporting lifecycle.请阅读此stackoverflow帖子中的正确答案:Adding Flurry in the alertView
https://stackoverflow.com/questions/16795977
复制相似问题