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.
The documentation of
firebase-android-sdk/firebase-dynamic-links/src/main/java/com/google/firebase/dynamiclinks/FirebaseDynamicLinks.java
Line 102 in 6ccc9de
states, that the intent parameter
However the parameter is annotated with
@NonNull. So either the documentation or the annotation is wrong and needs adaptation.