Android parse.com Unable to receive push notification

I cannot receive push notifications using parse.com.
I used a quick guide trying to solve my problem. I tried to use the channel for the specified name and as the channel name. Also I found I can’t receive push notifications in Android using trigger.io and parse.com
I managed to send the object to parse.com and subscribe to notifications (at least I can see my application in the DataBrowser on parse.com)

public class ParseStarterProjectActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); PushService.subscribe(this, "push", TestParse.class); PushService.setDefaultPushCallback(this, TestParse.class); } } public class ParseApplication extends Application { @Override public void onCreate() { super.onCreate(); Parse.initialize(this, my_id, my_client_key); } } public class TestParse extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.parse); } } 

AndroidManifest.xml

 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.parse.starter" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.VIBRATE" /> <application android:name="ParseApplication" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <service android:name="com.parse.PushService" /> <receiver android:name="com.parse.ParseBroadcastReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.USER_PRESENT" /> </intent-filter> </receiver> <activity android:name=".ParseStarterProjectActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name=".TestParse" android:label="@string/app_name" /> </application> </manifest> 

I recently noticed LogCat errors:

02-21 18: 17: 45.381: ERROR / Trace (8952): file with error opening: no such file or directory (2)
02-21 18: 17: 48.534: ERROR / com.parse.PushService (8888): unknown host


I really want to receive notifications. What am I doing wrong?

+4
source share
1 answer

Disassemble the employee here. To cope with the increased load on our push service, we have increased the number of machines running on push.parse.com. Some ISPs had problems when resolving DNS returned many servers. Last Friday afternoon, we launched our own DNS server, which works with these issues with third-party DNS resolution. This should no longer be a problem.

+1
source

All Articles