|
| 1 | +shared: |
| 2 | + # Use bin/rails credentials:edit to set the apns secrets (as action_push_native:apns:key_id|encryption_key) |
| 3 | + apple: |
| 4 | + # Token auth params |
| 5 | + # See https://developer.apple.com/documentation/usernotifications/establishing-a-token-based-connection-to-apns |
| 6 | + key_id: <%= Rails.application.credentials.dig(:action_push_native, :apns, :key_id) %> |
| 7 | + encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :apns, :encryption_key)&.dump %> |
| 8 | + |
| 9 | + team_id: your_apple_team_id |
| 10 | + # Your identifier found on https://developer.apple.com/account/resources/identifiers/list |
| 11 | + topic: your.bundle.identifier |
| 12 | + |
| 13 | + # Set this to the number of threads used to process notifications (default: 5). |
| 14 | + # When the pool size is too small a ConnectionPoolTimeoutError will be raised. |
| 15 | + # connection_pool_size: 5 |
| 16 | + |
| 17 | + # Change the request timeout (default: 30). |
| 18 | + # request_timeout: 60 |
| 19 | + |
| 20 | + # Decide when to connect to APNs development server. |
| 21 | + # Please note that anything built directly from Xcode and loaded on your phone will have |
| 22 | + # the app generate DEVELOPMENT tokens, while everything else (TestFlight, Apple Store, ...) |
| 23 | + # will be considered as PRODUCTION environment. |
| 24 | + # connect_to_development_server: <%= Rails.env.development? %> |
| 25 | + |
| 26 | + # Use bin/rails credentials:edit to set the fcm secrets (as action_push_native:fcm:encryption_key) |
| 27 | + google: |
| 28 | + # Your Firebase project service account credentials |
| 29 | + # See https://firebase.google.com/docs/cloud-messaging/auth-server |
| 30 | + encryption_key: <%= Rails.application.credentials.dig(:action_push_native, :fcm, :encryption_key)&.dump %> |
| 31 | + |
| 32 | + # Firebase project_id |
| 33 | + project_id: your_project_id |
| 34 | + |
| 35 | + # Set this to the number of threads used to process notifications (default: 5). |
| 36 | + # When the pool size is too small a ConnectionPoolTimeoutError will be raised. |
| 37 | + # connection_pool_size: 5 |
| 38 | + |
| 39 | + # Change the request timeout (default: 15). |
| 40 | + # request_timeout: 30 |
0 commit comments