Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-19615] iOS: Suppress missing UIBackgroundModes "fetch" and "remote-notification" warnings #7257

Merged
merged 2 commits into from Oct 1, 2015

Conversation

cheekiatng
Copy link
Contributor

}
if (Array.isArray(infoPlist.UIBackgroundModes) && infoPlist.UIBackgroundModes.indexOf('fetch') !== -1) {
contents += '\n#define USE_TI_FETCH';
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will only add these #defines if you're building for simulator or including all ti modules. That means device and dist builds will never have these set. These new lines should probably be moved after this if/else block and before the if (!destExists || contents !== fs.readFileSync(dest).toString()) { line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cb1kenobi
Copy link
Contributor

CR'd and FR'd. APPROVED

cb1kenobi added a commit that referenced this pull request Oct 1, 2015
[TIMOB-19615] iOS: Suppress missing UIBackgroundModes "fetch" and "remote-notification" warnings
@cb1kenobi cb1kenobi merged commit 5898592 into tidev:master Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants