i had implement Firebase with FirebaseAuth/FCM etc and did sent notification successfully through Firebase Console.
However i would need to push the notification from m
Go with the second option, and this is going to seem really stupid/simple, but to fix that nil optional fatal error, just remove the force-unwrap at the end
Your code:
var token = FIRInstanceID.instanceID().token()!
Make it:
var token = FIRInstanceID.instanceID().token()
That will at least fix that nasty crash