Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable partial media picking in Marketplace #38880

Closed
wants to merge 1 commit into from

Commits on Aug 9, 2023

  1. Enable partial media picking in Marketplace (facebook#38880)

    Summary:
    Pull Request resolved: facebook#38880
    
    Users who interact with your app on Android 14 devices can now grant partial access to their visual media library (Photos/Videos) when an app requests any visual media permissions (READ_MEDIA_IMAGES or READ_MEDIA_VIDEO) introduced in Android 13 (API level 33).
    
    This diff allow enable the partial access via "READ_MEDIA_VISUAL_USER_SELECTED" in Marketplace photo picker
    
    For Android 14 this diff request partial media access plus the normal access, there will be two return cases:
    - READ_MEDIA_VISUAL_USER_SELECTED is granted, READ_MEDIA_IMAGES and READ_MEDIA_VIDEO will be denied automatically, there is no need to check the later ones
    - READ_MEDIA_VISUAL_USER_SELECTED is denied, then check READ_MEDIA_IMAGES and READ_MEDIA_VIDEO
    
    Changelog:
    [Android][Changed] - Enable partial media picking in Marketplace
    
    Reviewed By: NickGerleman
    
    Differential Revision: D48171193
    
    fbshipit-source-id: 6e8d022a81b2e32108cd57b30ad5ce148be17c5a
    Lulu Wu authored and facebook-github-bot committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    372575c View commit details
    Browse the repository at this point in the history