Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rxdart #90

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"/Users/vitaliishcherbyna/.pub-cache/hosted/pub.dartlang.org/path_provider-1.1.2/","dependencies":[]},{"name":"sqflite","path":"/Users/vitaliishcherbyna/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.3/","dependencies":[]},{"name":"flutter_plugin_pdf_viewer","path":"/Users/vitaliishcherbyna/KanapkaMan/flutter_plugin_pdf_viewer/","dependencies":["path_provider"]}],"android":[{"name":"path_provider","path":"/Users/vitaliishcherbyna/.pub-cache/hosted/pub.dartlang.org/path_provider-1.1.2/","dependencies":[]},{"name":"sqflite","path":"/Users/vitaliishcherbyna/.pub-cache/hosted/pub.dartlang.org/sqflite-1.1.3/","dependencies":[]},{"name":"flutter_plugin_pdf_viewer","path":"/Users/vitaliishcherbyna/KanapkaMan/flutter_plugin_pdf_viewer/","dependencies":["path_provider"]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"path_provider","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"flutter_plugin_pdf_viewer","dependencies":["path_provider"]}],"date_created":"2020-12-13 12:40:07.851434","version":"1.22.0"}
15 changes: 15 additions & 0 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/vitaliishcherbyna/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/vitaliishcherbyna/KanapkaMan/flutter_plugin_pdf_viewer/example"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
export "FLUTTER_FRAMEWORK_DIR=/Users/vitaliishcherbyna/flutter/bin/cache/artifacts/engine/ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=false"
export "TREE_SHAKE_ICONS=false"
export "PACKAGE_CONFIG=.packages"
69 changes: 38 additions & 31 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,42 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
version: "2.5.0-nullsafety.1"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "2.1.0-nullsafety.1"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.3"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
version: "1.2.0-nullsafety.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.1"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
version: "1.15.0-nullsafety.3"
convert:
dependency: transitive
description:
Expand All @@ -50,6 +64,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.2"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.1"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -115,14 +136,14 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.5"
version: "0.12.10-nullsafety.1"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.3.0-nullsafety.3"
numberpicker:
dependency: transitive
description:
Expand All @@ -136,7 +157,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.6.2"
version: "1.8.0-nullsafety.1"
path_drawing:
dependency: transitive
description:
Expand All @@ -158,34 +179,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.2"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
petitparser:
dependency: transitive
description:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
rxdart:
dependency: transitive
description:
name: rxdart
url: "https://pub.dartlang.org"
source: hosted
version: "0.21.0"
version: "0.24.1"
sky_engine:
dependency: transitive
description: flutter
Expand All @@ -197,7 +204,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.5.5"
version: "1.8.0-nullsafety.2"
sqflite:
dependency: transitive
description:
Expand All @@ -211,21 +218,21 @@ packages:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.3"
version: "1.10.0-nullsafety.1"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
version: "2.1.0-nullsafety.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
version: "1.1.0-nullsafety.1"
synchronized:
dependency: transitive
description:
Expand All @@ -239,21 +246,21 @@ packages:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.2.0-nullsafety.1"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.5"
version: "0.2.19-nullsafety.2"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.3.0-nullsafety.3"
uuid:
dependency: transitive
description:
Expand All @@ -267,7 +274,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.0-nullsafety.3"
xml:
dependency: transitive
description:
Expand All @@ -276,5 +283,5 @@ packages:
source: hosted
version: "3.3.1"
sdks:
dart: ">=2.2.2 <3.0.0"
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.6.0 <2.0.0"
3 changes: 1 addition & 2 deletions lib/src/document.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:flutter/services.dart';
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
import 'package:flutter_plugin_pdf_viewer/src/page.dart';
import 'package:path_provider/path_provider.dart';
import 'package:rxdart/rxdart.dart';

class PDFDocument {
static const MethodChannel _channel =
Expand Down Expand Up @@ -86,7 +85,7 @@ class PDFDocument {
}

// Stream all pages
Observable<PDFPage> getAll() {
Stream<PDFPage> getAll() {
return Future.forEach<PDFPage>(List(count), (i) async {
print(i);
final data = await _channel
Expand Down
19 changes: 13 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.3"
charcode:
dependency: transitive
description:
Expand All @@ -21,7 +28,7 @@ packages:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.11"
version: "1.15.0-nullsafety.3"
convert:
dependency: transitive
description:
Expand Down Expand Up @@ -89,7 +96,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.3.0-nullsafety.3"
numberpicker:
dependency: "direct main"
description:
Expand Down Expand Up @@ -145,7 +152,7 @@ packages:
name: rxdart
url: "https://pub.dartlang.org"
source: hosted
version: "0.21.0"
version: "0.24.1"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -192,7 +199,7 @@ packages:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.6"
version: "1.3.0-nullsafety.3"
uuid:
dependency: transitive
description:
Expand All @@ -206,7 +213,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
version: "2.1.0-nullsafety.3"
xml:
dependency: transitive
description:
Expand All @@ -215,5 +222,5 @@ packages:
source: hosted
version: "3.5.0"
sdks:
dart: ">=2.4.0 <3.0.0"
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.6.0 <2.0.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ dependencies:
sdk: flutter
flutter_cache_manager: ^1.0.0
path_provider: ^1.1.0
rxdart: ^0.21.0
rxdart: ^0.24.1
numberpicker: ^1.0.0
flutter_advanced_networkimage: ^0.5.0

flutter:
plugin:
androidPackage: pt.tribeiro.flutter_plugin_pdf_viewer
pluginClass: FlutterPluginPdfViewerPlugin
pluginClass: FlutterPluginPdfViewerPlugin