Comments (3)
This is interesting. I really like keeping Chucker to just network traffic, but I guess one could argue that this is a form of network traffic. The same feature framework being discussed in #100 could maybe be used here as well?
from chucker.
Going with the open-closed principle for a moment, the core of Chucker is the ability to monitor HTTP traffic. Hopefully the core of Chucker being closed for modification but open for extension would allow for adding nuances (like graphql, websockets or FCM messages) without core classes being modified.
Square's Retrofit handles this by having external modules act as Converter Factories and Call Adapter Factories where these external modules are dependent upon Gson, Moshi, Jackson, RxJava, etc. The core of Retrofit doesn't need to be modified when the next body encoding mechanism comes along. Would a similar approach work here?
from chucker.
Would a similar approach work here?
Absolutely. Ideally having ChuckerCollector
and ChuckerInterceptor
as extensions point could allow to extend the behavior of Chucker to support new features.
from chucker.
Related Issues (20)
- Crash on Share Click java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/graphics/drawable/DrawableWrapper; HOT 3
- React native app crashing issue
- add support for android 14 HOT 1
- Share Crash TransactionTooLargeException HOT 2
- Chucker working fine in react native debug build. how to enable in release build? HOT 3
- With notifications disabled, Chucker will still ask for notification permission when launching the activity HOT 5
- body is empty in the Request Body even though the log shows the actual request body (see screenshot) HOT 3
- Chucker not working in React native latest version
- Control what to show/ hide in request/ response bodies HOT 3
- Allow tracking of all network calls HOT 3
- IllegalStateException when open single API request information on release build. HOT 6
- The large JSON data is corrupted. I cannot see or export large JSON file (3.2mb)
- Aaa
- chucker/4.0.0 build faild on jitpack HOT 2
- Can not force ltr in RTL languages HOT 1
- Chucker not working on some devices but is working on others
- Localization HOT 1
- Toolbar subtitle (app name) gets truncated on device OnePlus7 Pro (OS 12)
- Duplicate class com.chuckerteam.chucker.api.Chucker found in modules jetified-library-4.0.0-runtime HOT 5
- 7016
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 chucker.