mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-03-24 00:32:17 +01:00
Add AWS push bundle
This commit is contained in:
8
mcfedr/awspushbundle/6.11/config/packages/awspush.yaml
Normal file
8
mcfedr/awspushbundle/6.11/config/packages/awspush.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
mcfedr_aws_push:
|
||||
platforms:
|
||||
default: "%env(AWS_PUSH_DEFAULT_PLATFORM_ARN)%"
|
||||
aws:
|
||||
credentials:
|
||||
key: "%env(AWS_ACCESS_KEY_ID)%"
|
||||
secret: "%env(AWS_SECRET_ACCESS_KEY)%"
|
||||
region: "%env(AWS_REGION)%"
|
||||
14
mcfedr/awspushbundle/6.11/manifest.json
Normal file
14
mcfedr/awspushbundle/6.11/manifest.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Mcfedr\\AwsPushBundle\\McfedrAwsPushBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
},
|
||||
"env": {
|
||||
"AWS_PUSH_DEFAULT_PLATFORM_ARN": "arn:aws:sns:us-east-1:123456789012:app/APNS/my-app-ios",
|
||||
"AWS_ACCESS_KEY_ID": "not-a-real-key",
|
||||
"AWS_SECRET_ACCESS_KEY": "not-a-real-secret",
|
||||
"AWS_REGION": "us-east-1"
|
||||
}
|
||||
}
|
||||
11
mcfedr/awspushbundle/6.11/post-install.txt
Normal file
11
mcfedr/awspushbundle/6.11/post-install.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: AwsPushBundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
* You can add more platforms to your config in config/packages/awspush.yaml
|
||||
|
||||
* You can remove the AWS credentials if they are configured in your app env or
|
||||
via an EC2 role.
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/mcfedr/awspushbundle/blob/master/README.md</>
|
||||
|
||||
Reference in New Issue
Block a user