Realm Subscription Token

ros
cloud

#1

Hi guys,

Would like to ask something regarding the realm subscription token.

In my application, i have a screen that is handling the synchronization thing. In this screen also, I start my realm query-based sync subscription token, the subscription token is only being subscribed here(once). I did not invalidate the token, so that the subscription will still persist in the rest of all the screens.

Now, my question is, is it okay to do so? Is there any drawback if I do not invalidate the subscription token? Is the subscription will be automatically released once the user kill the app? Or it will keep stack each time the user open the app?

I am just wonder if there is any problem in future if I maintain this behavior.

Thanks