santiment / SantimentMobile

Mobile MVP for Santiment project http://santiment.net
16 stars 3 forks source link

Implement Push notifications #73

Open tartakovsky opened 7 years ago

tartakovsky commented 7 years ago

Developer portals:

  1. Create GCM API keys for development and production in Android Developer portal
  2. Create APNS Sandbox and APNS Production certificates in Apple Developer portal

Backend side (should be collaborated on with Tzanko):

  1. Create SNS topics https://www.terraform.io/docs/providers/aws/r/sns_topic.html

  2. Create SNS applications https://github.com/hashicorp/terraform/pull/8294

    • iOS sandbox (development)
    • iOS production
    • GCM development
    • GCM production
  3. Get topic ARNs from AWS Console

Mobile side:

  1. Integrate https://github.com/aws/aws-sdk-js
  2. Integrate https://github.com/zo0r/react-native-push-notification
  3. Subscribe to AWS SNS Topic's ARN on app launch
  4. Verify that device has appeared as subscribed in AWS SNS Console
  5. Send push notification to devices, verify that it was received on both iOS and Android devices
ghost commented 7 years ago

Created development and production certificates for each app ID on iOS developer portal:

2017-08-01 3 58 42