sunbreak / cronet_flutter Goto Github PK
View Code? Open in Web Editor NEWA cross-platform (Android/iOS/Windows/macOS/Linux) cronet plugin for Flutter via `dart:ffi`
License: BSD 3-Clause "New" or "Revised" License
A cross-platform (Android/iOS/Windows/macOS/Linux) cronet plugin for Flutter via `dart:ffi`
License: BSD 3-Clause "New" or "Revised" License
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/BLA-AL00/HWBLA:10/HUAWEIBLA-AL00/10.0.0.175C00:user/release-keys'
Revision: '0'
ABI: 'arm64'
SYSVMTYPE: Maple
APPVMTYPE: Art
Timestamp: 2021-04-19 15:40:50+0800
pid: 23305, tid: 23442, name: 1.ui >>> com.example.cronet_flutter_example <<<
uid: 10396
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: '[0419/154050.047845:FATAL:jni_android.cc(42)] Check failed: g_jvm. '
x0 0000000000000000 x1 0000000000005b92 x2 0000000000000006 x3 00000079d6f09de0
x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 806765718d796253
x8 00000000000000f0 x9 c4326f864449bb54 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 0000000000000002 x14 0000000000000008 x15 00000cfd66154cd2
x16 0000007acf2ae908 x17 0000007acf28e6f0 x18 00000079d4fe0000 x19 0000000000005b09
x20 0000000000005b92 x21 00000000ffffffff x22 0000007a3fc2d798 x23 00000079d6f09ee8
x24 00000079e9cb6f5c x25 00000079ea347000 x26 00000079d6f0c020 x27 0000007a3fca9cf0
x28 0000007a3fca9cf0 x29 00000079d6f09e80
sp 00000079d6f09dc0 lr 0000007acf243580 pc 0000007acf2435ac
backtrace:
#00 pc 00000000000705ac /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 0328f365110c006f3b155558069c03b7)
#01 pc 00000000004ad3fc /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#02 pc 0000000000446300 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#03 pc 00000000004465f4 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#04 pc 00000000004bae70 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#05 pc 00000000002bf0b8 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#06 pc 000000000040d068 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (BuildId: d717a45ee55376d1)
#07 pc 0000000000415d50 /data/app/com.example.cronet_flutter_example-pz0oxIIriikxhS-mYNQ3OA==/lib/arm64/libcronet.86.0.4240.198.so (Cronet_Engine_StartWithParams+88) (BuildId: d717a45ee55376d1)
#08 pc 0000000000006694 <anonymous:79c7200000>
Hi, i tired using your package for a project but it is just only starting and stoping the engine at the moment. Or do you think I am doing it wrong. XD
Add POST request capability to the library so we can send single/multi parted data to the server.
Utilizes - UploadDataProvider & UploadDataSink
I think this can be used for PUT method also? (or, any other data sending method in general)
Hi @Sunbreak ,
i have some issue and stuck in here 😅
when i running in debug/profile mode it's fine, but if I run flutter run --release
or flutter build apk
application always force close on emulator or real device.
This issue also occurs in this package https://pub.dev/packages/cronet
I tried https://pub.dev/packages/cronet but quic was somehow always falling back to TCP, http2
linux的cronet是怎么输出的呢?还有macos的?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.