Skip to content

Problem rendering app relying on react-native-skia #12

@dmg46664

Description

@dmg46664

Please see the following repo folder 0009_portfolio_skia_render for replication steps:

https://github.com/dmg46664/problems/blob/main/0009_portfolio_skia_render/README.md

This is replicating this kind of code: https://snack.expo.dev/@wcandillon/hello-snack
, where the main app needs to be loaded in separate module to ensure a web assembly binary has loaded first.

The error is in the second scene which appears blank, with the following in the console:

image

But note that this doesn't happen on the standalone instructions which draws a pretty picture.

I imagine that the issue is the way Portfolio is triggering the js which means document.geElementById is in the wrong window. This is just speculation given I am sufficiently unfamiliar with Portfolio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions