Closed Taylor123 closed 5 years ago
@tschoffelen on iOS you'll get the error: NSNull cannot be converted to NSString
and on the android implementation any falsy value will be replaced with the default string
i could add another argument to the function and adjust if you'd prefer it
That might be a better solution indeed!
Great! This also fixes #7. Thanks!
Published to NPM as react-native-email-link@1.3.0
.
Making them optional is fine, but this also removes the default values as far as I can tell.
Wouldn't passing
null
to thetitle
andmessage
params achieve your intended result?