Skip to content

Commit

Permalink
SNAPSHOT version awaiting new Tiqr requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Aug 12, 2024
1 parent d368bc0 commit b525715
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>org.openconext</groupId>
<artifactId>tiqr-java-connector</artifactId>
<version>1.1.3</version>
<version>1.1.4-SNAPSHOT</version>
<name>tiqr-java-connector</name>

<dependencies>
Expand Down Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>com.eatthepath</groupId>
<artifactId>pushy</artifactId>
<version>0.15.1</version>
<version>0.15.4</version>
</dependency>
<dependency>
<groupId>com.google.firebase</groupId>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/tiqr/org/push/APNS.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public String push(Registration registration, String authorizationUrl) throws Pu

ApnsPayloadBuilder payloadBuilder = new SimpleApnsPayloadBuilder();
payloadBuilder.setAlertBody("Please log in");
payloadBuilder.setMutableContent(true);
payloadBuilder.addCustomProperty("challenge", authorizationUrl);
payloadBuilder.addCustomProperty("authenticationTimeout", 30L);

String payload = payloadBuilder.build();
SimpleApnsPushNotification pushNotification = new SimpleApnsPushNotification(notificationAddress, this.topic, payload);
Expand Down

0 comments on commit b525715

Please sign in to comment.