SetExternalUserId Callback Doesn't Get Called even though onExternalUserIdUpdateCompletion Gets Called
Description:
Json.Deserialize at OneSignal.onExternalUserIdUpdateCompletion(string jsonString) (1179) returns delegate_id as "completion: " + DELEGATE_ID instead of returning DELEGATE_ID. Hence delegates.ContainsKey(delegateId) at (1190) always returns false. Because of that, even though onExternalUserIdUpdateCompletion is called, the callback given to SetExternalUserId never gets called. Below, under ScreenShots title are screenshots taken from Rider during a debug.
Environment
Unity: 2020.1.17f1 OneSignal: 2.14.0, 2.14.1, 2.14.3
Issue occurs in Android and not tested on iOS
Steps to Reproduce Issue:
- Create a method OnIdSet that takes "Dictionary<string,object>" as parameter
- Call OneSignal.SetExternalUserId("AnyString",OnIdSet)
ScreenShots:

@salihzekiokur Thanks for reporting. Could you try out our latest 3.x.x version to see if this is still an issue for you? Most of the internals of the SDK have changed around this.
Migration guide for updating from 2.x.x to 3.x.x