title: Cant receive pushnotification after some notification
body: <p>I was send some test push notification from FCM Cloud messaging its work perfectly and I received more than 5 message from FCM. But after that I don't receive anything from FCM cloud message. Cloud Message Status shows '<strong>Completed</strong>' but nothing to show in to the android real devices.</p>
  <p><strong>This is my MyfirebaseInstanceIdService</strong></p>
  <pre><code>public class MyfirebaseInstanceIdService extends FirebaseMessagingService {
  public MyfirebaseInstanceIdService() {
  }
  @Override
  public void onNewToken(String token) {
      Log.d(&quot;Fcm Token&quot;, &quot;Refreshed token: &quot; + token);
      // If you want to send messages to this application instance or
      // manage this apps subscriptions on the server side, send the
      // Instance ID token to your app server.
      sendRegistrationToServer(token);
  }
  private void sendRegistrationToServer(String token) {
  }
  }
  </code></pre>
  <p><strong>And this is MyService</strong></p>
  <pre><code>public class MyService extends FirebaseMessagingService {
  public MyService() {
  }
  @Override
  public void onMessageReceived(RemoteMessage remoteMessage) {
      String key = remoteMessage.getData().get(&quot;Key&quot;);
      Intent intent = new Intent(this,ReadingRoomTopicActivity.class);
      intent.setData(Uri.parse(key));
      intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
      PendingIntent pi = PendingIntent.
              getActivity(this,0,intent,PendingIntent.FLAG_ONE_SHOT);
      String Channel_Id = &quot;Default&quot;;
      NotificationCompat.Builder builder = new NotificationCompat.Builder(this,Channel_Id);
      builder.setSmallIcon(R.drawable.ic_launcher_background)
              .setContentTitle(remoteMessage.getNotification().getTitle())
              .setContentText(remoteMessage.getNotification().getBody())
              .setAutoCancel(true)
              .setContentIntent(pi);
      NotificationManager manager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);
      if(Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.O)
      {
          NotificationChannel channel = new NotificationChannel(Channel_Id,&quot;Default channel&quot;,NotificationManager.IMPORTANCE_DEFAULT);
          manager.createNotificationChannel(channel);
      }
      manager.notify(0,builder.build());
  }
  }
  </code></pre>
  <p><strong>This is my manifest</strong></p>
  <pre><code>&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  package=&quot;dz.teacher.droodz&quot;&gt;
  
  &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.WRITE_INTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.READ_INTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.READ_LOGS&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.CAMERA&quot; /&gt;
  
  &lt;supports-screens
      android:largeScreens=&quot;true&quot;
      android:normalScreens=&quot;true&quot;
      android:smallScreens=&quot;true&quot;
      android:xlargeScreens=&quot;true&quot; /&gt;
  
  &lt;application
      android:name=&quot;.YourApplication&quot;
      android:allowBackup=&quot;true&quot;
      android:icon=&quot;@mipmap/ic_launcher&quot;
      android:label=&quot;@string/app_name&quot;
      android:supportsRtl=&quot;true&quot;
      android:theme=&quot;@style/AppTheme&quot;&gt;
  
      &lt;service
          android:name=&quot;.MyfirebaseInstanceIdService&quot;
          android:enabled=&quot;true&quot;
          android:exported=&quot;true&quot;&gt;&lt;/service&gt;
  
  
      &lt;service
          android:name=&quot;.MyService&quot;
          android:enabled=&quot;true&quot;
          android:exported=&quot;true&quot;&gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;com.google.firebase.MESSAGING_EVENT&quot; /&gt;
          &lt;/intent-filter&gt;
      &lt;/service&gt;
  
  
      &lt;activity
          android:name=&quot;.SplashActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot;&gt;
          &lt;intent-filter&gt;
              &lt;action android:name=&quot;android.intent.action.MAIN&quot; /&gt;
  
              &lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity android:name=&quot;.ReadingRoomPostImageActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MovieReiviewPosstActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MyVideoVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MyVideoMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.ReadingRoomPostActivity&quot; /&gt;
      &lt;activity android:name=&quot;.Firestore1Activity&quot; /&gt;
      &lt;activity android:name=&quot;.VayanashalaUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesTrailerWebActivity&quot; /&gt;
      &lt;activity android:name=&quot;.TrailerCategory3Activity&quot; /&gt;
      &lt;activity android:name=&quot;.TrailerCategory2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.TrailerCategoryMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesQuizAnswerActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesQuiz1Activity&quot; /&gt;
      &lt;activity android:name=&quot;.JokeCategory3Activity&quot; /&gt;
      &lt;activity android:name=&quot;.JokeCategory2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.JokeCategoryActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCVideo5Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourVideoVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTravelVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourNewsVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourNewsVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTravelVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTecVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTecVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YoursportsVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YoursportsVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFunVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFunVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFoodVideoUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFoodVideo2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFilmReview2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFilmReviewUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourWebSeries2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesCountry2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesCountry1MainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourWebSeriesUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourShortFilmsUploadActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourShortFilms2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.YourNewsVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTravelVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YoursportsVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourTecVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFoodVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFunVideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourFilmReviewActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourWebSeriesActivity&quot; /&gt;
      &lt;activity android:name=&quot;.YourShortFilmsActivity&quot; /&gt;
      &lt;activity android:name=&quot;.WebWebActivity&quot; /&gt;
      &lt;activity android:name=&quot;.Web2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.WebMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.ComputerVideoWebActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCVyekthikalCategory2Mainactivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCVyekthikalCategoryMainactivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesTelegramActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCVyekthikal2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCVyekthikalMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCAswamedham2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCAswamedhamMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCCUrrentAffairsMonthsIActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCCurrentAffairsActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCCurrentAffairesDateIIIActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCCurentAffairsMonthsII&quot; /&gt;
      &lt;activity android:name=&quot;.PSCCurentAffairsDateActivityII&quot; /&gt;
      &lt;activity android:name=&quot;.Story3Activity&quot; /&gt;
      &lt;activity android:name=&quot;.Story2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.StoryMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCYear2Activity&quot; /&gt;
      &lt;activity android:name=&quot;.PSCYearMainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesSuggestions2PosterActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesCategory1Activity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesSuggessionWebSeries1Activity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesSuggestions3VideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesSuggestions1MainActivity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesTrailer3VideoActivity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesTrailer2PosterActivtiy&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesReviewDetailActivity&quot; /&gt;
      &lt;activity android:name=&quot;.DroodzMoviesReview1Activity&quot; /&gt;
      &lt;activity android:name=&quot;.JokesDetailActivity&quot; /&gt;
      &lt;activity android:name=&quot;.KaleidoscopeDetailsActivity&quot; /&gt;
      &lt;activity android:name=&quot;.VideoFirebaseActivity&quot; /&gt;
      &lt;activity android:name=&quot;.JokesActivity&quot; /&gt;
      &lt;activity android:name=&quot;.KaledoscopeTopicActivity&quot; /&gt;
      &lt;activity android:name=&quot;.MoviesMainActivity&quot; /&gt;
      &lt;activity
          android:name=&quot;.ReadingRoomTopicActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.ReadingRoomDetailsActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.AswamedhamTopicActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.AswamedhamDetailsActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCGKTopicActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCGKDetailsActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.MovieReviewTopicActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.MovieReviewDetailsActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.LanguageAlphabet3Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language1Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language5Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language4Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language3Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language1MenuActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.Language2Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTextbook4Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTextbook3Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTextbook2Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTextbook1Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.ClassRoomNote2Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.ClassRoomNote1Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCPreviousQuestinPaper4Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCPreviousQuestinPaper3Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCPreviousQuestinPaper2Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCPreviousQuestinPaper1Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCClassRoom4Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCClassRoom3Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCClassRoom2Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTrollDetailActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.TrollDetailActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCTrollActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.TrollActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCVideo4CategorySubjectActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCVideo3CategoryActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizSecondSetStartActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizSecondResultActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizSecondSetActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCQuestinBankSubActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCAudioAcitivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCVideoActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCQuestinBankActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCMainActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizStartActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizResultActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.QuizandFactsActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity android:name=&quot;.NotificationsActivity&quot; /&gt;
      &lt;activity
          android:name=&quot;.UpcomingActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.VaayanashalaDetailActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.VaayanashalaManiActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.computerSubActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.computerTopicActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.EnterPageActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.AboutDroodz&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PricacyPolicy&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCVideo2VideoActivity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
      &lt;activity
          android:name=&quot;.PSCVideo1Activity&quot;
          android:theme=&quot;@style/AppCompat.NoActionBar&quot; /&gt;
  
      &lt;meta-data
          android:name=&quot;com.google.android.gms.ads.APPLICATION_ID&quot;
          android:value=&quot;ca-app-pub-8867939169855032~9998384849&quot; /&gt;
  &lt;/application&gt;
  </code></pre>