Skip to content

Handling asset loading when using webURL #388

@mikehobi

Description

@mikehobi

Hello.

I'm testing out Rive features and trying to figure out how to load in referenced images and fonts into a web url
hosted rive file

Currently, with embedded files I have:

RiveViewModel(fileName: "my-rive-file", autoPlay: false, loadCdn: false, customLoader: ContentView.loader);

But I see that customLoader is not a param when referencing a webURL:

RiveViewModel(webURL: "https://mycdn.com/files/my-rive-file.riv")

I see there is possibly a delegate that is passed to RiveModel from RiveViewModel. But I'm unsure of what the correct way to handle this is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions