简体   繁体   中英

Flurry plugin integration in phonegap

I followed this link ( https://github.com/jfpsf/flurry-phonegap-plugin ) to integrate flurry plugin in phonegap iPhone app.

After integration as given in the link. I called flurry methods:

flurry.startSession('XYZ',function(){
                                                             alert('success session');
                                                             },function(){
                                                             alert('fail session');
                                                             });

                         flurry.logEvent('app logevent',function(){
                                         alert('success logEvent');
                                         },function(){
                                         alert('fail logEvent');
                                         });

that are not giving any response. When app send to the background by clicking on home button and again open the app that flurry event occurred and works perfectly. Can anyone please help me for this. Why flurry plugin methods are working when app come from background?

Thanks in advance.

Please ensure that you press the home button before closing the app. This is required in order to complete the Flurry reporting lifecycle.

请在以下stackoverflow帖子中阅读正确的答案: 在alertView中添加Flurry

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM