i am working with twilio/conversations.
i know it is not the right place to raise the issue but twilio/converstaions package didn't have a git repo to raise the issue.
i have a React web and React Native mobile application
client.getSubscribedConversations()
.then(async (paginator: any) => {
let hasNextPage = paginator.hasNextPage,
tempPaginator = paginator,
tempChannels: any[] = paginator.items;
const newChannels: any = await TwilioService.getInstance().parseChannels(tempChannels);
let channels = sortChannelsByMsgs(newChannels);
loadMoreChannels(paginator, thunkApi, tempChannels);
const uniqueArray = getUniqueArray(channels);
return uniqueArray;
})
.catch((e: any) => {
return rejectWithValue(e);
});
getSubscribedConversations() function is taking time to load 8s on web, but taking 40-55 seconds on mobile (React Native App)
if anyone can suggest what i am doing wrong here
"@twilio/conversations":"^2.6.3"
"react": "17.0.2",
"react-native": "0.68.2"