Skip to content

Commit da00274

Browse files
authored
fix: remove references to secure env (#85)
Signed-off-by: Timo Glastra <[email protected]>
1 parent f0ae878 commit da00274

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.changeset/flat-beds-crash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openwallet-foundation/askar-react-native": patch
3+
---
4+
5+
fix: remove references to native secure env library. This was removed in the latest Askar release

packages/askar-react-native/android/src/main/java/foundation/openwallet/askar/AskarModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import com.facebook.react.bridge.ReactContextBaseJavaModule;
1010
import com.facebook.react.bridge.ReactMethod;
1111
import com.facebook.react.turbomodule.core.CallInvokerHolderImpl;
12-
import id.animo.SecureEnvironment;
1312

1413
@Keep
1514
@DoNotStrip
@@ -37,7 +36,6 @@ public String getName() {
3736
@ReactMethod(isBlockingSynchronousMethod = true)
3837
public boolean install() {
3938
try {
40-
SecureEnvironment.set_env();
4139
ReactContext context = getReactApplicationContext();
4240
long jsContextPointer = context.getJavaScriptContextHolder().get();
4341
CallInvokerHolderImpl holder = (CallInvokerHolderImpl) context.getCatalystInstance().getJSCallInvokerHolder();

packages/askar-react-native/android/src/main/java/id/animo/SecureEnvironment.java

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)