Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try to add "airshipconfig.properties" file to assets with:</p> <pre><code>developmentAppKey = key developmentAppSecret = key productionAppKey = key productionAppSecret = key inProduction = true transport = c2dm c2dmSender = email </code></pre> <p>and remove the:</p> <pre><code>options.developmentAppKey = "My Key"; options.developmentAppSecret "My key"; </code></pre> <p>from your code.</p> <p>What about the AndroidManifest.xml? Did you set up it right?</p> <pre><code> &lt;!-- REQUIRED --&gt; &lt;receiver android:name="com.urbanairship.CoreReceiver"&gt; &lt;!-- REQUIRED IntentFilter - For Helium and Hybrid --&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt; &lt;action android:name="android.intent.action.ACTION_SHUTDOWN" /&gt; &lt;/intent-filter&gt; &lt;/receiver&gt; &lt;!-- REQUIRED for C2DM and Hybrid --&gt; &lt;receiver android:name="com.urbanairship.push.c2dm.C2DMPushReceiver" android:permission="com.google.android.c2dm.permission.SEND"&gt; &lt;!-- Receive the actual message --&gt; &lt;intent-filter&gt; &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt; &lt;category android:name="com.XXXXXXXX" /&gt; &lt;/intent-filter&gt; &lt;!-- Receive the registration id --&gt; &lt;intent-filter&gt; &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt; &lt;category android:name="com.XXXXXXXX" /&gt; &lt;/intent-filter&gt; &lt;/receiver&gt; &lt;!-- REQUIRED --&gt; &lt;!-- The 'android:process' parameter is optional. Set it to a value starting with a colon (:) to make it run in a separate, private process --&gt; &lt;service android:name="com.urbanairship.push.PushService" android:process=":com.urbanairship.push.process"/&gt; &lt;!-- OPTIONAL, if you want to receive push, push opened and registration completed intents --&gt; &lt;receiver android:name="com.XXXXXXXXXX.service.IntentReceiver" /&gt; </code></pre> <p>And remember that you should always see some logs information from UrbanAirShip. A specially registration information. Check also if your device was added to devices on urban website.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload