Instabug-Android icon indicating copy to clipboard operation
Instabug-Android copied to clipboard

Bug reporting by screenshot invocation isn't working for apps targeting Android 13

Open coreywjohnson opened this issue 3 years ago • 1 comments

Steps to Reproduce the Problem

Integrate Instabug into a project targeting sdkVersion 33 Enable bug reporting invocation by screenshots Take a screenshot

Expected Behavior

The bug reporting flow should be invoked when the user takes a screenshot

Actual Behavior

The flow is not invoked for users on Android 13 when the targetSdkVersion for the project is 33 Likely related to READ_EXTERNAL_STORAGE permission changes https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions

Instabug integration code

BugReporting.setInvocationEvents(InstabugInvocationEvent.SCREENSHOT)

SDK Version

11.5.0

Android Version

13

Device Model

Pixel 6 Pro

[Optional] Project That Reproduces the Issue

coreywjohnson avatar Aug 31 '22 00:08 coreywjohnson

Hi @coreywjohnson, thanks a lot for reporting this. We're working on supporting the new granular permissions. I'll update this issue when the fix is released.

mhashim6 avatar Aug 31 '22 11:08 mhashim6

Any update on this?

stevie-patreon avatar Nov 17 '22 20:11 stevie-patreon

@stevie-patreon Yes; it’s scheduled to be on the next release. Will update the issue when the release is out.

mhashim6 avatar Nov 18 '22 10:11 mhashim6

Great, thanks for the update!

stevie-patreon avatar Nov 18 '22 12:11 stevie-patreon

@mhashim6 Also looking forward to this fix. I just saw there was an update 11.6.0 on Nov 22nd 2022, which was after your message. Is the fix included already in there?

friederikewild avatar Nov 30 '22 13:11 friederikewild

@friederikewild Hi, It's not included in 11.6.0 I'm afraid.

There was a blocker on our side. I'll try my best to update you with a date when we have it.

Thanks!

mhashim6 avatar Nov 30 '22 13:11 mhashim6

Thanks for the update @mhashim6. Looking forward to it and good luck

friederikewild avatar Nov 30 '22 13:11 friederikewild

hi @mhashim6 this is negatively impacting our testing process as we need to test on Android 13 due to the number of users adopting that Android version, do you have a timeframe for when you will deliver a fix for this?

pimentones avatar Dec 12 '22 16:12 pimentones

@pimentones The release is expected to be out around December, 24.

As always, will make sure to update the thread if anything comes up.

mhashim6 avatar Dec 12 '22 17:12 mhashim6

@mhashim6 any chance to release a fix before since the main functionality of the app is broken on Android 13? thank you for the update

pimentones avatar Dec 13 '22 08:12 pimentones

@pimentones Feel free to open an internal support ticket; There we can generate a custom snapshot ahead of schedule

mhashim6 avatar Dec 13 '22 08:12 mhashim6

Hi @coreywjohnson, @stevie-patreon, @friederikewild, and @pimentones! I'm glad to tell you our latest release 11.7.0 is out. It adds support to API 33 amongst other changes.

I'll close the ticket for now. Don't hesitate to re-open it if you need any help.

mhashim6 avatar Dec 21 '22 16:12 mhashim6