[iOS] Fix uncaught NSInvalidArgumentException in RTCPeerConnection's createAnswer

WebRTC used to report createAnswer (and createOffer) NSError with key
"error". But now the key's called "NSLocalizedDescription".

Additionally, NSMutableDictionary doesn't accept nil.
This commit is contained in:
Lyubo Marinov
2018-03-07 15:23:20 -06:00
committed by Paweł Domas
parent 80bdf908ca
commit d3a1f7d4f7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9938,7 +9938,7 @@
}
},
"react-native-webrtc": {
"version": "github:jitsi/react-native-webrtc#806435b41fa152a8239ebeb7d002d1c6e979be86",
"version": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd",
"requires": {
"base64-js": "1.2.3",
"event-target-shim": "1.1.1",
+1 -1
View File
@@ -63,7 +63,7 @@
"react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc",
"react-native-prompt": "1.0.0",
"react-native-vector-icons": "4.4.2",
"react-native-webrtc": "github:jitsi/react-native-webrtc#806435b41fa152a8239ebeb7d002d1c6e979be86",
"react-native-webrtc": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd",
"react-redux": "5.0.6",
"redux": "3.7.2",
"redux-thunk": "2.2.0",