Skip to content

Instantly share code, notes, and snippets.

@celiovasconcelos
Last active November 9, 2017 13:44
Show Gist options
  • Save celiovasconcelos/4691866 to your computer and use it in GitHub Desktop.
Save celiovasconcelos/4691866 to your computer and use it in GitHub Desktop.
//Don't forget to declare it in AndroidManifest.xml <application android:name=".PushLinkSetup" ... >
public class PushLinkSetup extends android.app.Application {
@Override
public void onCreate() {
super.onCreate();
PushLink.start(this, R.mipmap.ic_launcher, "yourApiKey", "yourDeviceID");
//you can use R.drawable.icon for older sdks
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment