react-native-receive-sharing-intent
react-native-receive-sharing-intent copied to clipboard
Update ReceiveSharingIntentHelper when intent is null
Has a try catch error on Android when i maximize my app without a intent shared (intent null)
[Error: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toString()' on a null object reference]
With this validation the error will not be appears anymore <3
The one liner is the simplest solution I've seen since multiple discussions on the issue, e.g. #96 and #110. Thanks! @JeanEXE