intercom icon indicating copy to clipboard operation
intercom copied to clipboard

Android 13, SDK 33 - Unable to upload files

Open ragulbit opened this issue 2 years ago • 3 comments

Describe the bug I've integrated Intercom's capacitor-community v4.0.2. It's working well on iOS, and the conversation text is functioning properly on Android. However, I'm unable to attach files and I'm encountering an error message that says File permission access denied.

It's functioning well on Android 12 - SDK 32 when I include the READ_EXTERNAL_STORAGE permission in the Android manifest. However, file uploads are not working on Android 13 - SDK 33. I've updated the Android manifest with the below permissions, but I'm still unable to upload files.

<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />

Any help would be appreciated. Thanks

ragulbit avatar Oct 12 '23 04:10 ragulbit

I faced the same issue and solved it increasing the Intercom Android SDK version to 14. Version 12 (current one) is old and it did not use the new Android media permissions.

matiasfic avatar Oct 29 '23 19:10 matiasfic

I faced the same issue and solved it increasing the Intercom Android SDK version to 14. Version 12 (current one) is old and it did not use the new Android media permissions.

How does one do this?

ziyanp avatar Nov 13 '23 20:11 ziyanp

I have the same issue with the lastest version (5.0.1) any help?

FernetB avatar Jun 24 '24 15:06 FernetB