Skip to content

Commit 3fc0204

Browse files
fix(native): Update presentationStyle handling to use 99 as a default for unset values
1 parent 6cd964e commit 3fc0204

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/platforms/native/bridge/NativeBridgeManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export class NativeBridgeManager implements INativeBridge {
9393
parameters.invitationUrl,
9494
options.leeway ?? 0,
9595
options.ephemeralSession ?? false,
96-
presentationStyle ?? 99,
96+
presentationStyle ?? 99, // Since we can't pass null to the native layer, and we need a value to represent this parameter is not set, we are using 99.
97+
// //The native layer will check for this and ignore if the value is 99
9798
parameters.additionalParameters ?? {}
9899
);
99100
return new CredentialsModel(credential);

0 commit comments

Comments
 (0)