Firebase Notification Error

Hi

I want to use Firebase for notification push. But i can't

My Code
guard let token = InstanceID.instanceID().token() else {return}

Error Message : 'token()' is deprecated: Use instanceIDWithHandler: instead.

but i can't . How to fix it ?

I’m going to recommend you raise this via whatever support channel that Firebase provides, because you’re more likely to connect with folks with Firebase experience that way.

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple