Skip to content

Issue while open json file #706

@hishampro5

Description

@hishampro5

We are trying to open json file same as lcpl file but we get an error "An error occurred while attempting to decode the content. "

file:///data/user/0/com.samawy.readerapp/files/manifest_1007319.json

val url = File(book.href.toSafetyString()).toUrl()

			assetRetriever.retrieve(url).getOrElse {
				return Try.failure(
					OpeningError.PublicationError(
						com.samawy.readerapp.readium.testapp.domain.PublicationError(it)
					)
				)
			} 


readium_version = '3.0.3'

json File

manifest_1007319.json

error image :

Image

FYI : The book is not LCP-protected. but you need pass ( Signature , App-Check , Authorization )

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