Created
January 19, 2020 01:45
-
-
Save ChangJoo-Park/a1745cd73f6ba2fee9f7de59a9776599 to your computer and use it in GitHub Desktop.
PlatformException handling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
granted = await hasPermissions(); | |
} on PlatformException catch (e) { | |
if (e.message.contains('already')) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment