Package 

Class AttachmentsPickerDialogStyle

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.helper.ViewStyle

    
    public final class AttachmentsPickerDialogStyle
     implements ViewStyle
                        

    Style for AttachmentsPickerDialogFragment.

    When using the in-app picker (useDefaultSystemMediaPicker = false), the following permissions must be declared in your app's AndroidManifest.xml:

    <!-- For Android 12 (API 32) and below -->
    <uses-permission
        android:name="android.permission.READ_EXTERNAL_STORAGE"
        android:maxSdkVersion="32" />
    
    <!-- For Android 13 (API 33) and above -->
    <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" />

    When using the system picker (useDefaultSystemMediaPicker = true), no storage permissions are required as the system picker handles permissions internally.