-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
DynamicLink initializer shouldn't be available from Swift #10000
Comments
Note: this API is also available for ObjC users
|
andrewheard
added a commit
that referenced
this issue
Sep 20, 2022
DynamicLink's initializer was not intended to be publicly available. Marking it as NS_UNAVAILABLE hides it from both ObjC and Swift callers; resolves #10000.
andrewheard
added a commit
that referenced
this issue
Sep 20, 2022
DynamicLink's bare initializer was not intended to be publicly available. Marking it as NS_UNAVAILABLE hides it from both ObjC and Swift callers; resolves #10000.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There's no
init
marked asNS_UNAVAILABLE
, so a bare initializer is currently available in Swift but shouldn't be.firebase-ios-sdk/FirebaseDynamicLinks/Sources/Public/FirebaseDynamicLinks/FIRDynamicLink.h
Lines 55 to 86 in 8467858
We'll need to determine the right strategy for this: it's a breaking change to remove it, but it doesn't work as is. Introducing an initializer that's deprecated will introduce the API for ObjC users, which we don't want either.
The text was updated successfully, but these errors were encountered: