yasirkula / UnityNativeCamera

A native Unity plugin to take pictures/record videos with device camera on Android & iOS
MIT License
609 stars 71 forks source link

app crashes upon returning from photo (only on samsung A10) #61

Open shacharoz opened 3 years ago

shacharoz commented 3 years ago

Description of the bug i have 2 phones. A21s (app is working), while on A10 its crashes. attached is a video of the app running. after taking the photo, the app crashes. on A21s it works correct. the error says that "the app is not suitable for the device".

can it be more related to the UnityNativeGallery? i use that library for saving the images.

https://user-images.githubusercontent.com/593642/118557951-3e9dac80-b766-11eb-96f6-e30aca2574c5.mp4

Platform specs

yasirkula commented 3 years ago

If I'm correct, you are opening the app from its Google Play page, it opens all right, take a picture inside the app, and then for some reason Google Play page is automatically reopened with a "The app is not suitable for the device" message?

shacharoz commented 3 years ago

Yes. Tge only thing that happens adterwards is that I save the image (using gallery ) and putting it in the background.

On Tue, May 18, 2021, 09:11 Süleyman Yasir KULA @.***> wrote:

If I'm correct, you are opening the app from its Google Play page, it opens all right, take a picture inside the app, and then for some reason Google Play page is automatically reopened with a "The app is not suitable for the device" message?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeCamera/issues/61#issuecomment-842915192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQ52UABGMEE6FZ6GRDHUTTOIHJ3ANCNFSM45BHMOQA .

yasirkula commented 3 years ago

I've never seen this kind of issue. What happens when you launch the game from the desktop rather than Google Play?

yasirkula commented 3 years ago

And can you share the crash logs?

shacharoz commented 3 years ago

when i launch from desktop? i just get the photo picker, I pick a photo, and the app continues to work as normal. the app also works on some other phones I have, like Samsung A21s or Huawei.

the Samsung A10 phone is the property of my client and I can't get logs. i am considering to make more testing with more phones, but this is the first time I experienced this kind of problem.

On Tue, May 18, 2021 at 10:42 AM Süleyman Yasir KULA < @.***> wrote:

And can you share the crash logs?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yasirkula/UnityNativeCamera/issues/61#issuecomment-842977558, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQ52WMU7N7LDLIAA7RBILTOIR53ANCNFSM45BHMOQA .

yasirkula commented 3 years ago

I meant launching the app from the phone's home screen... I doubt the logs will contain useful information but without them, I have nothing to work with.