Skip to content

Commit 19c16f6

Browse files
authored
Merge pull request #60 from dtuite/master
Explain a known issue in APK 27 and greater
2 parents 67cbd1d + 8159b45 commit 19c16f6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,19 @@ Ensure `compileSdkVersion` and `targetSdkVersion` are 25.
180180

181181
Done!
182182

183+
## Known issues
184+
185+
Android APK 27 and above require notifications to provide their own `NotificationChannel`. `react-native-background-upload` does not yet meet this requirement and thus [will cause crashes in Android 8.1 and above](https://github.com/Vydia/react-native-background-upload/issues/59#issuecomment-362476703). This issue can be avoided by electing not to use native notifications.
186+
187+
```js
188+
const options = {
189+
// ...
190+
notification: {
191+
enabled: false,
192+
},
193+
};
194+
```
195+
183196

184197
## Gratitude
185198

0 commit comments

Comments
 (0)