Hi,
We are using GetToken client action to fetch the token and store in our table. The validity of the token is 1hour. We also have a logic to call GetToken action again when user landed in homepage. Let's say if the user never opened the app for longtime and if we want to send notification to the user, it is throwing us access token expired error for the token we stored in the DB specific to the user. Anyway to refresh it or any other action we can perform to achieve longtime validity? Thanks
RegardsBalaji
Hi, as I know the token wont expire until you call unregister device. And it's unique for device. Why did you set the valid time for token? Sorry If I dont get you mean
We are not calling unregister device action. Just the RegisterDevice and GetToken action. We are not setting the valid time for the token. But when I searched online it was mentioned that the token is valid for 1hour only. In our case we just sending from what we stored in our Database which is showing expired when sending the notifications.
Hi, I implemented firebase cloud message for push notification.On IOS app, when I close the app, I can't receive a push notification, but for android it work fine. Can anyone give me some suggestions?