android: throw if a unsupported type makes it to the props Bundle
This commit is contained in:
parent
26ca0e6630
commit
45b6a8b5d5
|
@ -90,9 +90,9 @@ public class JitsiMeetView extends BaseReactView<JitsiMeetViewListener> {
|
|||
result.putString(key, (String)bValue);
|
||||
} else if (valueType.contentEquals("Bundle")) {
|
||||
result.putBundle(key, mergeProps((Bundle)aValue, (Bundle)bValue));
|
||||
} else {
|
||||
throw new RuntimeException("Unsupported type: " + valueType);
|
||||
}
|
||||
|
||||
// TODO: handle string arrays when the need arises.
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue