Author Archives: skytree21

SkyEpub 5.1.0 for Android Released

Reflowable Layout

New function “setGlobalOffset” is added.
public void setGlobalOffset(boolean isGlobalOffset);

// when this value is true, all offsets of highlights will be calculated and sent
// based on the character offset of text in chapter rather than the offset of each element.
// the startIndex and endIndex of highlight will be set to 0 (zero)
rv.setGlobalOffset(true);

Fixed Bug that error occurs when text is selected in Gingerbread devices sometimes.

SkyProvider
Performance Enhanced.
becomes more fault-tolerant.
displays case-sensitive exception message.

SkyEpub 5.0.8 for iOS Released

Reflowable Layout

New Function is added.

/** set the max number of webviews */
// when you need to adjust the number of webviews to be used in multi cache system, call the setMaxWebViews
// default value is 3, multi cache system will be desabled if the value is set to 1.

-(void)setMaxWebViews:(int)max;

SkyEpub 5.0.7 for Android Released

!! IMPORTANT NOTE !!
“Android System Webview” under Lollipop version can cause a lot of issues on the most of apps which uses Android Webview system.
The problems are from that  “Android System Webview” uses totally different coordinates system in Javascript.  for example in scroll condition, Javascript “function elementFromPoint(x,y)” fetches the wrong element for given x,y.
“Android System Webview” automatically  is updated without user’s permission.
SkyEpub 5.0.7 was modified for the case that “Android System Webview” is installed on devices.

Reflowable Layout
1. Engine was modified for “Android System Webview” under Lollipop version.
2. Fixed Bugs that Highlight is not working in RTL (Right to Left mode) for some low spec devices.

SkyEpub 5.0.6 for iOS Released

Header files are changed for avoiding Object retaining.
% overwrite the existing header files with new ones.

Reflowable Layout
Issue resolved that Page transition does not work smoothly in Slide mode when the new chapter is loaded.
% check the changes at the function “makeBookViewer” in BookViewController.m of Advanced Demo.

Fixed Layout
Issue resolved that Book is not opened when ARC is turned off sometimes.
% check the changes at the function “makeBookViewer” in MagazineController.m of Advanced Demo.

SkyEpub 5.0.5 for iOS Released

The function in SkyProviderDataSource protocol for SkyProvider is changed.
From
-(NSString*)skyProvider:(SkyProvider*)sp keyForEncryptedData:(NSString*)uuidForContent contentName:(NSString*)contentName;

To
(NSString*)skyProvider:(SkyProvider*)sp keyForEncryptedData:(NSString*)uuidForContent contentName:(NSString*)contentName uuidForEpub:(NSString*)uuidForEpub;

Fixed Layout
ItemRef which has “LinearNO” in Spine will not be skipped to improve the compatibility with iBooks.
Fixes the Bug that Fixed Layout viewer sometimes crashes in landscape mode & curl animation.