I was following this official react native tutorial and I've already added react-native-activity-feed in my project. But, my application shows nothing and prints some error like below.
Error
Possible Unhandled Promise Rejection (id: 0): TypeError arguments[0].indexOf is not a function...

Screenshot

Code
import React from 'react';
import SafeAreaView from 'react-native-safe-area-view';
import { StreamApp, FlatFeed } from 'react-native-activity-feed';
const App = () => {
return (
<SafeAreaView style={{flex: 1}} forceInset={{ top: 'always' }}>
<StreamApp
apiKey="APIKEY"
appId="APPID"
token="TOKEN"
>
<FlatFeed />
</StreamApp>
</SafeAreaView>
);
};
export default App;
How to resolve this error...? I need some help.
I was following this official react native tutorial and I've already added react-native-activity-feed in my project. But, my application shows nothing and prints some error like below.
Error
Screenshot
Code
How to resolve this error...? I need some help.