UnsupportedOnJs
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR] )
Marks a member of the com.google.firebase layer that the Firebase JS SDK does not provide: on JS it does nothing (or fails, where it must return a value), as its documentation says. The marker is on the JS actual only, so the warning appears when code is compiled for a JS target, in common code included; opt in with @OptIn(UnsupportedOnJs::class) where the JS behaviour is acceptable.