UnityNativeCamera icon indicating copy to clipboard operation
UnityNativeCamera copied to clipboard

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

Open shacharoz opened this issue 4 years ago • 6 comments

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

  • Unity version: 2019.4.2 LTS
  • Platform: Android
  • Device: Samsung Galaxy A10, Android 10
  • How did you download the plugin: Asset Store

shacharoz avatar May 17 '21 21:05 shacharoz

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?

yasirkula avatar May 18 '21 07:05 yasirkula

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 .

shacharoz avatar May 18 '21 07:05 shacharoz

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

yasirkula avatar May 18 '21 07:05 yasirkula

And can you share the crash logs?

yasirkula avatar May 18 '21 08:05 yasirkula

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 .

shacharoz avatar May 18 '21 19:05 shacharoz

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.

yasirkula avatar May 18 '21 23:05 yasirkula