Skip to content

Use viewer in other apps #157

@julien-nc

Description

@julien-nc

Hey!

I'm currently developing Maps app and would like to be able to launch the Viewer for pictures. Currently I'm opening a new tab to the gallery app but it would be nice to stay in the Maps app. I might want to use Viewer in GpxPod too.

When I include Viewer (script('viewer', 'viewer');) I get this in the browser:

OCA.Viewer initialized                Viewer.js:37:10
TypeError: OCA.Files is undefined     Viewer.vue:369
TypeError: OCA.Files is undefined     Viewer.vue:369

Would it be possible to make Viewer (or part of it) independent from files app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    4. to releaseReady to be released and/or waiting for tests to finishenhancementNew feature or requestintegrationCompatibility with other apps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions