@algorandfoundation/react-native-passkey-autofill 1.0.0-canary.13 → 1.0.0-canary.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/android/build.gradle +8 -8
- package/android/libs/repo/co/algorand/dP256Android/1.0.0/dP256Android-1.0.0.pom +9 -0
- package/app.plugin.js +16 -8
- package/package.json +1 -1
- /package/android/libs/{dP256Android-release.aar → repo/co/algorand/dP256Android/1.0.0/dP256Android-1.0.0.aar} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [1.0.0-canary.15](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.14...v1.0.0-canary.15) (2026-04-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* use bouncycastle bcprov-jdk15to18 for android ([cd860b2](https://github.com/algorandfoundation/react-native-passkey-autofill/commit/cd860b2012f2189e854137afa55c7a0c0dc1b94c))
|
|
7
|
+
|
|
8
|
+
# [1.0.0-canary.14](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.13...v1.0.0-canary.14) (2026-04-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* switch to maven for local AAR dependency ([f4e52b4](https://github.com/algorandfoundation/react-native-passkey-autofill/commit/f4e52b46d618e6e8a7972e649c5d75d768e32339))
|
|
14
|
+
|
|
1
15
|
# [1.0.0-canary.13](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.12...v1.0.0-canary.13) (2026-04-10)
|
|
2
16
|
|
|
3
17
|
|
package/android/build.gradle
CHANGED
|
@@ -52,6 +52,12 @@ android {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
repositories {
|
|
56
|
+
maven {
|
|
57
|
+
url = uri("file://${projectDir}/libs/repo")
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
55
61
|
dependencies {
|
|
56
62
|
implementation "androidx.biometric:biometric-ktx:1.2.0-alpha05"
|
|
57
63
|
implementation "androidx.credentials:credentials:1.5.0-rc01"
|
|
@@ -61,9 +67,9 @@ dependencies {
|
|
|
61
67
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.4"
|
|
62
68
|
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.8.4"
|
|
63
69
|
implementation "io.github.zhongwuzw:mmkv:2.3.0"
|
|
64
|
-
implementation "org.bouncycastle:bcprov-
|
|
70
|
+
implementation "org.bouncycastle:bcprov-jdk15to18:1.78.1"
|
|
65
71
|
implementation "androidx.datastore:datastore-preferences:1.1.1"
|
|
66
|
-
implementation
|
|
72
|
+
implementation "co.algorand:dP256Android:1.0.0"
|
|
67
73
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
68
74
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0"
|
|
69
75
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0"
|
|
@@ -79,9 +85,3 @@ dependencies {
|
|
|
79
85
|
androidTestImplementation "androidx.test.ext:junit:1.1.5"
|
|
80
86
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
|
|
81
87
|
}
|
|
82
|
-
|
|
83
|
-
repositories {
|
|
84
|
-
flatDir {
|
|
85
|
-
dirs 'libs'
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
|
3
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
4
|
+
<modelVersion>4.0.0</modelVersion>
|
|
5
|
+
<groupId>co.algorand</groupId>
|
|
6
|
+
<artifactId>dP256Android</artifactId>
|
|
7
|
+
<version>1.0.0</version>
|
|
8
|
+
<packaging>aar</packaging>
|
|
9
|
+
</project>
|
package/app.plugin.js
CHANGED
|
@@ -206,19 +206,27 @@ const withPasskeyAutofill = (config, props = {}) => {
|
|
|
206
206
|
return config;
|
|
207
207
|
});
|
|
208
208
|
|
|
209
|
-
// 3. Add
|
|
209
|
+
// 3. Add local Maven repository for local AAR
|
|
210
210
|
config = withProjectBuildGradle(config, (config) => {
|
|
211
|
-
if (config.modResults.contents.includes("
|
|
211
|
+
if (config.modResults.contents.includes("android/libs/repo")) {
|
|
212
212
|
return config;
|
|
213
213
|
}
|
|
214
|
-
|
|
214
|
+
// Dynamically find the path to the library's android/libs/repo directory
|
|
215
|
+
const projectRoot = config.modRequest.projectRoot;
|
|
216
|
+
const libraryRepoPath = path.join(__dirname, "android/libs/repo");
|
|
217
|
+
const relativeRepoPath = path.relative(projectRoot, libraryRepoPath);
|
|
218
|
+
|
|
219
|
+
// In Gradle, rootDir is the android directory of the app.
|
|
220
|
+
// So the path to the repo relative to rootDir is ../<relativeRepoPath>
|
|
221
|
+
const repoInjectedCode = `allprojects {
|
|
222
|
+
repositories {
|
|
223
|
+
maven {
|
|
224
|
+
url = uri("\${rootDir}/../${relativeRepoPath}")
|
|
225
|
+
}`;
|
|
226
|
+
|
|
215
227
|
config.modResults.contents = config.modResults.contents.replace(
|
|
216
228
|
/allprojects\s*{[\s\n]*repositories\s*{/,
|
|
217
|
-
|
|
218
|
-
repositories {
|
|
219
|
-
flatDir {
|
|
220
|
-
dirs "$rootDir/${libsDir}"
|
|
221
|
-
}`,
|
|
229
|
+
repoInjectedCode,
|
|
222
230
|
);
|
|
223
231
|
return config;
|
|
224
232
|
});
|
package/package.json
CHANGED
|
File without changes
|