Page MenuHomePhabricator

[image-picker] configure iOS microphone privacy permission
AbandonedPublic

Authored by adar on Jan 3 2023, 7:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 2:39 AM
Unknown Object (File)
Mon, Jun 10, 2:27 AM
Unknown Object (File)
Sun, Jun 9, 11:37 AM
Unknown Object (File)
Thu, Jun 6, 10:53 PM
Unknown Object (File)
Thu, Jun 6, 10:41 PM
Unknown Object (File)
Thu, Jun 6, 6:32 PM
Unknown Object (File)
Thu, Jun 6, 1:16 PM
Unknown Object (File)
Tue, May 28, 12:48 PM
Subscribers

Details

Reviewers
atul
bartek
ashoat
Summary

This preliminary diff configures the necessary permissions for expo-image-picker. This one permission, NSMicrophoneUsageDescription is required for iOS devices as expo-image-picker allows users to create new media. I give more detail in this linear task (https://linear.app/comm/issue/ENG-2559/permission-configurations-for-iosandroid)

Depends on https://phab.comm.dev/D6145

Test Plan

Build + run mobile apps, introduces no UI changes so I would like to verify that I haven't also introduced any bugs while doing these first steps. Tested all the media keyboard interactions and camera (sending, uploading, choosing images).

Diff Detail

Repository
rCOMM Comm
Branch
adar/expo-image-picker
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

adar held this revision as a draft.
adar edited the summary of this revision. (Show Details)

Build + run web app

Think you might've meant native app? Specifically iOS. Accepting assuming that's what you meant + tested.

native/ios/Comm/Info.debug.plist
82–84 ↗(On Diff #20521)

Oops, looks like this was me. Guess I used spaces when this file otherwise uses tabs

This revision is now accepted and ready to land.Jan 3 2023, 10:59 AM
ashoat requested changes to this revision.Jan 3 2023, 1:06 PM

native/ios/Comm/Info.release.plist needs to be configured as well – everyone please keep this in mind going forward when reviewing changes to plists!

This revision now requires changes to proceed.Jan 3 2023, 1:06 PM

native/ios/Comm/Info.release.plist needs to be configured as well – everyone please keep this in mind going forward when reviewing changes to plists!

Ah crap my bad, I have to modify both Info.debug.plist and Info.release.plist for every release we put out so I should've remembered.

added release plist as well

ashoat requested changes to this revision.Jan 4 2023, 5:41 PM

@adar did you notice this diff is now only updating Info.release.plist?

This revision now requires changes to proceed.Jan 4 2023, 5:41 PM
adar marked an inline comment as done.

do both plists

This revision is now accepted and ready to land.Jan 5 2023, 4:23 PM
adar abandoned this revision.