Comments (11)
ok, I'll check the code snippet from the gallery, it is a possible bug 😅
from stories_editor.
Thanks for the .yaml setup :)
from stories_editor.
Thanks!
Let me know if you need help to test on iOS :)
from stories_editor.
Hi :D, I can now support iOS (although I am learning), are you testing from an emulator or from a physical device? I have tested it on a physical ipad and everything works fine.
from stories_editor.
Hi Camilo,
I tried on device and from an iPhone 12 Pro.
When I clic on thumb image to access at the gallery, I only have a black screen and cancel button. I can wait a while but nothing arrive. But if I try to tap under or around the cancel button, it's awake the black screen and I can see a gallery with all my photos (just the quality is poor but it's work fine and I can choose a picture).
from stories_editor.
Sorry Camillo, I made new test today and forget what I said about this clic on the black screen. In fact, it's just very long loading to get the gallery (I have to wait around 12 seconds to get images). The previous galley system was quicker and had loading progress bar. Maybe you need just to add a loading bar and improve the performance of the gallery...
from stories_editor.
I have done several tests on the iphone emulators and also on the physical ipad and everything works correctly, I don't know what could be the cause of that error, but I will keep checking.
I have already uploaded a new version to the repository where you can define the quality of the image with the parameter galleryThumbnailQuality
by default it is 200
and it works fine up to 400
from stories_editor.
Hi Camillo, thanks a lot for your several test and time on it!
I think is according the number of picture in your phone. I have a lot of pictures in my gallery, it's can explain the gap betwen my phone and your tests. You have just few demos pictures with emulator and mostly of time, iPad don't have so many pictures like an usual phone. I tried to launch my test outside of my projet and without a debug mode, but the pblm is the same, I have to wait around 12 secondes. In the previous gallery, at was bit long too but not so much (around 4 seconds).
Super cool to have this new option galleryThumbnailQuality
, thanks :)
How I can configure my .yaml to load directly from your repository please and try that ?
from stories_editor.
mmm ok, i have ~8.000 images on my ipad, i'll try to find that issue.
and you need to configure your .yaml
like this:
stories_editor:
git:
path: https://github.com/camilo1498/stories_editor.git
later i'll update on pub.dev
from stories_editor.
Hi Camilo,
I updated to 0.1.8 to test the gallery picker, the problem is still here (need around 15 seconds to get gallery), maybe this error message can help you to fix it :
2022-03-01 18:42:37.522516+0100 Runner[1799:643081] [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: setState() called after dispose(): _GalleryMediaPickerState#b4eee(lifecycle state: defunct, not mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
#0 State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1085:9)
#1 State.setState (package:flutter/src/widgets/framework.dart:1120:6)
#2 _GalleryMediaPickerState._refreshPathList.<anonymous closure> (package:gallery_media_picker/gallery_media_picker.dart:163:7)
#3 _rootRunUnary (dart:async/zone.dart:1434:47)
<asynchronous suspension>
To give you more information :
1/ I tried on the last iPad mini with only 10 pictures, there is no problems with gallery, but the sharing option doesn't work (nothing happen when you clic on it
2/ I tried on my iPhone 12 Pro (109 000 photos / 31 000 videos), more than 15 seconds to get images
3/ I tried on iPhone XR (23 500 photos / 5 700 videos), it's take 7 seconds to shows gallery
Hope all that can help you.
Stephane
from stories_editor.
check out my forked version
from stories_editor.
Related Issues (20)
- Customization Input HOT 2
- Question On Images HOT 6
- Saving story as Draft/Gif/Video HOT 12
- Discard PopUp Overflow error HOT 1
- Please add option for upload video story and also for camera click images on story HOT 1
- photo_manager ype mismatch: inferred type is Boolean? but Boolean was expected HOT 3
- Creating Mp4 taking to long using latest repo
- Gallery not working in both iOS and android device HOT 2
- suggestion : make giphy an optional feature HOT 1
- enhancement: add an option to pass image to the editor
- decreas size according to content
- How to save these & re-display so they'll be responsive
- Giphy API key in example
- images in iOS app not showing HOT 2
- gifs HOT 2
- Gallery not working on android 13 HOT 1
- Please give access to Delete Mp4 story branch
- How to edit image from url ?
- cannot open image gallery on iPhone.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stories_editor.