ios - Use of unresolved identifier 'FIRInstanceIDAPNSTokenTypeSandbox' -


i'm trying migrate apps google cloud messaging (gcm) firebase cloud messaging (fcm). doc says need put function

func application(application: uiapplication,didregisterforremotenotificationswithdevicetoken devicetoken: nsdata) {      firinstanceid.instanceid().setapnstoken(devicetoken, type:firinstanceidapnstokentypesandbox) } 

but unresolved identifier on firinstanceidapnstokentypesandbox import firebase, firebaseinstanceid, firebasemessaging. know why? appreciate kind of clue u guys. thanks!

for swift, have use firinstanceidapnstokentype.sandbox instead of firinstanceidapnstokentypesandbox.

it works me.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -