Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
- android:name="com.parse.ParsePushBroadcastReceiver"
- android:exported="false">
- <intent-filter>
- <action android:name="com.parse.push.intent.RECEIVE" />
- <action android:name="com.parse.push.intent.DELETE" />
- <action android:name="com.parse.push.intent.OPEN" />
- <action android:name="1" />
- </intent-filter>
- </receiver>
- <receiver
- android:name="com.parse.GcmBroadcastReceiver"
- android:permission="com.google.android.c2dm.permission.SEND">
- <intent-filter>
- <action android:name="com.google.android.c2dm.intent.RECEIVE" />
- <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
- <category android:name="com.MidCenturyMedia.Shopper.light" />
- </intent-filter>
- </receiver>
- dependencies {
- compile('com.github.parse-community.Parse-SDK-Android:parse:1.18.5') {
- exclude group: 'com.android.support', module: 'support-v4'}
- }
- public class NowstApp extends Application {
- @Override
- public void onCreate() {
- Parse.enableLocalDatastore(this);
- Parse.initialize(new Parse.Configuration.Builder(this)
- .applicationId(Defines.parseApplicationID)
- .clientKey(Defines.parseClientKey)
- .server(Defines.parseURL)
- .build()
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement