Skip to content

Conversation

@maksymmalyhin
Copy link
Contributor

Fixes #5126

}

if ([GULAppEnvironmentUtil isAppExtension]) {
// This allows app extensions that have the app's bundle as their prefix to pass this test.
Copy link
Member

Choose a reason for hiding this comment

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

Nit: I think we should describe why we're doing this, not what the code is doing. Something like:

A developer could be using the same `FIROptions` for both their app and extension. Since extensions have a suffix added to the bundleID, we consider a matching prefix as valid.

@maksymmalyhin maksymmalyhin merged commit 3c99e7e into master May 5, 2020
@maksymmalyhin maksymmalyhin deleted the mm/bundle-id branch May 5, 2020 15:29
@firebase firebase locked and limited conversation to collaborators Jun 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bundle ID validation doesn't work in my share extension

5 participants