Skip to content

Instantly share code, notes, and snippets.

@billy-bacon
Created November 21, 2013 17:54
Show Gist options
  • Save billy-bacon/7586317 to your computer and use it in GitHub Desktop.
Save billy-bacon/7586317 to your computer and use it in GitHub Desktop.
// todo: figure out how to load this from PEM file
// (ANDROID) not applicable; this will be null;
// (iOS) the certificate in pem format with \n at the end of each line.
private String principal;
// todo: figure out how to load this from PEM file
// (ANDROID) the server api key from the google api console
// (iOS) the private key in pem format with \n at the end of each line.
private String credential;
@Autowired
public PushNotificationMessageProcessor(final AmazonSNS snsClient,
@Value("${GOOGLE_SERVER_API_KEY}") final String serverApiKey) {
this.snsClient = snsClient;
this.serverApiKey = serverApiKey;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment