Skip to content

iOS - Unable to set profile picture via Camera photo due to size restriction (iOS) - Reported by: @akshayasalvi #6554

Closed

Description

@isagoico

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Navigate to settings
  2. Tap on profile
  3. Tap on the avatar and click the camera option
  4. Take a picture of anything

Expected Result:

User should be able to upload a picture taken with the camera.

Actual Result:

Unable to upload a picture taken with the camera because of the size restriction.

Workaround:

Unknown. I don't think there's a workaround for this yet.

Platform:

Where is this issue occurring?

  • iOS

Version Number: 1.1.17-0

Reproducible in staging?: Yes
Reproducible in production?: Yes

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Image.from.iOS.9.MP4

Expensify/Expensify Issue URL:

Issue reported by: @akshayasalvi
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1638207746035200

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Dec 1, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @Dal-Papa (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. changed the title [-]iOS - Unable to set profile picture via Camera photo due to size restriction (iOS)[/-] [+]iOS - Unable to set profile picture via Camera photo due to size restriction (iOS) - Reported by: @akshayasalvi[/+] on Dec 1, 2021
  3. akshayasalvi commented on Dec 1, 2021

    @akshayasalvi
    Contributor

    Proposal

    Till the time we get an image editor to crop the image etc, which we are tracking separately, we should just update the limit to 5MB in CONST.

    AVATAR_MAX_ATTACHMENT_SIZE 5242880

  4. Dal-Papa commented on Dec 1, 2021

    @Dal-Papa

    Can't we resize the image in iOS temporarily ? Otherwise that sounds good to me if we keep a comment to remember to put it back to its original value.

  5. akshayasalvi commented on Dec 1, 2021

    @akshayasalvi
    Contributor

    @Dal-Papa Image editing before uploading is being tracked here #6301 and kept on hold is in the design stage and it'll probably take time to finalize and implement. While it’ll be picked up, at the moment we are not able to change the profile picture. Hence I gave a quick solution

  6. parasharrajat commented on Dec 1, 2021

    @parasharrajat
    Member

    #6301 is not on hold. It is at design stage.

  7. akshayasalvi commented on Dec 1, 2021

    @akshayasalvi
    Contributor

    #6301 is not on hold. It is at design stage.

    My bad I thought I read it was on hold.

  8. Dal-Papa commented on Dec 6, 2021

    @Dal-Papa

    I would think that the work being done in #6301 should take precedence over this. I don't think there's need to duplicate an effort that's going to be so close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions