mirror of https://github.com/status-im/go-waku.git
fix: padding data type and build instructions for kotlin
This commit is contained in:
parent
fb0dfbe0b8
commit
898d7204c2
|
@ -20,7 +20,7 @@ export ANDROID_HOME=/path/to/android/sdk/
|
|||
make mobile-android
|
||||
|
||||
# Copy the jar into `libs/` folder
|
||||
cp ./build/lib/gowaku.jar ./examples/android-kotlin/app/libs/.
|
||||
cp ./build/lib/gowaku.aar ./examples/android-kotlin/app/libs/.
|
||||
```
|
||||
|
||||
Open the project in Android Studio and run the example app.
|
||||
|
|
|
@ -8,5 +8,5 @@ data class DecodedPayload(
|
|||
val pubkey: String?,
|
||||
val signature: String?,
|
||||
@Serializable(with = ByteArrayBase64Serializer::class) val data: ByteArray,
|
||||
val padding: String?
|
||||
@Serializable(with = ByteArrayBase64Serializer::class) val padding: ByteArray,
|
||||
)
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace Waku
|
|||
public string? pubkey { get; set; }
|
||||
public string? signature { get; set; }
|
||||
public byte[] data { get; set; } = new byte[0];
|
||||
public string? padding { get; set; }
|
||||
public byte[] padding { get; set; } = new byte[0];
|
||||
}
|
||||
|
||||
public class Peer
|
||||
|
|
Loading…
Reference in New Issue