Skip to content

Instantly share code, notes, and snippets.

View celiovasconcelos's full-sized avatar

Célio Vasconcelos celiovasconcelos

View GitHub Profile
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.pushlink</groupId>
<artifactId>pushlink-android</artifactId>
//C# for MonoDroid
using Com.Pushlink.Android;
...
PushLink.Start(this, Resource.Drawable.Icon, "yourApiKey", "yourDeviceID");
//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
}
}