title: Firebase token is not generating
body: <p>im getting token is not generated..</p>
  
  <p>the onTokenrefresh() is not calling. can anyone help.</p>
  
  <p>it is connected to firebase also still the token is not generating.</p>
  
  <pre><code>public class MyFireBaseInstanceId extends FirebaseInstanceIdService {
  
      private static final String TAG = "MyFirebaseIIDService";
  
      @Override
      public void onTokenRefresh() {
  
          //Getting registration token
          String refreshedToken = FirebaseInstanceId.getInstance().getToken();
  
  
          //Displaying token on logcat
          Log.d(TAG, "Refreshed token: " + refreshedToken);
          sendRegistrationToServer(refreshedToken);
  
      }
  
      private void sendRegistrationToServer(String token) {
          //You can implement this method to store the token on your server
          //Not required for current project
          SharedPrefManager.getInstance(getApplicationContext()).saveDeviceToken(token);
      }
  }
  </code></pre>