Created
May 12, 2020 20:22
-
-
Save javieranton-zz/ed18994ad1f5da3533518a5c31fe8458 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
import com.google.firebase.*; | |
import com.google.firebase.iid.*; | |
import com.google.firebase.messaging.*; | |
FirebaseOptions.Builder builder = new FirebaseOptions.Builder() | |
.setApplicationId("<applicationId> i.e X:XXXXXXXXXX:android:XXXXXXXXXXXXXXXXXXXXX") | |
.setApiKey("<private key>") | |
.setDatabaseUrl("https://yourFcmApp.firebaseio.com") | |
.setStorageBucket("yourFcmApp.appspot.com"); | |
FirebaseApp.initializeApp(context(), builder.build()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment