Skip to content

Commit

Permalink
Change name of activity to match Cordova 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jarseneault committed Feb 19, 2015
1 parent fdbe248 commit 92e0cd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/ParseApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import com.parse.ParseInstallation;
import com.parse.PushService;

import <%=app.id%>.CordovaApp;
import <%=app.id%>.MainActivity;

public class ParseApplication extends Application
{
Expand All @@ -26,7 +26,7 @@ public void onCreate() {
super.onCreate();
// register device for parse
Parse.initialize(this, "<%=app.parse.app_id%>", "<%=app.parse.client_key%>");
PushService.setDefaultPushCallback(this, CordovaApp.class);
PushService.setDefaultPushCallback(this, MainActivity.class);
ParseInstallation.getCurrentInstallation().saveInBackground();
}
}

0 comments on commit 92e0cd0

Please sign in to comment.