Skip to content

Conversation

@harlanhaskins
Copy link
Contributor

@harlanhaskins harlanhaskins commented Apr 30, 2025

This adds two utility functions to GULAppEnvironmentUtil.m:

  • isAppClip, which determines heuristically whether the current app is an App Clip. I do not think it's necessarily required that app clips have this top level dictionary in their Info.plist, but in practice I would assume almost all do.
  • supportsBackgroundURLSessionUploads, which checks both for app extensions and app clips and turns off background uploads for both of them.

I have submitted a separate PR to firebase-ios-sdk to make use of supportsBackgroundURLSessionUploads, because as of now AppClips fail when uploading files.

Copy link
Collaborator

@morganchen12 morganchen12 left a comment

Choose a reason for hiding this comment

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

Thanks! You should be able to fix the tests by cherry-picking c54e175.

@harlanhaskins harlanhaskins force-pushed the harlan/hi-im-clippy branch from b427b4f to 27cedee Compare May 1, 2025 16:30
Copy link
Member

@ncooke3 ncooke3 left a comment

Choose a reason for hiding this comment

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

Thanks!

@harlanhaskins
Copy link
Contributor Author

harlanhaskins commented May 1, 2025

Thanks so much for the review! Is this good to merge?

@ncooke3 ncooke3 merged commit c18f2e1 into google:main May 1, 2025
19 checks passed
@ncooke3
Copy link
Member

ncooke3 commented May 1, 2025

Done, @harlanhaskins. I'll work on getting it released to unblock your other PR.

@harlanhaskins
Copy link
Contributor Author

Thank you so much!

@harlanhaskins harlanhaskins deleted the harlan/hi-im-clippy branch May 1, 2025 19:00
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.

3 participants