Skip to content

Commit

Permalink
Merge pull request #81 from AgoraIO/fix/getValue
Browse files Browse the repository at this point in the history
chore: release 1.0.0-rc.1
  • Loading branch information
LichKing-2234 committed May 18, 2021
2 parents e7ca33a + ce836ed commit a432a64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change log

## 1.0.0-rc.1
* fix error of get value

## 1.0.0-rc.0
* support null safety

Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AgoraRtmPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ -(NSString *)getString:(id)obj{
}
-(BOOL)getBool:(id)obj{
if ([obj isEqual:[NSNull null]]) {
return nil;
return NO;
}
return obj;
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: agora_rtm
description: Flutter plugin for Agora RTM SDK.
version: 1.0.0-rc.0
version: 1.0.0-rc.1
homepage: https://www.agora.io
repository: https://github.com/AgoraIO/Flutter-RTM

Expand Down

0 comments on commit a432a64

Please sign in to comment.