We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c38135 commit 1f17623Copy full SHA for 1f17623
messaging/src/main/java/com/google/firebase/quickstart/Messaging.java
@@ -55,8 +55,7 @@ public class Messaging {
55
// [START retrieve_access_token]
56
private static String getAccessToken() throws IOException {
57
GoogleCredentials googleCredentials = GoogleCredentials
58
- .fromStream(new FileInputStream("android-gcm-test-519bd-4b2b39c38ceb.json"))
59
- // .fromStream(new FileInputStream("service-account.json"))
+ .fromStream(new FileInputStream("service-account.json"))
60
.createScoped(Arrays.asList(SCOPES));
61
googleCredentials.refresh();
62
return googleCredentials.getAccessToken().getTokenValue();
0 commit comments