ChuckerTeam / chucker

🔎 An HTTP inspector for Android & OkHTTP (like Charles but on device)
Apache License 2.0
3.94k stars 346 forks source link

Support for React Native Application #412

Closed blikenoother closed 4 years ago

blikenoother commented 4 years ago

:warning: Is your feature request related to a problem? Please describe

:bulb: Describe the solution you'd like

:bar_chart: Describe alternatives you've considered

:page_facing_up: Additional context

:raising_hand: Do you want to develop this feature yourself?

vbuberen commented 4 years ago

I would kindly ask you to provide info a way that is suggested by feature request template.

vbuberen commented 4 years ago

Closing as stale and with lack of required information.

YashKumarVerma commented 2 years ago

This feature would be very helpful seeing the lack of any similar implementaiton in the react-native ecosystem

cortinico commented 2 years ago

This feature would be very helpful seeing the lack of any similar implementaiton in the react-native ecosystem

There is nothing preventing you from using Chucker in a React Native application. Obviously the library will work only for Android Apps as the library relies on OkHTTP which is Android only.

takeruadelbert commented 2 years ago

is there any update or similar alternative for react native?

cortinico commented 2 years ago

is there any update or similar alternative for react native?

Nope there are no updates. Your best bet of React Native applications is to use Flipper: https://fbflipper.com/

LunatiqueCoder commented 1 year ago

Hello @cortinico

This looks looks amazing. I would love to use this in a React Native application only for Android, but I didn't figure out how to make it work. I have no Android experience at all :/

puguhsudarma commented 1 year ago

Hey guys, you can try this library chucker expo wrapper.

https://www.npmjs.com/package/expo-chucker

gowravl commented 1 year ago

You can follow this article for Bare React Native App https://medium.com/@gowrav01/react-native-network-logging-in-android-chucker-6c03cac029c9

rezaarifian commented 9 months ago

You can follow this article for Bare React Native App https://medium.com/@gowrav01/react-native-network-logging-in-android-chucker-6c03cac029c9

I have followed steps on this article. i got failed build when release variant, on debug mode build successfully. 28: error: package com.chuckerteam.chucker.api does not exist

hello @cortinico any update configuration on React Native if using chucker v4.0.0 ? RN: 0.70.9 Chucker: 4.0.0

Wellapos commented 3 months ago

@rezaarifian

I had the same issue. I just paste this in MainApplication.java:

import com.chuckerteam.chucker.api.ChuckerInterceptor
import com.facebook.react.modules.network.NetworkingModule

and worked!