Riki
CCConvex Community
•Created by pez on 3/18/2025 in #support-community
Tips on sending batch notifications to a large group of users at once?
@pez I know that might not be the answer you are looking for, but most likely you could do that more easily OneSignal (an alternative to expo push notif), that has a RN SDK.
Basically:
1. Every user in your app is registered thanks to the onesignal sdk
2. Every day you launch a cron on convex that calls the onesignal api
3. OneSignal handles for you push messaging ALL your users in one shot
16 replies
CCConvex Community
•Created by Alvi on 3/16/2025 in #support-community
Convex image compression
@Alvi in case that helps, this is what I am doing so far:
1. Install
sharp
js package, and register it in your convex.json
file
2. Add this file in your code:
8 replies
CCConvex Community
•Created by Riki on 1/24/2025 in #support-community
React-Native / Jest / Convex-test setup issue
I tried a bunch of things like having
convex-text
added within the jest config field in my package.json as per recommended by the expo team:
https://docs.expo.dev/develop/unit-testing/#additional-configuration-for-using-transformignorepatterns
But I still get a similar error.8 replies
CCConvex Community
•Created by Riki on 1/24/2025 in #support-community
React-Native / Jest / Convex-test setup issue
Hey @Tom it's strange but after investigation whenever I reinstall whatever version of convex-test, I get this error still
8 replies
CCConvex Community
•Created by Riki on 1/24/2025 in #support-community
React-Native / Jest / Convex-test setup issue
I don’t know, but good idea to jnow. I will do a manual bisect with different versions and let you know
8 replies
CCConvex Community
•Created by Riki on 1/24/2025 in #support-community
React-Native / Jest / Convex-test setup issue
Probably linked to https://discord.com/channels/1019350475847499849/1234545863997653044/1234559492725936188
8 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
Awesome, thanks @lee !!
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
I guess that's an unwanted side effect?
I imagine they wanted here to bubble up the error in case it wasn't the
InvalidCursor
one given that should be the only acceptable error for paginated queries that the convex package can handle gracefully?
But given if I'm not mistaken, the convex prod doesn't receive error messages, it is not able to find the "InvalidCursor" string and so falls back to bubbling up the error.30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
Oh lovely, thanks for the link
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
So you have in your codebase some paginated queries that rely on some internal query data and not "outside" query arguments?
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error

30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
@erquhart I think you shared a wrong link? it seems this talk about convex website urls
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
@lee At least in React-Native an error thrown by the
usePaginatedQuery
hook needs an error boundary when connected to a prod convex environment (on dev we just have a warning, and it looks like it is handled by the hook itself which "restarts" a paginated query)30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error

30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
@mikeysee Thanks for your message! I confirm I am using only one paginated query in the code.
@lee yes indeed I am using usePaginatedQuery. Here is the code that I have simplified a bit but that's still triggering the error, sorry if it is still a bit long.
30 replies
CCConvex Community
•Created by Riki on 12/15/2024 in #support-community
.paginate combined with .withIndex is causing an error
Oh yes definitely throwing an error, and so, caught by our error boundary screen
30 replies
CCConvex Community
•Created by Riki on 12/11/2024 in #support-community
[Paginated Query] How to get the first elements in the "middle"
Ooooh lovely, thanks @jamalsoueidan and @lee !!
7 replies
CCConvex Community
•Created by David Alonso on 11/2/2024 in #support-community
Mutation error: `Returned promise will never resolve` caused by triggers
Given I have another trigger that works and this trigger does nothing, I suspect this is something related to the mutation that happens within the 'users' table that is the issue (but it works well without the trigger)
54 replies
CCConvex Community
•Created by David Alonso on 11/2/2024 in #support-community
Mutation error: `Returned promise will never resolve` caused by triggers
I have the same error. The "funny" part is that even if I edit the code of the trigger to do nothing (no query nor mutations), I get this error:
54 replies