Commit graph

41 commits

Author SHA1 Message Date
Freek van de Ven
7458b06fc0 Fix permission handling in image picker
Add permission handling for image picker to prevent crashes when permission is denied.

* **Android Manifest**: Add permissions for reading and writing external storage.
* **Permission Service**: Create a new service to handle permission requests using the `permission_handler` package.
* **Image Picker UI**: Modify the image picker to check and request permissions before accessing media. Show a popup if permission is denied.
* **Example App**: Update the example app to include permission handling and show a dialog if permission is denied.
* **Dependencies**: Add `permission_handler` dependency in `pubspec.yaml`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Iconica-Development/flutter_image_picker?shareId=XXXX-XXXX-XXXX-XXXX).
2024-12-12 21:27:21 +01:00
mike doornenbal
a6f50c54d8 feat: add support for handling errors 2024-09-05 10:33:26 +02:00
mike doornenbal
004f0067a4 feat: add default styling and title 2024-08-08 10:42:33 +02:00
6221ed816f chore: ready the package for deployment to the pub server 2024-07-19 11:25:59 +02:00
mike doornenbal
455fc691a2 fix: add ci and linter 2024-02-07 09:51:48 +01:00
Joons Stuijvenberg, van
27a8217b86 feat: make camera option optional 2023-04-03 14:45:54 +02:00
Thomas Klein Langenhorst
aed0952376 Updated README, added GIF, added Github Actions, removed riverpod in example in place of basic example, bumped image_picker dependency 2022-11-25 14:35:48 +01:00
437bf79385 Add BSD-3-Clause license 2022-11-01 08:24:41 +01:00
Freek van de Ven
ae2cc33479 feat: added ImagePickerService interface 2022-10-21 16:21:06 +02:00
Jacques Doeleman
e4fe3fe1de Removed some unnecessary code 2022-09-26 12:09:15 +02:00
Jacques Doeleman
5bfc0ed7e5 Icons can be changed with a Widget
Previously only done with IconData
2022-09-26 12:00:55 +02:00
TimIconica
913e531854 more size 2022-09-08 14:51:07 +02:00
TimIconica
473b32a7bd added more customization options 2022-09-08 14:23:46 +02:00
commitimpush
f14c6021cc Merge branch 'main' into v0.0.3 2022-09-06 14:22:42 +02:00
commitimpush
c0b129d912 new image picker customization options 2022-09-06 14:22:28 +02:00
commitimpush
e980550302 fixed camera in release build 2022-09-06 12:16:04 +02:00
commitimpush
0eae6bffad added imageprovider 2022-09-06 11:28:53 +02:00
commitimpush
e2d3293529 analyzer fix after updating flutter 2022-09-05 12:00:23 +02:00
commitimpush
c8a245b278 renames 2022-09-05 11:13:07 +02:00
commitimpush
1ec1861ba2 Solved the flutter analyze errors 2022-09-05 09:21:35 +02:00
commitimpush
6cec1140b3 updated pubspec with homepage 2022-09-05 08:55:51 +02:00
commitimpush
4ede413ee4 Added UI tests and attempt at service test 2022-09-02 14:13:58 +02:00
commitimpush
4953dbe853 added test files 2022-09-02 08:47:35 +02:00
commitimpush
8436a417ae update documentation 2022-09-01 17:09:40 +02:00
commitimpush
8cf757f4e7 documentation updates 2022-09-01 17:07:53 +02:00
commitimpush
9ec7bd78ce Documentation updates 2022-09-01 17:00:59 +02:00
commitimpush
a05ede7793 lots of refactors 2022-09-01 16:44:53 +02:00
commitimpush
4a2161084d seperated the UI from the functional code 2022-09-01 15:06:47 +02:00
commitimpush
cc6af7fafe something 2022-09-01 14:35:38 +02:00
commitimpush
2bc624f95c clean up 2022-09-01 12:17:39 +02:00
commitimpush
76b220842f sped up gif 2022-09-01 12:15:36 +02:00
commitimpush
d65495db94 gif added 2022-09-01 11:59:27 +02:00
commitimpush
cee3bd2293 added documentation in the code 2022-09-01 10:22:32 +02:00
commitimpush
a569e91520 more code improvements and added some documentation in the readme 2022-08-31 16:54:45 +02:00
commitimpush
21c70fb6be layout improvements 2022-08-31 14:57:01 +02:00
commitimpush
c2c73819c6 text update 2022-08-31 12:33:44 +02:00
commitimpush
560d8c3e2e code improvements 2022-08-31 12:31:54 +02:00
commitimpush
e9f0aaf4c2 added same image check 2022-08-31 12:10:58 +02:00
commitimpush
80f959b5df Replaced the alert dialog with modal bottom sheet
also replaced the buttons with icons
2022-08-31 11:45:12 +02:00
commitimpush
87706a49ba Code improvements and removed calculator 2022-08-31 10:19:57 +02:00
commitimpush
c4073074c4 Made first version of image picker 2022-08-31 10:09:36 +02:00