title: No device token when installation in Android device using notification from Parse
body: <p>I want to use Parse to push notification. When I test app on the Android emulator, I found some devices have deviceToken some devices do not. If there is no deviceToken then this device cannot receive notification. How can I solve that? Below is my code.</p>
  
  <pre><code>public class ShooksApplication extends Application {
  
  public void onCreate() {
      super.onCreate();
  
      Parse.initialize(this, "***********", "*******************");
      ParseInstallation installation = ParseInstallation.getCurrentInstallation();
  
      installation.saveInBackground();
  }
  }
  </code></pre>
  
  <p>And manifest is working because devices with deviceToken can receive notification. But I see the the pushType of all the data in Installation is gcm.
  Below is my manifest :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.cs442.project.team13" &gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  &lt;uses-permission android:name="android.permission.CALL_PHONE" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
  &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /&gt;
  
  &lt;!--
    IMPORTANT: Change "com.parse.starter.permission.C2D_MESSAGE" in the lines below
    to match your app's package name + ".permission.C2D_MESSAGE".
  --&gt;
  &lt;permission android:protectionLevel="signature"
      android:name="com.cs442.project.team13.permission.C2D_MESSAGE" /&gt;
  &lt;uses-permission android:name="com.cs442.project.team13.permission.C2D_MESSAGE" /&gt;
  &lt;application
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme"
      android:name=".ShooksApplication"&gt;
      &lt;activity
          android:name="com.cs442.project.team13.MainPage"
          android:label="Search"
          android:theme="@style/Theme.MyCompatTheme"&gt;
  
          &lt;meta-data
              android:name="android.app.default_searchable"
              android:value=".SearchBookResultsActivity" /&gt;
      &lt;/activity&gt;
  
      &lt;activity
          android:name="com.cs442.project.team13.SearchBookResultsActivity"
          android:label="SearchResult"
          android:theme="@style/Theme.MyCompatTheme"&gt;
  
          &lt;!-- to identify this activity as "searchable" --&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.SEARCH" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
          &lt;meta-data
              android:name="android.app.default_searchable"
              android:value="com.example.ExampleActivity" /&gt;
          &lt;meta-data
              android:name="android.app.searchable"
              android:resource="@xml/searchable" /&gt;
      &lt;/activity&gt;
  
      &lt;activity android:name="com.cs442.project.team13.WishListResult"
                  android:label="Wishlist"/&gt;
      &lt;activity android:name="com.cs442.project.team13.Details"
          android:label="Details"/&gt;
  
  
  
  
  
  
  
  
      &lt;activity
          android:name="com.cs442.project.team13.LoginActivity"
          android:label="@string/app_name" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;activity android:name="com.cs442.project.team13.UpdateProfile" /&gt;
  
      &lt;activity android:name="com.cs442.project.team13.RegisterActivity" /&gt;
      &lt;activity
          android:name="com.cs442.project.team13.BookCategoryActivity"
          android:label="@string/title_activity_book_category" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.PostBookActivity"
          android:label="@string/title_activity_post_book" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.DisplayBookInfoActivity"
          android:label="@string/title_activity_display_book_info" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.DisplayProviderInfoActivity"
          android:label="@string/title_activity_display_provider_info" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.DisplayUserBookListActivity"
          android:label="@string/title_activity_display_user_book_list" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.UpdateBookInfoActivity"
          android:label="@string/title_activity_update_book_info" &gt;
      &lt;/activity&gt;
      &lt;activity
          android:name="com.cs442.project.team13.CategorySearch"
          android:label="@string/title_activity_category_search" &gt;
      &lt;/activity&gt;
  
      &lt;service android:name="com.parse.PushService" /&gt;
      &lt;receiver android:name="com.parse.ParseBroadcastReceiver"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
              &lt;action android:name="android.intent.action.USER_PRESENT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
      &lt;receiver android:name="com.parse.ParsePushBroadcastReceiver"
          android:exported="false"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.parse.push.intent.RECEIVE" /&gt;
              &lt;action android:name="com.parse.push.intent.DELETE" /&gt;
              &lt;action android:name="com.parse.push.intent.OPEN" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
      &lt;receiver android:name="com.parse.GcmBroadcastReceiver"
          android:permission="com.google.android.c2dm.permission.SEND"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
              &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
              &lt;category android:name="com.cs442.project.team13" /&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
      &lt;meta-data android:name="com.parse.push.notification_icon" android:resource="@drawable/book126"/&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>How can I solve this issue?</p>