Project: titanium
Issue TIMOB-19615: iOS: Suppress missing UIBackgroundModes "fetch" and "remote-notification" warnings
When running a Titanium app in the simulator I noticed the following in the console: {code} Sep 25 12:39:01 yojimbo itworks[99959]: You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist. Sep 25 12:39:01 yojimbo itworks[99959]: You've implemented -[ application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. {code} It appears that we need to add "fetch" and "remote-notification" to the list of UIBackgroundModes but only if these features are used. Perhaps we need to use the following to control this: {code} #ifdef USE_TI_FETCH #ifdef USE_TI_SILENTPUSH {code}
Story points: 2