react-native-branch-deep-linking-attribution
react-native-branch-deep-linking-attribution copied to clipboard
Release universal object crashes on iOS
Calling the function buo.release();
causes the app crashes on iOS, showing the following error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM removeObjectForKey:]: key cannot be nil'
I found a workaround changing.
release() {
return RNBranch.releaseUniversalObject(this.ident)
},
to:
release() {
return RNBranch.releaseUniversalObject(ident)
},