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