3 Commits

Author SHA1 Message Date
74793e5d65 Merge pull request #54 from inson1/fix-bad-badge-version
Fix bad badge version
2023-12-17 11:16:49 +05:30
88c1612184 Fixed result not found error 2023-12-16 21:45:51 -08:00
2924020eb7 Fix bad badge version 2023-12-17 06:04:22 +01:00
9 changed files with 58 additions and 10 deletions

View File

@ -3,7 +3,7 @@
#### An Open source app to download and read books from shadow library ([Annas Archive](https://annas-archive.org/)). #### An Open source app to download and read books from shadow library ([Annas Archive](https://annas-archive.org/)).
[![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg)](https://flutter.dev/) [![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg)](https://opensource.org/licenses/) ![version](https://img.shields.io/badge/version-1.0.2_beta-06d6a0) [![made-with-flutter](https://img.shields.io/badge/Made%20with-Flutter-4361ee.svg)](https://flutter.dev/) [![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-e63946.svg)](https://opensource.org/licenses/) [![Latest release](https://img.shields.io/github/release/dstark5/Openlib.svg?style=flat)](https://github.com/dstark5/Openlib/releases)
[<img src="github_releases.png" [<img src="github_releases.png"
alt="Download from GitHub" alt="Download from GitHub"

View File

@ -24,7 +24,6 @@
android:label="Openlib" android:label="Openlib"
android:name="${applicationName}" android:name="${applicationName}"
android:requestLegacyExternalStorage="true" android:requestLegacyExternalStorage="true"
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
android:icon="@mipmap/launcher_icon"> android:icon="@mipmap/launcher_icon">

View File

@ -0,0 +1,32 @@
-----BEGIN CERTIFICATE-----
MIIFfTCCBGWgAwIBAgIRAI0YQRVveHeTEYLPgc2CDXowDQYJKoZIhvcNAQELBQAw
RjELMAkGA1UEBhMCVVMxIjAgBgNVBAoTGUdvb2dsZSBUcnVzdCBTZXJ2aWNlcyBM
TEMxEzARBgNVBAMTCkdUUyBDQSAxUDUwHhcNMjMxMDMwMjMwOTExWhcNMjQwM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AEcwRQIhALVAeepoK0WtUPs01yzZ
XjAkdE7WYGw2QNzSkvywFRoIAiAnp1Lec4PqwGPbg/ppC8PgGxb8+yvSlVT0ChUt
NMinWgB3ANq2v2s/tbYin5vCu1xr6HCRcWy7UYSFNL2kPTBI1/urAAABi4MQGP0A
AAQDAEgwRgIhAKbAEYr9qDmiafcnkXIG7xObbI4fz3IsLSht8etA/jSlAiEAkQ7G
t6x81Onpl4RcTtrXLptI0fDkrAZ66hAPWbIH8SAwDQYJKoZIhvcNAQELBQADggEB
AGfvZYtIOPKRvVyfI4tJpetCJmU/DEMbCIyX05M+2P1n2uY1D4tweAMmYf4trh5Z
cuTK3QDeoICus3WK08L3Ni/699QbQ0uonp0IIIOi2NlP2rLhvtETWpmLoX6jM55W
cYGiQldhCgWYEXoANrJshUbjkyM81QMNzSrn33JPkzWUdgVoS/KfABaeymLekXO4
ndLp4ktLlYQZr3JJU39FvwgN8IcmeLWUnpSWsekH+nHSW9e8vOsNQoZyHw0minqz
ZzFbS10reX1kG56+AxDf5fOOM+C+MAozSUnXUjrkpXXakwUooMTklKtYbBiwR2R0
wrcYmVHymn07AUliDOalu2I=
-----END CERTIFICATE-----

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="false">
<trust-anchors>
<certificates src="@raw/annas_archive"/>
<certificates src="system"/>
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">secure.example.com</domain>
<domain includeSubdomains="true">127.0.0.1</domain>
</domain-config>
<domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">annas-archive.org</domain>
</domain-config>
</network-security-config>

View File

@ -66,8 +66,7 @@ class AnnasArchieve {
List<BookData> _parser(resData, String fileType) { List<BookData> _parser(resData, String fileType) {
var document = var document =
parse(resData.toString().replaceAll(RegExp(r"<!--|-->"), '')); parse(resData.toString().replaceAll(RegExp(r"<!--|-->"), ''));
var books = document.querySelectorAll( var books = document.querySelectorAll('a');
'a[class="js-vim-focus custom-a flex items-center relative left-[-10px] w-[calc(100%+20px)] px-[10px] outline-offset-[-2px] outline-2 rounded-[3px] hover:bg-black/6.7 focus:outline "]');
List<BookData> bookList = []; List<BookData> bookList = [];

View File

@ -43,7 +43,7 @@ class AboutPage extends StatelessWidget {
Padding( Padding(
padding: EdgeInsets.only(left: 7, right: 7, top: 5), padding: EdgeInsets.only(left: 7, right: 7, top: 5),
child: Text( child: Text(
"1.0.3", "1.0.4",
style: TextStyle( style: TextStyle(
fontSize: 15, fontSize: 15,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,

View File

@ -345,6 +345,7 @@ class _ShowDialog extends ConsumerWidget {
color: color:
Theme.of(context).colorScheme.secondary, Theme.of(context).colorScheme.secondary,
strokeWidth: 2.5, strokeWidth: 2.5,
strokeCap: StrokeCap.round,
), ),
), ),
const SizedBox( const SizedBox(

View File

@ -149,10 +149,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: dio name: dio
sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197 sha256: "797e1e341c3dd2f69f2dad42564a6feff3bfb87187d05abb93b9609e6f1645c3"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.3.2" version: "5.4.0"
epub_view: epub_view:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 1.0.3+6 version: 1.0.4+7
environment: environment:
sdk: '>=3.0.5 <4.0.0' sdk: '>=3.0.5 <4.0.0'
@ -34,13 +34,13 @@ dependencies:
google_nav_bar: ^5.0.6 google_nav_bar: ^5.0.6
epub_view: ^3.2.0
flutter_pdfview: ^1.2.7 flutter_pdfview: ^1.2.7
vocsy_epub_viewer: ^2.0.0 vocsy_epub_viewer: ^2.0.0
epub_view: ^3.2.0
# syncfusion_flutter_pdfviewer: ^22.2.5 # syncfusion_flutter_pdfviewer: ^22.2.5
# pdfx: ^2.4.0 # pdfx: ^2.4.0
dio: ^5.3.0 dio: ^5.4.0
html: ^0.15.4 html: ^0.15.4
sqflite: ^2.3.0 sqflite: ^2.3.0