mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 22:58:20 -05:00
* Improve demo app safe area handling * refactor: centralize mobile demo screen navigation * update lock * update podfile lock * fix pipelines * fix tests * save wip polish * polish app * simplify and standardize screens * small fixes * fix tests * Use SDK SelfClientProvider in demo (#1162) * fix types * Fix mobile SDK demo Jest mock * force react-native-svg to 15.12.1 * fix tests * add types script * fix document list * fix types and metro config * add ignore files to speed up watchman and eslint * save wip tweaks * save mock doc screen wip * use persistant document store * save polish work in progress * add polish to screens * save wip secure storage * allow cursor to examine react configs * convert tests to vitest and fix * fix tests * prettier * cr feedback * fix tests and remove skipped
56 lines
1.5 KiB
Groovy
56 lines
1.5 KiB
Groovy
apply plugin: "com.android.application"
|
|
apply plugin: "com.facebook.react"
|
|
apply plugin: "org.jetbrains.kotlin.android"
|
|
|
|
react {
|
|
root = file("../../")
|
|
reactNativeDir = file("../../../../node_modules/react-native")
|
|
codegenDir = file("../../../../node_modules/@react-native/codegen")
|
|
cliFile = file("../../../../node_modules/react-native/cli.js")
|
|
autolinkLibrariesWithApp()
|
|
}
|
|
|
|
android {
|
|
namespace "com.selfxyz.demoapp"
|
|
ndkVersion rootProject.ext.ndkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
applicationId "com.selfxyz.demoapp"
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
signingConfigs {
|
|
debug {
|
|
storeFile file('debug.keystore')
|
|
storePassword 'android'
|
|
keyAlias 'androiddebugkey'
|
|
keyPassword 'android'
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.debug
|
|
}
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig true
|
|
}
|
|
}
|
|
|
|
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")
|
|
|
|
dependencies {
|
|
implementation("com.facebook.react:react-android:0.76.9")
|
|
implementation("com.facebook.react:hermes-android:0.76.9")
|
|
if (project.hasProperty('newArchEnabled') ? newArchEnabled.toBoolean() : false) {
|
|
implementation("com.facebook.react:react-android-codegen:0.76.9")
|
|
}
|
|
}
|