这是indexloc提供的服务,不要输入任何密码
Skip to content

Documentation or nullability annotation of FirebaseDynamicLinks.getDynamicLink() intent parameter wrong #2336

@ubuntudroid

Description

@ubuntudroid

The documentation of

public abstract Task<PendingDynamicLinkData> getDynamicLink(@NonNull Intent intent);

states, that the intent parameter

can be null if the intent does not include the dynamic link. A non-null intent is necessary only when the app is launched directly using the dynamic link, such as when using App Links.

However the parameter is annotated with @NonNull. So either the documentation or the annotation is wrong and needs adaptation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions