Push Notification Token is not working .

I, and a group of friends, are developing a react native application with expo that uses Push Notifications. I created code that generates a push token when push notifications are turned on(user has option to turn them off). I developed the code in a separate branch from main and the token it was generating allowed me to send Push Notifications through the expo push tool (Push Notification Tool — Expo). After merging with main the token that is being generated is different from the original token. This new token is not allowing me to send push notifications using the expo tool but I am still able to do so using the previous token.

I am unsure as to how to disable the previous token and enable the current token or if that’s even possible. If anyone has any possible solutions please let me know!