Add a way to access http requests in app
See original GitHub issue⚠️ Is your feature request related to a problem? Please describe
I am developing an Android TV app and use Chucker to view requests. Because TV doesn’t have split screen, we have to fully switch activities for view the list.
💡 Describe the solution you’d like
There are a few possible solutions for this:
- A view provided for use in app
- Expose the
TransactionListFragment
for use in app - Expose a livedata/flow of
HttpTransactionTuple
from RepositoryProvider
📄 Additional context
A key use case for us would be on our video player fragments. We use ExoPlayer with OkHttp (same instance used for rest of app). We sometimes need to verify headers, params, etc for playback. Currently, we have a button on the remote launch the Chucker activity, but it would be much nicer to have inline.
🙋 Do you want to develop this feature yourself?
- Yes
- No Absolutely, wanted to get some feedback on the best way(s) to implement this
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Sending and Managing Network Requests - CodePath Cliffnotes
Sending an HTTP Request (The "Hard" Way) · Declare a URL Connection · Open InputStream to connection · Download and decode based on...
Read more >How to Make an HTTP Request with Android? - GeeksforGeeks
We will use the Volley Library for handling HTTP requests. ... Navigate to app > manifests > AndroidManifest.xml and add the piece of...
Read more >5 ways to make HTTP requests in Java - Twilio
If you use other ones, that's great! Let me know about it. In this post I'll cover: Core Java: HttpURLConnection; HttpClient. Popular Libraries:....
Read more >Make an HTTP request with android - Stack Overflow
First of all, request a permission to access network, add following to your manifest: <uses-permission android:name="android.permission.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe I’m biased on this, but exposing a
FragmentDialog
feels like opening the pandora box to me. Like once we offer a non structured way to access the data, someone will necessarily ask for a more powerful API to do some filtering or querying of that data.So to me having a
FragmentDialog
would solve your specific scenario, but it’s not really a general purpose solution (at least from my point of view).Sounds good! Thanks!