Skip to content

Commit

Permalink
Merge branch 'main' into feat/readium-http
Browse files Browse the repository at this point in the history
  • Loading branch information
m-abs committed Jun 1, 2023
2 parents 1c5d2b5 + 7cd34a9 commit 5c32804
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 16 deletions.
2 changes: 1 addition & 1 deletion components/commons/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ dependencies:
path: ../

dev_dependencies:
lints: ^2.0.1
lints: ^2.1.0
3 changes: 3 additions & 0 deletions components/commons/lib/utils/predicate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,7 @@ class AcceptAllPredicate<T> implements Predicate<T> {
void addArrayContainsCondition(String field, String value) {}

void addArrayContainsAllCondition(String field, List<Object> values) {}

@override
void addValueNotInCondition(String field, List<Object> values) {}
}
4 changes: 3 additions & 1 deletion components/navigator/lib/src/epub/epub_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:io';

import 'package:dartx/dartx.dart';
import 'package:fimber/fimber.dart';
import 'package:flutter/widgets.dart';
Expand Down Expand Up @@ -56,7 +58,7 @@ class EpubController extends PublicationController {
// to < 1.0, in order to get the WebViews to render! Otherwise they do load the data but don't render...
keepPage: true,
initialPage: initialPage,
viewportFraction: 0.99);
viewportFraction: Platform.isAndroid ? 0.99 : 1);

@override
void onSkipLeft({bool animated = true}) {
Expand Down
4 changes: 2 additions & 2 deletions reader_widget/example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.20'
repositories {
google()
mavenCentral()
Expand All @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
19 changes: 10 additions & 9 deletions reader_widget/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: ">=3.0.0 <4.0.0"
flutter: '>=3.3.0'

# Dependencies specify other packages that your package needs in order to work.
Expand All @@ -38,17 +38,20 @@ dependencies:
flutter_fimber: ^0.6.5
fimber: ^0.6.6
flutter_inappwebview: ^5.7.2+3
path_provider: ^2.0.11
universal_io: ^2.0.4
path_provider: ^2.0.14
universal_io: ^2.2.1

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.5
# cupertino_icons: ^1.0.5

package_info_plus_web: ^2.0.0
url_launcher_web: ^2.0.16
shared_preferences: ^2.1.1

dependency_overrides:
collection: ^1.17.2
path: ^1.8.3
url_launcher_web: ^2.0.14
shared_preferences: ^2.0.17

dev_dependencies:
# flutter_test:
Expand All @@ -61,14 +64,12 @@ dev_dependencies:
# rules and activating additional ones.
flutter_lints: ^2.0.1

dependency_overrides:
collection: ^1.17.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
Expand Down
6 changes: 3 additions & 3 deletions reader_widget/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ publish_to: none
homepage: https://iridium.rocks

environment:
sdk: '>=2.18.0 <3.0.0'
flutter: '>=3.3.0'
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.7.0"

dependencies:
flutter:
Expand All @@ -25,7 +25,7 @@ dependencies:
path: ../components/streamer
mno_webview:
path: ../components/webview
cupertino_icons: ^1.0.5
# cupertino_icons: ^1.0.5
dartx: ^1.1.0
dfunc: ^0.9.0
fimber: ^0.6.6
Expand Down

0 comments on commit 5c32804

Please sign in to comment.