fastlane-plugin-aws_sns 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +45 -5
- data/lib/fastlane/plugin/aws_sns/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d51df83e65599d0b3776675c1b991c578c7ff795
|
4
|
+
data.tar.gz: 2625cf56ad866473f768187cd1c7b4ba9fb8a8db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b71387142dd5f00f3d9f387322cdfc671ebea39e06f1e56661881b85160eaee487383fd61bd2743a4c05b1392ff1062a8dd0dbc078af56ff19deee21bcd86cf5
|
7
|
+
data.tar.gz: a4e30adca8be9347457db0628e595961d7d0561e9e33576993902259772ff7aefd985db781b3b1e892546f624ef9347db996fe47ec28150c3b01b4fcd769ddd0
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# aws_sns plugin
|
1
|
+
# aws_sns `fastlane` plugin
|
2
2
|
|
3
3
|
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-aws_sns)
|
4
4
|
|
@@ -12,15 +12,48 @@ fastlane add_plugin aws_sns
|
|
12
12
|
|
13
13
|
## About aws_sns
|
14
14
|
|
15
|
-
|
15
|
+
[AWS SNS](https://aws.amazon.com/sns/) is fully manage push notification service. This plugin creates an AWS SNS platform application for iOS and Android apps.
|
16
16
|
|
17
|
-
|
17
|
+
iOS app are created by uploading a private key (p12) to AWS SNS - which can easily be created with [PEM](https://github.com/fastlane/fastlane/tree/master/pem)
|
18
|
+
|
19
|
+
Android apps are created by sending up a GCM Api Key to AWS SNS - obtained through your [Google Cloud Platform dashboard](https://console.cloud.google.com)
|
20
|
+
|
21
|
+
The call to `aws_sns` will return the AWS SNS plattform application's [ARN](http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) (if you need it). The platform application's ARN is what is used to actually send notifications to your app(s) later on.
|
18
22
|
|
19
23
|
## Example
|
20
24
|
|
21
|
-
|
25
|
+
### iOS
|
26
|
+
```ruby
|
27
|
+
aws_sns(
|
28
|
+
platform: 'APNS',
|
29
|
+
platform_name: 'your_awesome_ios_app',
|
30
|
+
platform_apns_private_key_path: 'path/to/cert.p12',
|
31
|
+
|
32
|
+
# Optional private key password
|
33
|
+
# platform_apns_private_key_password: 'joshissupercool'
|
34
|
+
)
|
35
|
+
```
|
36
|
+
|
37
|
+
### Android
|
38
|
+
```ruby
|
39
|
+
aws_sns(
|
40
|
+
platform: 'GCM',
|
41
|
+
platform_name: 'your_awesome_android_app',
|
42
|
+
platform_gcm_api_key: 'your_gcm_api_key'
|
43
|
+
)
|
44
|
+
```
|
22
45
|
|
23
|
-
|
46
|
+
### iOS (using the ARN)
|
47
|
+
```ruby
|
48
|
+
ios_arn = aws_sns(
|
49
|
+
platform: 'APNS',
|
50
|
+
platform_name: 'your_awesome_ios_app',
|
51
|
+
platform_apns_private_key_path: 'path/to/cert.p12',
|
52
|
+
)
|
53
|
+
|
54
|
+
# TODO: Possibly send this ARN to someone important who needs to configure stuff
|
55
|
+
puts "ARN: #{ios_arn}"
|
56
|
+
```
|
24
57
|
|
25
58
|
## Run tests for this plugin
|
26
59
|
|
@@ -50,3 +83,10 @@ For more information about how the `fastlane` plugin system works, check out the
|
|
50
83
|
## About `fastlane`
|
51
84
|
|
52
85
|
`fastlane` is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
86
|
+
|
87
|
+
## Author
|
88
|
+
|
89
|
+
Josh Holtz, josh@rokkincat.com, [@joshdholtz](https://twitter.com/joshdholtz)
|
90
|
+
|
91
|
+
I'm available for freelance work (Fastlane, iOS, and Android development) :muscle:
|
92
|
+
Feel free to contact me :rocket:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-aws_sns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Holtz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.5.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Creates AWS SNS platform applications
|