Skip to content

Commit

Permalink
Update version to 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilJay committed Jan 22, 2020
1 parent 1931e0f commit 8930d73
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ allprojects {
}
dependencies {
implementation 'com.github.PhilJay:APNJWT:1.0.1'
implementation 'com.github.PhilJay:APNJWT:1.0.2'
}
```

Expand All @@ -33,7 +33,7 @@ Or add the following to your **pom.xml**:
<dependency>
<groupId>com.github.PhilJay</groupId>
<artifactId>APNJWT</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
</dependency>
```

Expand Down Expand Up @@ -71,6 +71,11 @@ Create the token by providing your teamId, keyId and secret (private key excludi

```kotlin
val token = JWT.token("teamId", "keyId", "secret", mapper, encoder, decoder)

// or...
val header = JWTAuthHeader(...)
val payload = JWTAuthPayload(...)
val token = JWT.token(header, payload, "secret", mapper, encoder, decoder)
```

Include the token in the authentication header when you make yor push notification request to APNs:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'org.jetbrains.kotlin.jvm' version '1.3.60'
}

group 'com.philjay.apnjwt'
version '1.0.1'
version '1.0.2'

sourceCompatibility = 1.8

Expand Down

0 comments on commit 8930d73

Please sign in to comment.