Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze authored Jan 12, 2024
1 parent 75635c3 commit f97c3b7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,13 @@ await Gal.putVideo(video.path);
### Handle Permission

```dart
// Check Permission
// Handle Permission
await Gal.hasAccess();
// Request Permission
await Gal.requestAccess();
// Handle Permission for saving to album
await Gal.hasAccess(toAlbum:true);
await Gal.requestAccess(toAlbum:true);
```

### Handle Errors
Expand Down

0 comments on commit f97c3b7

Please sign in to comment.