Skip to content

Commit

Permalink
return error on PlatformException (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiCheng-Lu authored Oct 4, 2024
1 parent d86a70d commit 9cc43aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/flutter_radar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ class Radar {
return await _channel.invokeMethod('getVerifiedLocationToken');
} on PlatformException catch (e) {
print(e);
return {'error': e.code};
}
}

Expand Down

0 comments on commit 9cc43aa

Please # to comment.