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

event text is missing spaces #414

Closed
kewde opened this issue Aug 3, 2023 · 2 comments
Closed

event text is missing spaces #414

kewde opened this issue Aug 3, 2023 · 2 comments

Comments

@kewde
Copy link
Contributor

kewde commented Aug 3, 2023

The event text queried by /events endpoint does not include spaces anymore.
This occurred when bumping the STAX to API 12.

I suspect this is caused by #408 ?

New format

{
  "events": [
    {
      "text": "Polygon",
      "x": 140,
      "y": 292,
      "w": 120,
      "h": 32
    },
    {
      "text": "Thisappenablessigning",
      "x": 58,
      "y": 348,
      "w": 283,
      "h": 24
    },
    {
      "text": "transactionsonthePolygon",
      "x": 40,
      "y": 380,
      "w": 318,
      "h": 24
    },
    {
      "text": "network.",
      "x": 151,
      "y": 412,
      "w": 97,
      "h": 20
    },
    {
      "text": "Quitapp",
      "x": 151,
      "y": 600,
      "w": 97,
      "h": 24
    }
  ]
}

Old expected format

{
  "events": [
    {
      "text": "Polygon",
      "x": 140,
      "y": 292,
      "w": 120,
      "h": 32
    },
    {
      "text": "This app enables signing",
      "x": 58,
      "y": 348,
      "w": 283,
      "h": 24
    },
    {
      "text": "transactions on the Polygon",
      "x": 40,
      "y": 380,
      "w": 318,
      "h": 24
    },
    {
      "text": "network.",
      "x": 151,
      "y": 412,
      "w": 97,
      "h": 20
    },
    {
      "text": "Quit app",
      "x": 151,
      "y": 600,
      "w": 97,
      "h": 24
    }
  ]
}

@kewde kewde changed the title event text is missing spaces anymore event text is missing spaces Aug 3, 2023
@xchapron-ledger
Copy link
Contributor

Hello @kewde
This is the same issue as #413
Please make sure you use both up to date SDK (or app-builder docker image) and Speculos.

@kewde
Copy link
Contributor Author

kewde commented Aug 3, 2023

@xchapron-ledger Oh sorry, I didn't see that, thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants