Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

App resumed or pause events not firing on including a commonJS file.

$
0
0

In app.js, if I just include the pause and resumed app level events they fire successfully but if I include my commonJS file and then have the app level events below like this:

App = require('/cfg/cfg_app');
App.initialize();
App.start();
 
Ti.App.addEventListener( 'resumed', function(e) {
    Ti.API.info('APP RESUMED');
});
They are not fired at all. I need these events to use "getArguments()" for custom URL schemes.

Can you help me understand why is this happening? Thanks

  • Titanium SDK: 3.2.0.GA, 3.1.3.GA
  • Platform & version: iOS 6.1
  • Device: iOS 6.1 Simulator and iPad 2 with iOS 6.1
  • Host Mac OSX 10.9
  • Titanium Studio: build: 3.2.1.201401061652

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>