#What's the best way to call identify() in Next.js?

1 messages · Page 1 of 1 (latest)

polar fog
#

I'm trying to integrate Novu into my Next.js app. When a user first signs up, they aren't registered as subscribers yet, which means the notification center gets stuck in loading mode forever. What's the best practice here?

#

What's the best way to call identify() in Next.js?

autumn acorn
#

@polar fog
Best practice is to identify a subscriber with sign up before loading our notification center.

#

This loader comes when there is undefined subscriberId or invalid application Identifier

polar fog
#

@autumn acorn shouldn't it just display an empty list?

autumn acorn
#

We display empty list when applicationIdentifier is valid and subscriberId is not undefined/null

polar fog
#

@autumn acorn so there's a bug there - it's stuck on loading for me

autumn acorn
polar fog
#

I'm using the cloud-based version @autumn acorn
The error I see is 404

autumn acorn
#

Can you please share error screenshot?

polar fog
shy vortexBOT
#

@polar fog, you just advanced to level 1!

autumn acorn
#

Hi @polar fog
I may need appId and susbcriberid you are using

#

can you please allow me to message you?

#

Seems like you have some privay on sending friend request

autumn acorn
#

hi @polar fog
Can you please check if it is disabled in your case also?
#1126859133648379985 message