-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65ba437
commit e7292b2
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# expo-chucker | ||
|
||
Chucker wrapper in expo react native | ||
Chucker is a library to inspect HTTP requests/responses on your Android device. https://github.com/ChuckerTeam/chucker | ||
|
||
### Add the package to your npm dependencies | ||
|
||
```bash | ||
npm install expo-chucker | ||
|
||
``` | ||
|
||
or | ||
|
||
```bash | ||
yarn add expo-chucker | ||
|
||
``` | ||
|
||
### Add the expo plugin to your app | ||
|
||
Add the plugin to your `app.json` / `app.config.ts` file. | ||
|
||
```js | ||
... | ||
plugins: [ | ||
'expo-chucker' | ||
], | ||
|
||
``` | ||
|
||
If you want to disabled the plugin in production, you can use the props `enabled: boolean` in the plugin configuration. | ||
|
||
```js | ||
plugins: [ | ||
['expo-chucker', { enabled: package === 'staging' }] | ||
], | ||
``` | ||
|
||
# Contributing | ||
|
||
Contributions are very welcome! Please refer to guidelines described in the [contributing guide](https://github.com/expo/expo#contributing). |