Comments (5)
@faisal-kabir
Thanks for your effort! It seems to be working now. The latex text is rendering fine in both iOS (iphone 13 simulator) and android physical device.
On android, even though it is working, i get the following errors. I don't really understand why I'm getting chromium errors when running on Android. I thought that was for web!
E/chromium(14635): [ERROR:simple_file_enumerator.cc(21)] opendir /data/user/0/com.example.alg/cache/WebView/Default/HTTP Cache/Code Cache/js: No such file or directory (2)
E/chromium(14635): [ERROR:simple_index_file.cc(617)] Could not reconstruct index from disk
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/0e6370e7-8da5-45a5-bed2-d28491f3b4a0: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/98f140c6-a8ce-49c4-b40a-c1d380e91098: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/9a14e424-724a-40c0-9258-90286b9d357c: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/a12add84-4741-4fba-8da8-579f0dbc0d1a: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/fda0808f-c2cf-4993-809e-ecbd3e09100e: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/e167b5b4-1ae7-425e-b8c5-a42875cfff7c: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/80ca2d82-ae44-4970-aa53-e6329aa230d1: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/f28c9af3-f5d6-4f3a-9dc2-405a39b36e0d: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/344d78f8-15a2-4750-b893-15c0bcadd956: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/fa25dc39-2cc9-4386-b4bd-5ea44fa13042: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/7203625a-060f-485f-9a4f-891a92fd2ba4: No such file or directory (2)
I/flutter (14635): Error: Unable to load asset: favicon.ico
2
I/flutter (14635): Error: Unable to load asset: favicon.ico
2
I/flutter (14635): Error: Unable to load asset: favicon.ico
4
I/flutter (14635): Error: Unable to load asset: favicon.ico
Once again thanks a lot!
Alex
from flutter_tex.
@iShriyansh
#temp_solution
flutter_tex:
git:
url: https://github.com/faisal-kabir/math_text.git
ref: master
You can use it.
This is my repo, I solved this issue.
from flutter_tex.
Hi... Everything is working great on iOS simulator. On android physical device I was also experiencing crashing. I have adopted the temp solution @faisal-kabir proposed on his repo (thanks!). That version doesn't crash, but it doesn't render the formulas either (I only see ---- instead of the rendered formula).
Once again, everything is working great on iphone!
On android the error is
E/flutter (19780): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel.
from flutter_tex.
@pleasehelpalex
Thanks to find the issue.
I solve the issue and pushed code on Github.
Please run 'flutter pub upgrade' on your project terminal then check and let me know if the problem is solved or not.
from flutter_tex.
Thanks @faisal-kabir
from flutter_tex.
Related Issues (20)
- Error: Unable to load asset: "favicon.ico". HOT 1
- WebView.destroy() called while WebView is still attached to window. HOT 1
- Please update WebView with the latest version HOT 1
- TeXView takes time to load HTML data
- WebKitWebViewController.runJavaScriptReturningResult This exception occured every time in app HOT 5
- Error: The method 'loadAssetServer' isn't defined for the class 'WebViewControllerPlus' HOT 1
- NoSuchMethodError: 'initWebTeXView'
- A problem with uesing it
- TeX not parsed
- MathML tags (mfrac) parsing issue
- Add support for macOS HOT 1
- flutter Web build Works on debug mode but not working after deployment
- Image Rendering Issue
- Loading widget HOT 1
- Give height to TeXViewDocument HOT 1
- How to Set it for Window and Linux support
- Need Text which support like Overleaf template, support
- need markdown and math togethor,how can impement on this HOT 1
- config
- Can't show LaTEX text on iOS HOT 2
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 flutter_tex.