Ziggeo / android-sdk-demo

Ziggeo's Android Client SDK 2.0
Apache License 2.0
8 stars 5 forks source link

Doesn't work with Android 13 - External Storage Permission always Denied #41

Closed smihir94 closed 1 year ago

smihir94 commented 1 year ago

Since Android 13 these 2 permissions are always denied

_android.permission.READ_EXTERNAL_STORAGE android.permission.WRITE_EXTERNALSTORAGE

SDK is opening new Blank Activity with storage access error message on bottom.

Update Ziggeo Android SDK to work with Android 13 - Tiramisu Devices.

Can you please add support for this? Thanks a lot in advance.

smihir94 commented 1 year ago

Hello, Any progress on this task?

Bane-D commented 1 year ago

Hi there,

One of our colleagues is looking into this to see what might be happening and if we can add this into current sprint or if it might need to go to next one. We will need to follow up with you as we learn more.

smihir94 commented 1 year ago

Sure, Thanks

smihir94 commented 1 year ago

Hi @Bane-D Do you have any updates on this issue?

3akat commented 1 year ago

Hey @smihir94! Please take a look at the version 2.6.15 - should be fixed there

smihir94 commented 1 year ago

@3akat I tried and it is still giving me blank screen with an error message on bottom. can you take a look please? Attached screenshot below.

Screenshot_20230728_155131_MyRegistry

smihir94 commented 1 year ago

@3akat Did you get a chance to look into the screenshot I have posted?

smihir94 commented 1 year ago

Hi @3akat or @Bane-D can you please take a look at the screenshot I have attached? This feature is on priority and it's stopping us from releasing the next version for our App.

objectorientedperson commented 1 year ago

Facing the issue, any progress on this? @3akat

aliceLit commented 1 year ago

try to add androidx.work:work-rintime-ktx.2.7.1 // crash fro Android 12+, Note: read, write permission should be updated fro API level 33

smihir94 commented 1 year ago

try to add androidx.work:work-rintime-ktx.2.7.1 // crash fro Android 12+, Note: read, write permission should be updated fro API level 33

I tried with the version you have provided. I'm still getting the black screen with the error strip on bottom. (ss attached.) can you please take a look?

ss : https://imgur.com/fnNkjRK

3akat commented 1 year ago

Please take a look at the version 2.6.20

objectorientedperson commented 1 year ago

@3akat unfortunately. Besides in Android 14 it directly crashes while asking for permissions.

3akat commented 1 year ago

@objectorientedperson can you please double check you've update the version? I spent some time today trying to reproduce the issue with local and remote dependency - works fine. If you still face it, can you please specify exact steps on our demo app? Would be helpful!

smihir94 commented 1 year ago

@3akat I have checked with updating version 2.6.2 and also with the latest version 2.6.5. The result is still same on Android 13 devices. Can you take a look? In my App, targetSdkVersion = 33 and Test Device OS is Android 13

3akat commented 1 year ago

@smihir94 Please try this version implementation('com.ziggeo:android-sdk:2.6.20') { transitive = true }

smihir94 commented 1 year ago

Thank you. @3akat @aliceLit @Bane-D implementation 'com.ziggeo:android-sdk:2.6.20' Fixed the issue on Android 13+ devices.