mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-18 22:44:22 +01:00
Build Kotlin bindgen with gobley
This commit is contained in:
3
packages/react-native/example/App.js
vendored
3
packages/react-native/example/App.js
vendored
@@ -24,7 +24,6 @@ import {
|
||||
PaymentMethod
|
||||
} from "@breeztech/react-native-breez-sdk-liquid"
|
||||
import BuildConfig from "react-native-build-config"
|
||||
import { generateMnemonic } from "@dreson4/react-native-quick-bip39"
|
||||
import { getSecureItem, setSecureItem } from "./utils/storage"
|
||||
|
||||
const MNEMONIC_STORE = "MNEMONIC_SECURE_STORE"
|
||||
@@ -62,7 +61,7 @@ const App = () => {
|
||||
let mnemonic = await getSecureItem(MNEMONIC_STORE)
|
||||
|
||||
if (mnemonic == null) {
|
||||
mnemonic = generateMnemonic(256)
|
||||
mnemonic = "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about"
|
||||
setSecureItem(MNEMONIC_STORE, mnemonic)
|
||||
}
|
||||
|
||||
|
||||
@@ -284,7 +284,6 @@ dependencies {
|
||||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.3.2'
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:${rootProject.ext.kotlin_version}"
|
||||
|
||||
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
|
||||
exclude group:'com.facebook.fbjni'
|
||||
|
||||
@@ -4,9 +4,9 @@ buildscript {
|
||||
ext {
|
||||
buildToolsVersion = "33.0.0"
|
||||
minSdkVersion = 24
|
||||
compileSdkVersion = 34
|
||||
targetSdkVersion = 34
|
||||
kotlin_version = "1.8.0"
|
||||
compileSdkVersion = 33
|
||||
targetSdkVersion = 33
|
||||
kotlin_version = "1.8.20"
|
||||
|
||||
ndkVersion = "25.1.8937393"
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||
android.useAndroidX=true
|
||||
# Automatically convert third-party libraries to use AndroidX
|
||||
android.enableJetifier=true
|
||||
android.enableJetifier=false
|
||||
|
||||
# Version of flipper SDK to use with React Native
|
||||
FLIPPER_VERSION=0.125.0
|
||||
|
||||
@@ -5,7 +5,6 @@ module.exports = {
|
||||
"module-resolver",
|
||||
{
|
||||
alias: {
|
||||
crypto: "react-native-quick-crypto",
|
||||
stream: "stream-browserify",
|
||||
buffer: "@craftzdog/react-native-buffer"
|
||||
}
|
||||
|
||||
@@ -964,10 +964,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
|
||||
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
|
||||
|
||||
"@breeztech/react-native-breez-sdk-liquid@0.7.0-rc4":
|
||||
version "0.7.0-rc4"
|
||||
resolved "https://registry.yarnpkg.com/@breeztech/react-native-breez-sdk-liquid/-/react-native-breez-sdk-liquid-0.7.0-rc4.tgz#4a7304741a2fbaf81f6da14d597b89cea5e099d7"
|
||||
integrity sha512-m/1HwAca9PhhM7f/Vg7CAaDzR+fBkV3R5nHk4AS6vlTMjD4NJd/5hDsQNaJG9nrubZT5flN8EcqimUq2A6SQtA==
|
||||
"@breeztech/react-native-breez-sdk-liquid@0.8.3":
|
||||
version "0.8.3"
|
||||
resolved "https://registry.yarnpkg.com/@breeztech/react-native-breez-sdk-liquid/-/react-native-breez-sdk-liquid-0.8.3.tgz#c9303dd853b5410b06b9af0c3f77a57784677197"
|
||||
integrity sha512-ItWZ42uEpv0o0e4l4Ty1k/79ewjr/JrtraV6U9CrJ4awCvcmXQCy7L/01q8/aN1EoKQD91lUt6iQ1gMv5NJj/A==
|
||||
|
||||
"@cnakazawa/watch@^1.0.3":
|
||||
version "1.0.4"
|
||||
|
||||
Reference in New Issue
Block a user