Skip to content

Commit

Permalink
Merge pull request #1064 from tonwhales/release/v2.3.14
Browse files Browse the repository at this point in the history
Release/v2.3.14
  • Loading branch information
vzhovnitsky authored Sep 20, 2024
2 parents 726b20c + bf2ca2e commit 35d2073
Show file tree
Hide file tree
Showing 102 changed files with 3,721 additions and 1,000 deletions.
2 changes: 1 addition & 1 deletion VERSION_CODE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
207
208
2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ dependencies {
implementation 'com.google.firebase:firebase-installations:17.0.0'
implementation 'com.google.firebase:firebase-iid:21.1.0'
implementation 'androidx.work:work-runtime-ktx:2.7.0'
implementation 'com.google.android.gms:play-services-tapandpay:+'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
}

apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle");
Expand Down
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.NFC"/>

<!-- Bluetooth permissions for SDK API 30+ -->
<uses-permission
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.tonhub.wallet.modules.store.KeyStorePackage;

import com.shopify.reactnativeperformance.ReactNativePerformance;
import com.tonhub.wallet.modules.wallet.WalletPackage;

public class MainApplication extends Application implements ReactApplication {
private final ReactNativeHost mReactNativeHost = new ReactNativeHostWrapper(
Expand All @@ -44,6 +45,7 @@ protected List<ReactPackage> getPackages() {
packages.add(new KeyStorePackage());
packages.add(new NavigationBarColorPackage());
packages.add(new AppearancePackage());
packages.add(new WalletPackage());
return packages;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.tonhub.wallet.modules.wallet;

import java.util.concurrent.CompletableFuture;

public class OPCRequest {
String cardId;
String token;
String walletId;
String stableHardwareId;
Boolean isTestnet;
CompletableFuture<String> future;

public OPCRequest(String cardId, String token, String walletId, String stableHardwareId, Boolean isTestnet, CompletableFuture<String> future) {
this.cardId = cardId;
this.token = token;
this.walletId = walletId;
this.stableHardwareId = stableHardwareId;
this.isTestnet = isTestnet;
this.future = future;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.tonhub.wallet.modules.wallet;

import java.util.concurrent.CompletableFuture;

public class ProvisionRequest {
public boolean isTestnet;
public String token;
public String cardId;
public CompletableFuture<Boolean> completableFuture;
public String displayName;
public String lastDigits;

public ProvisionRequest(boolean isTestnet, String token, String cardId, String displayName, String lastDigits, CompletableFuture<Boolean> completableFuture) {
this.isTestnet = isTestnet;
this.token = token;
this.displayName = displayName;
this.lastDigits = lastDigits;
this.cardId = cardId;
this.completableFuture = completableFuture;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.tonhub.wallet.modules.wallet;

public class TokenStatus {
int status;
String issuerToken;

public TokenStatus(int status, String issuerToken) {
this.status = status;
this.issuerToken = issuerToken;
}
}
Loading

0 comments on commit 35d2073

Please sign in to comment.