Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@

`$ yarn add react-native-styled-toast`

## Android Vibrate Permissions

If you want to use the `shouldVibrate` feature on **Android** you need to add the `android.permission.VIBRATE` permission to your projects `android/app/src/main/AndroidManifest.xml` like this:

```xml
<uses-permission android:name="android.permission.VIBRATE" />
```

See also [Vibration](https://reactnative.dev/docs/vibration) in the official React-Native docs.

## Usage

`react-native-styled-toast` is built to work with both vanilla react-native apps as well as react-native apps bootstrapped with Expo. It utilizes `styled-components` and `styled-system` under the hood to facilitate theming.
Expand Down