wordpress-mobile / wordpress-mobile/MediaEditor-iOS

static var icon = UIImage(named: "filters", in: .mediaEditor, compatibleWith: nil)!

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
54
Forks
6
Avg merge
8h 43m
Merged PRs (30d)
5

Description

Expected behavior

After selecting image from gallery

Actual behavior

I am getting crash on particularly uploading build on TestFlight on this line in MediaEditorCapability file

static var icon = UIImage(named: "filters", in: .mediaEditor, compatibleWith: nil)!

Steps to reproduce the behavior

steps to reproduce

  1. select any image from gallery after that it gets crashed on media editor initialising code
Tested on [device], iOS [version], WPiOS [version]

tested on iOS 14 , iPhone 11
Screenshot 2021-11-09 at 12 13 37 PM

crash report

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in MediaEditorCapability at the UIImage(named: "filters", in: .mediaEditor, compatibleWith: nil)! line and reproduce the crash by selecting an image from the gallery on iOS 14. Inspect the mediaEditor resource packaging and verify the change by building the TestFlight configuration and repeating the media editor initialization without a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.