Skip to content

Handled exception if permission is denied#7

Open
mohmdramadn wants to merge 1 commit intoAlystrasz:masterfrom
mohmdramadn:master
Open

Handled exception if permission is denied#7
mohmdramadn wants to merge 1 commit intoAlystrasz:masterfrom
mohmdramadn:master

Conversation

@mohmdramadn
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Owner

@Alystrasz Alystrasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I test your change?

await _channel.invokeMethod('enableBluetooth');
return bluetoothState;
} catch (e) {
print(e);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not returning false here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants