Skip to content

Commit

Permalink
fix: ArgumentError: Invalid argument(s): 6 is not one of the suppor…
Browse files Browse the repository at this point in the history
…ted values

Add 5G to available network types on Dart side.
  • Loading branch information
lewooz authored and littleGnAl committed Jul 12, 2023
1 parent 094b82a commit 25471b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/agora_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4247,6 +4247,10 @@ enum NetworkType {
/// 5: The network type is mobile 4G.
@JsonValue(5)
networkTypeMobile4g,

/// 6: The network type is mobile 5G.
@JsonValue(6)
networkTypeMobile5g,
}

/// @nodoc
Expand Down
1 change: 1 addition & 0 deletions lib/src/agora_base.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/src/binding/event_handler_param_json.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 25471b8

Please sign in to comment.