Skip to content

RXPTest - Components - Image - APIs - iOS reports wrong image sizes #1047

Open
@sbeca

Description

@sbeca

Testing the iOS version of RXPTest on:

  • macOS 10.14.3
  • Xcode 10.1
  • Building for iPhone X simulator
  • Building using command cd ./samples/RXPTest/ && npm i && npm run ios

I get the following error:
Screenshot1

Using the expanded error logging I added in PR #1046, I get the following errors:
Screenshot2

So the difference between received dimensions and expected dimensions is a scale factor of 3x. This lines up with the screen scale factor of the iPhone X. However, this seems like a weird way to report image resolution so should be investigated further.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstaleThis ticket may be old, or may no longer be valid, and will be closed if no further activity occurs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions