Skip to content

Commit 47861cf

Browse files
committed
Merge branch 'develop' into 'master'
Develop See merge request papers/airgap/beacon-android-sdk!72
2 parents 6d94c80 + 314dd90 commit 47861cf

File tree

16 files changed

+340
-136
lines changed

16 files changed

+340
-136
lines changed

.github/ISSUE_TEMPLATE/BUG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve the SDK.
4+
labels: bug
5+
---
6+
7+
<!--
8+
This template will help you write a detailed bug report that includes the information we would ask you for anyway.
9+
Please, use it to fill out the issue, if you don't, the issue will be closed immediately.
10+
-->
11+
12+
### Bug Report
13+
14+
- [ ] I'm using the latest version of the SDK. <!-- If not, you should update and check if the issue persists before continuing here. -->
15+
- [ ] I've seen [the docs](https://docs.walletbeacon.io) and [the demo code](https://github.com/airgap-it/beacon-android-sdk/tree/master/demo). <!-- Not a must, but consider checking them if you haven't already. -->
16+
- [ ] I'm using the SDK directly (not via a 3rd party library or application).
17+
<!-- You may ignore the following checks, if you ticked the above. -->
18+
- [ ] I've been able to confirm that the issue comes from this SDK, not the 3rd party software on top. <!-- If not, you should consider contacting the other developer first. -->
19+
20+
#### Current Behavior
21+
22+
<!-- Explain in a clear and concise way what happens now. -->
23+
24+
#### Expected Behavior
25+
26+
<!-- Explain in a clear and concise way what you expected to happen instead. -->
27+
28+
#### How to Reproduce?
29+
30+
<!--
31+
Please, describe what steps should be taken in order to reproduce the issue.
32+
33+
If it's possible, consider providing a minimal reproducible example (MRE)
34+
(with instructions on how to run it and how to reproduce the issue there).
35+
36+
When adding code directly into this issue, make sure it's only a small and clear snippet.
37+
If the code is more complex, see the MRE part :)
38+
-->
39+
40+
#### Environment
41+
42+
- Device: **PLACEHOLDER** <!-- e.g. Samsung Galaxy S20 or a simulator -->
43+
- OS version: **PLACEHOLDER** <!-- e.g. Android 12 (API 32) -->
44+
45+
#### Additional Context
46+
47+
<!-- You can put here any additional data that you think may be helpful to explain your problem, e.g. logs or screenshots. -->

.github/ISSUE_TEMPLATE/FEATURE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project.
4+
labels: enhancement
5+
---
6+
7+
<!--
8+
This template will help you write a detailed feature request that includes the information we would ask you for anyway.
9+
Please, use it to fill out the issue, if you don't, the issue will be closed immediately.
10+
-->
11+
12+
### Feature Request
13+
14+
- [ ] I'm using the latest version of the SDK. <!-- If not, consider updating and checking if the SDK still lacks the feature. Just in case :) -->
15+
16+
#### Summary
17+
18+
<!-- Write a short description of the new feature. -->
19+
20+
#### Expected Behaviour
21+
22+
<!-- Explain in a clear and concise way how you expect this feature to behave. -->
23+
24+
#### Use Case
25+
26+
<!-- Explain in a clear and concise way what is the use case of the feature. -->
27+
28+
#### Additional Context
29+
30+
<!-- You can put here any additional data that you think may be helpful to explain the feature you request for. -->

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ buildscript {
55
mavenCentral()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.2.1'
8+
classpath 'com.android.tools.build:gradle:7.3.1'
99
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Version.kotlin}"
1010
classpath "org.jetbrains.kotlin:kotlin-serialization:${Version.kotlin}"
11-
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.10"
11+
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.6.21"
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

buildSrc/src/main/java/GradleConfig.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
object Android {
2-
const val compileSdk = 32
2+
const val compileSdk = 33
33
const val minSdk = 21
4-
const val targetSdk = 32
4+
const val targetSdk = 33
55

6-
const val versionCode = 27
7-
const val versionName = "3.2.2"
6+
const val versionCode = 31
7+
const val versionName = "3.2.3"
88
}
99

1010
object Version {
11-
const val kotlin = "1.5.30"
11+
const val kotlin = "1.7.20"
1212

1313
const val kotlinSerialization = "1.3.1"
1414

core/src/main/java/it/airgap/beaconsdk/core/internal/migration/v3_2_0/SerializersFromV3_2_0.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private data class PeerSurrogate(
4646
val isPaired: Boolean = false,
4747
) {
4848
fun toTarget(): Peer = when (type) {
49-
Type.P2P -> P2pPeer(id, name, publicKey, relayServer, version, icon, appUrl)
49+
Type.P2P -> P2pPeer(id, name, publicKey, relayServer, version, icon, appUrl, isPaired)
5050
}
5151

5252
@Serializable

0 commit comments

Comments
 (0)