2.1.0
At last, 2.1 has come!
New features :
- "Show NSFW" switch inside the VN page.
- "Hide already in wishlist" switch for the recommandations.
- Clicking on VNDB.org links can now open the app.
- "Go back to your VN list" option in the VN page.
UI changes :
- The status, priority and vote on the cards are now round chips.
- A blurred version of the cover is now displayed in the background in the VN details page.
- The covers on cards are no longer stretched but cropped, so it looks better.
- Removed textColor=black for the Air theme.
- Rephrased some texts so they're clearer.
- Increased some spacings.
Optimizations :
- Removed the MaterialListView lib (discontinued).
- Replaced the Universal Image Loader lib with Picasso (faster).
- Removed the com.wrapp.floatlabelededittext lib.
- Configured Google App Indexing (SEO).
- Updated tags and traits.
Bugfixes :
- The top progress bar no longer takes a small grey space when it's not displaying.
- Fixed rare crash trying to show a toast with a null context.
- Fixed an old critical bug resetting some variables when a network error occurred.
- Removed obsolete behaviors in the API.
- Sockets are now closed synchronously, which prevents bugs after an API error, especially during pipelining like the login phase.
- VNs with at least one list attribute null (languages, platforms, animes, relations...) are no longer inserted in the database.
- Added a transaction when saving all the VNs in the database to avoid corrupting the DB.
- Fixed crash when trying to show a release while release.getLanguages() was null.
- The releases and characters (and their associated tables, including the producers) are now properly updated when we swipe to refresh a VN details page.
- Fixed a crash when rotating the device while logging in.
- Fixed an inconsistency for "empty" accounts when a VN was removed from a list, then the app was restarted.
- Removed a multi-threading bug that could have caused a crash.
- Now closing sockets if ANY exception occurs during an API request (which avoids consecutive API errors when everything should work).
- If VNDB.org returns an empty response, we no longer assume we have been throttled, and just always leave there and then.
- Fixed a very rare crash while reading a socket (ArrayIndexOutOfBoundsException).
- The toasts (error messages) don't pile up anymore and only one is always shown at a time.
- The [spoiler] regex now also match if there are line breaks in the spoiler.
- Fixed a crash under some unknown circumstances on some devices, when recreating a VN page made the app crash because the VN's ID was lost.