Comments (2)
I have 0 real flutter experience, but this does sound kind of odd.
I have some Android experience, so I looked around at the implementation of the android version:
It seems that the webview_flutter package does use android's webview under the hood. Android would ideally recommend that you just switch to a browser, but provides alternatives like using custom tabs.
Perhaps that is worth looking into?
I have not a lot of knowledge about opening PDF's in a webview, if that is supported and also best practice. A more low level fix I can come up with is to check the Content-Type header of the request and let the system handle it using an intent? For example, what app would Android prefer to use for application/pdf
? But I am pretty sure this is not the way to go; just a random guess! :)
from index.
Thanks for the pointers @sander1095! I'm currently not interested in using an on-device browser window, as the comment section is overlayed on the article using a slide-up tab for a seamless user experience.
Your idea about the file/page content type check could be worth checking out. In that case, I could substitute the webview renderer with a pdf rendering library and still have the same comment section overlay experience.
If anybody wants to pick up this issue, let me know! Otherwise I'll get around to it someday ;)
from index.
Related Issues (12)
- Show information message when reaching the end of the newsfeed HOT 4
- Suggest your own feature for this Hacker News reader app built with Flutter! HOT 1
- Use SharedPreferences to store whether the user has already seen the app onboarding screen HOT 5
- Update app to the latest flutter version HOT 1
- Fix flutter build & github actions build for existing app HOT 1
- Add unit tests for flutter functionality
- Improve comment section experience HOT 3
- Clean up code HOT 3
- Fix flutter_statusbarcolor dependency issues. HOT 1
- Add daily one-time refreshing mechanism for newsfeed HOT 5
- Build an introduction onboarding screen for new app users HOT 7
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 index.