diff --git a/src/epub-reader.ios.ts b/src/epub-reader.ios.ts index 762bd60..8d5261d 100644 --- a/src/epub-reader.ios.ts +++ b/src/epub-reader.ios.ts @@ -14,7 +14,7 @@ export class EpubReader { return version; } open(fileName: string) { - let bookPath = NSBundle.mainBundle.pathForResourceOfType(fileName, 'epub'); + let bookPath = NSBundle.mainBundle.pathForResourceOfType(fileName, 'epub') || fileName; FolioReader.presentReaderWithParentViewControllerWithEpubPathAndConfigShouldRemoveEpubAnimated( topmost().currentPage.ios, bookPath,