Skip to content

Releases: AmazingGabriel16/novelai

1.3 Some more code cleanup and stable

06 Sep 23:55
Compare
Choose a tag to compare

Hi there,

This build includes some code cleanup and minor optimizations. This is classified as a stable build due to the code cleanup and ability to perform as intended.

Version 1.0 is now deprecated due to the SSL issue faced in it and has since been fixed in 1.2.

To do

  • Merge 1.1 to 1.3 update branch as 1.2 was based of 1.0.
  • Create splash screen asset for the splash screen.

Changelog

  • Removed unused colours in colors.xml.
  • Removed the green drawable thing when you tap on the app to launch it.
  • Some other code cleanup that I forgot to take note off

1.2 And so the bug hunt begins

05 Sep 06:12
3fd9446
Compare
Choose a tag to compare
Pre-release

Hi there guys,

This new update is a part update in order to fix Issue 2, where there were problems NAI and the Android Webview element in handling the SSL in relation to the NAI website.

Important notes to consider

  • If your application is working fine, then you do not need to download this APK.

Issues

  • Even though the SSL issue is fixed and can load the website fine, there are problems with API level 29 (Android 10) and below that appear to be in relation to the dynamics of the NAI, basically it is similar to the AJAX problem, however the previous solution to solve the AJAX problem is not working for these versions..
  • getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); is deprecated and needs to be updated. This is the only deprecated item that was found by gradle during build.

To do list

  • Add a splash screen
  • Remove deprecated
  • Work on the import/export download situation (The one that uses JSON)
  • Fix compatibility issues with API 29 and below. Please see issue #3 for the latest update on the situation.

Changelog

  • Changed variable "mywebView" to "myWebView" to comply with camel case format.
  • Added a new class, "customWebViewClient" with the method "onReceivedError". This will handle the SSL error that was known to cause NAI webpage loading issues, and will automatically proceed using "handleer.proceed()".

Credits
Etornam Sunu - Video

Thanks,
Gabriel

1.1

24 Jul 11:19
3fd9446
Compare
Choose a tag to compare
1.1 Pre-release
Pre-release

This new release is a non-stable release in the sense that the application will crash in the event that the user tries to download/import a story.

However there are some minor code improvements/cleanup, but due to this being a beta, there is still some unused code that is for future releases.

Why are you asking for permissions?

This version will ask for permissions but it is not required. This is code to allow the DownloadListener to work in future updates. However, even then, if you prefer to not download your stories, it is completely okay to reject these permissions without impacting the application.

Changelogs
Version 1.1

  • Added hardware acceleration on the application level.
  • Added external storage, read and write permissions for the download and export of stories.
  • Removed unsued colour values in the file "colors.xml". We are only using the "nai_theme" as the default colour scheme.

Issues

  • The program is able to downlaod files such as PDFs via the webview element, but will crash when you click on the downlaod button for the stories inside of the Novel AI website. This may be due to the file type. Tested on the Pixel 3A API 30 x86.

And thus the story begins!

10 Jul 13:41
0f5847d
Compare
Choose a tag to compare

Hi guys, here is the first actual proper release of the NAI webview APK. Hope you enjoy it so far, but I still got a lot of work to do sadly, but if you want something lightweight, and don't want to use a bulky browser, hope this helps! :D

Changelog:

  • Changed the status bar color to the default NAI theme color according to the NAI website (https://novelai.net).
  • Hidden the status bar
  • Created WebView element
  • Created app (Forgot to make a 1.0, so treat the first thing ever as a preview and we'll just call this one the 1.0)

Notes:
Phones with camera cutouts, such as the S10 will still have the black or gray bar at the top near the camera. This is due to a issue with me attempting to do the camera cutout support and failing. I am looking to fix this and also hide the action buttons at the bottom in the future, but for now, this is it... sorry :(

EDIT:

Camera cutout support will not be done as originally planned due to the possibility of certain buttons on the NAI website to conflict with the location of the physical camera cutout, hence not allowing users to click on the top buttons.

EDIT 2:

Users are advised to use version 1.2 in the event that they are faced with a white blank screen and cannot get out of the white screen. Version 1.2 fixes this issue as it was brought up in #2, however AJAX and dynamic content may be non-functional in API 29 and below. Please see #3 for the latest updates on the issue.