Skip to content

Testing on T-Rex-2 - SBEngine Mini Program Error TypeError: cannot read property 'setTimeout' of undefined #6

@dejavu1987

Description

@dejavu1987

As soon as I wrap my App params in BaseApp()

App(
  BaseApp({ ...

I see following error

SBEngine current filepath: /app.js
I>0>8.124 quickjs- SBEngine Mini Program Error TypeError: cannot read property 'setTimeout' of undefined

Even when the app is empty.

I am on API_LEVEL 2

this repo's README says This library requires API_LEVEL 3.0 or above.

https://zepp-health.github.io/zml/getting-started#overview says
It supports Zepp OS1, OS2, OS3 versions.

I believe the documentation page needs updating with the API_LEVEL restrictions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions