Skip to content

Commit

Permalink
fix: Upgrade awaladroid to v1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Mar 17, 2021
1 parent c9d2218 commit f6b0e36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies {
kapt 'com.google.dagger:dagger-compiler:2.33'

// Awala
implementation 'tech.relaycorp:awaladroid:1.5.1'
implementation 'tech.relaycorp:awaladroid:1.5.4'

// Preferences
implementation 'androidx.preference:preference-ktx:1.1.1'
Expand Down
5 changes: 1 addition & 4 deletions app/src/main/java/tech/relaycorp/ping/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import tech.relaycorp.awaladroid.endpoint.FirstPartyEndpoint
import tech.relaycorp.awaladroid.endpoint.PublicThirdPartyEndpoint
import tech.relaycorp.awaladroid.messaging.ParcelId
import tech.relaycorp.awaladroid.messaging.OutgoingMessage
import tech.relaycorp.relaynet.wrappers.x509.Certificate
import java.time.ZonedDateTime
import java.util.*
import javax.inject.Inject
Expand Down Expand Up @@ -44,9 +43,7 @@ class MainActivity : AppCompatActivity() {
sender = FirstPartyEndpoint.register()
recipient = PublicThirdPartyEndpoint.import(
"ping.awala.services",
Certificate.deserialize(
resources.openRawResource(R.raw.identity).use { it.readBytes() }
)
resources.openRawResource(R.raw.identity).use { it.readBytes() }
)
}
send.isEnabled = true
Expand Down

0 comments on commit f6b0e36

Please sign in to comment.