-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove direct use of UIApplication from GTMSessionFetcher.
iOS application extensions don't play well with +[UIApplication sharedApplication], and attempting to compile the symbol gets a compile error. We previously used GTM_BACKGROUND_UIAPPLICATION to gate access, but that doesn't work when building shared frameworks to use with both the app and an extension. This removes the GTM_BACKGROUND_UIAPPLICATION define altogether. It does leave GTM_BACKGROUND_TASK_FETCHING, in case clients want to compile out the background task behavior altogether.
- Loading branch information
Showing
2 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters