Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
949 stars 240 forks source link

Latest update contains some issues #510

Open Kaizodo opened 2 weeks ago

Kaizodo commented 2 weeks ago

I have tried latest examples and plugin and found some issues which i am mentioning as following :-

devices i have tested it on

Nothing phone 1 - Android 14 Honor 8x - Android 10 Redmi Note 5 pro - Andorid 9 Plugin version 2.1.0 Dart and flutter version latest till date

Issue number - 1 :- #509

Incorrect information in documentation issue number -2 :-

CameraAwesomeBuilder.awesome(
  saveConfig: SaveConfig.photoAndVideo(),
  onMediaTap: (mediaCapture) {
    OpenFile.open(mediaCapture.filePath);
  },
),

in mediaCapture.filePath filePath does not exists

Issue number 3 :- When using default awesome ui the text that toggle between photo to video is howing tooo large

let me know if anything else is required.

g-apparence commented 2 weeks ago

Please fill a real issue. Could you explain what is not working.

Also I'm never against some help. Feel free to open a PR with your fix

Kaizodo commented 2 weeks ago

i have already created 2 issues also as per documentation there are many things that seems to either got removed or does not exists , for starters try to run a example from the documentation you will see Video and Photo text right above capture button is not looking as expected (Text is huge and can bearly see in ui )

i would love to open a pr but i don't want to spend another 5 hours to understand the code (Android kotlin code specificafly) and apply fix so hopefuly whoever is maintaining this repo already has some fixes.

SzymonDziak commented 2 weeks ago

Everything works well for me @Kaizodo so it must be a personal issue. You should clarify all details to debug the problem including ur machine, OS, simulator type, etc...

Kaizodo commented 2 weeks ago

509 take a look at this issue , devices i have tested it on

Nothing phone 1 - Android 14 Honor 8x - Android 10 Redmi Note 5 pro - Andorid 9 Plugin version 2.1.0 Dart and flutter version latest till date

Kaizodo commented 2 weeks ago

Another issue in documentation it says following code to access the file

CameraAwesomeBuilder.awesome(
  saveConfig: SaveConfig.photoAndVideo(),
  onMediaTap: (mediaCapture) {
    OpenFile.open(mediaCapture.filePath);
  },
),

but mediaCapture.filePath filePath does not exists

Kaizodo commented 2 weeks ago

I have updated the issue with the details