react-native-branch-deep-linking-attribution icon indicating copy to clipboard operation
react-native-branch-deep-linking-attribution copied to clipboard

Release universal object crashes on iOS

Open pedromneto97 opened this issue 4 years ago • 0 comments

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)
},

pedromneto97 avatar Aug 24 '20 20:08 pedromneto97