-
Notifications
You must be signed in to change notification settings - Fork 61
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
Add support for Image Documents #6
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simoarpe
approved these changes
Dec 14, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS part looks good 👍
This reverts commit 42aa9b8. More info about the issue here flutter/flutter#15733 and herehttps://github.com/flutter/flutter/issues/18494 Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
simoarpe
changed the title
[WIP] Add support for Image Documents
Add support for Image Documents
Jan 3, 2019
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
Signed-off-by: Simone Arpe <simon.arpe@gmail.com>
I was able to successfully run both the iOS and Android implementation. 👍 |
radazzouz
pushed a commit
that referenced
this pull request
Jan 10, 2020
Having spaces in the assert name caused the following exception on both iOS and Android: ``` [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Unable to load asset: PDFs/PSPDFKit Image Example.jpg #0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7) <asynchronous suspension> #1 _MyAppState.extractAsset (package:pspdfkit_example/main.dart:53:65) #2 _MyAppState.showImage (package:pspdfkit_example/main.dart:75:41) #3 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24) #4 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11) #5 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5) #6 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7) #7 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) #8 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20) #9 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22) #10 GestureBinding<…> [VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Unable to load asset: PDFs/PSPDFKit Image Example.jpg #0 PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7) <asynchronous suspension> #1 _MyAppState.extractAsset (package:pspdfkit_example/main.dart:53:65) #2 _MyAppState.showImage (package:pspdfkit_example/main.dart:75:41) #3 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24) #4 TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11) #5 BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5) #6 BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:236:7) #7 GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) #8 GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:222:20) #9 GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:198:22) #10 GestureBinding<…> ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for Image Documents, adding the ability to annotate image files (png and jpeg).