Firebase onTokenRefresh() is not called

后端 未结 13 2136
天命终不由人
天命终不由人 2020-11-27 16:59

In my MainActivityin my log, I can see the token using FirebaseInstanceId.getInstance().getToken() and it display the generated token. But it seem

13条回答
  •  爱一瞬间的悲伤
    2020-11-27 17:23

    I had the same problem like you. My mistake was the following: I placed my tags outside the tag in the AndroidManifest.xml file.

    Now mine looks like this:

    
    
        
            
                
            
        
    
        
            
                
            
        
    
    

    And it works without any problem.

提交回复
热议问题