Skip to content

Commit

Permalink
Merge branch 'np/smart-contract-sdk-support' of https://github.com/xm…
Browse files Browse the repository at this point in the history
…tp/xmtp-react-native into np/smart-contract-wallets
  • Loading branch information
nplasterer committed Oct 3, 2024
2 parents 9edaacc + 9249818 commit 7b7f117
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ dependencies {
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'com.facebook.react:react-native:0.71.3'
implementation "com.daveanthonythomas.moshipack:moshipack:1.0.1"
// xmtp-android local testing setup below (comment org.xmtp:android above)
implementation files('<PATH>/xmtp-android/library/build/outputs/aar/library-debug.aar')
// xmtp-android local testing setup below (comment org.xmtp:android above)
implementation files('<PATH_TO_LIBRARY>/xmtp-android/library/build/outputs/aar/library-debug.aar')
implementation 'com.google.crypto.tink:tink-android:1.8.0'
implementation 'io.grpc:grpc-kotlin-stub:1.4.1'
implementation 'io.grpc:grpc-kotlin-stub:1.4.1'
implementation 'io.grpc:grpc-okhttp:1.62.2'
implementation 'io.grpc:grpc-protobuf-lite:1.62.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ReactNativeSigner(
override var address: String,
override var isSmartContractWallet: Boolean = false,
override var chainId: Long = 1,
override var blockNumber: Long = 1,
override var blockNumber: Long? = null,
) : SigningKey {
private val continuations: MutableMap<String, Continuation<Signature>> = mutableMapOf()

Expand Down Expand Up @@ -407,7 +407,7 @@ class XMTPModule : Module() {
address = address,
isSmartContractWallet = authOptions.isSmartContractWallet,
chainId = authOptions.chainId,
blockNumber = authOptions.blockNumber ?: 1
blockNumber = authOptions.blockNumber
)
signer = reactSigner
val options = clientOptions(
Expand Down

0 comments on commit 7b7f117

Please sign in to comment.