Last active
November 9, 2017 13:44
-
-
Save celiovasconcelos/4691866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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