title: GCM Network Manager is deprecated. Firebase Jobdispatcher is not working persistently in background?
body: <p>I heard that GCM get's deprecated on April 11, 2019. I have implemented GCM Network manager in my project, I am running service persistently in the background, though internet connectivity on or off.</p>
  
  <p>Firebase job dispatcher is not running like GCM Network Manager?</p>
  
  <p>This is the following code:</p>
  
  <pre><code>Job myJob = mDispatcher.newJobBuilder()
              .setService(MyJobService.class)
              .setTag(JOB_TAG)
              .setRecurring(true)
              .setTrigger(Trigger.executionWindow(5, 30))
              .setLifetime(Lifetime.FOREVER)
              .setReplaceCurrent(false)
              .setConstraints(Constraint.ON_ANY_NETWORK)
              .setRetryStrategy(RetryStrategy.DEFAULT_LINEAR)
              .build();
      mDispatcher.mustSchedule(myJob);
      Toast.makeText(this, R.string.job_scheduled, Toast.LENGTH_LONG).show();
  </code></pre>