You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 12, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,8 @@
2
2
name: Bug report
3
3
about: Create a report to help us improve
4
4
title: ''
5
-
labels: ''
6
-
assignees:
7
-
- vishalnarkhede
8
-
- madsroskar
5
+
labels: 'Needs Triaging'
6
+
assignees: ''
9
7
10
8
---
11
9
@@ -14,7 +12,10 @@ PLEASE READ THIS BEFORE PROCEEDING:
14
12
15
13
Did you check docs? - https://getstream.io/chat/docs/sdk/reactnative
16
14
17
-
If you are looking for an answer to "how to implement/do ... using xx component?" question, please check the Guides section of the docs. If you can't find an answer there, please leave a comment here - https://github.com/GetStream/stream-chat-react-native/issues/184 and I will try to add/include a sample code or example as soon as possible to Guides section of docs. This way it can help the other devs who are looking for same answer. Also if you have some feedback regarding docs, please don't hesitate to comment there.
15
+
If you are looking for an answer to "how to implement/do ... using xx component?" question, please check the Guides section of the docs.
16
+
If you can't find an answer there, please create an issue, and we will try to add/include a sample code or example to the Guides section of docs.
17
+
This way it can help the other devs who are looking for the same answer.
18
+
Also if you have some feedback regarding docs, please don't hesitate to comment there.
18
19
19
20
Your co-operation is really-really appreciated in this manner. Thanks and happy coding :)
Copy file name to clipboardExpand all lines: docusaurus/docs/reactnative/basics/troubleshooting.mdx
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,17 +327,33 @@ The solution may require using a different touchable from React Native Gesture H
327
327
328
328
## Reanimated 2
329
329
330
-
We rely on Reanimated 2 heavily for gesture based interactions and animations. It is vital you follow the [Reanimated 2 installation instructions](https://docs.swmansion.com/react-native-reanimated/docs/installation/) for the library to work properly.
330
+
We rely on Reanimated 2 heavily for gesture based interactions and animations. It is vital you follow the [Reanimated 2 installation instructions](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/) for the library to work properly.
331
331
332
332
### Failed to create a worklet
333
333
334
-
If you are encountering errors related to `Reanimated 2 failed to create a worklet` you must likely forgot to add the `react-native-reanimated/plugin` to your `babel.config.js` file.
334
+
If you are encountering errors related to `Reanimated 2 failed to create a worklet` you must likely forgot to add the `react-native-reanimated/plugin` to your [project's babel config file](https://babeljs.io/docs/en/config-files). Below is an example of adding Reanimated's babel plugin to `babel.config.js`:
335
+
336
+
```js
337
+
module.exports = {
338
+
...
339
+
plugins: [
340
+
...
341
+
'react-native-reanimated/plugin',
342
+
],
343
+
};
344
+
```
345
+
346
+
:::caution
347
+
348
+
Reanimated plugin has to be listed last.
349
+
350
+
:::
335
351
336
352
### Blank screen on Android
337
353
338
-
If you are encountering errors on Android and the screen is blank it is likely you forgot to finish the [Reanimated 2 Android setup](https://docs.swmansion.com/react-native-reanimated/docs/installation/#android).
354
+
If you are encountering errors on Android and the screen is blank it is likely you forgot to finish the [Reanimated 2 Android setup](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/#android).
339
355
340
-
Ensure Hermes is enabled in `android/app/build.gradle`
356
+
Ensure Hermes is enabled in `android/app/build.gradle`:
341
357
342
358
```java
343
359
project.ext.react= [
@@ -368,6 +384,15 @@ private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
368
384
...
369
385
```
370
386
387
+
### Android release bundle is crashing
388
+
389
+
This is likely due to proguard removing reanimated 2 related classes. If you're using Proguard, make sure to add the rules below:
390
+
391
+
```
392
+
-keep class com.swmansion.reanimated.** { *; }
393
+
-keep class com.facebook.react.turbomodule.** { *; }
394
+
```
395
+
371
396
## Project won't build on a MacBook with Apple M1
372
397
373
398
On newer MacBooks with the Apple M1 SoC, there are a few required steps that need to be followed for an app to build. The user [aiba](https://github.com/aiba) has written [a guide](https://github.com/aiba/react-native-m1) to make the necessary changes to your project.
0 commit comments