@algorandfoundation/react-native-passkey-autofill 1.0.0-canary.8 → 1.0.0-canary.9
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 +7 -0
- package/android/src/main/AndroidManifest.xml +8 -2
- package/android/src/main/java/co/algorand/passkeyautofill/CreatePasskeyActivity.kt +5 -0
- package/android/src/main/java/co/algorand/passkeyautofill/GetPasskeyActivity.kt +5 -0
- package/android/src/main/res/values/styles.xml +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.0.0-canary.9](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.8...v1.0.0-canary.9) (2026-03-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* x logins, refactor example views to be dialogs ([e7a1ccf](https://github.com/algorandfoundation/react-native-passkey-autofill/commit/e7a1ccf91f88b5c369ff3082f06d538fc8b3db89))
|
|
7
|
+
|
|
1
8
|
# [1.0.0-canary.8](https://github.com/algorandfoundation/react-native-passkey-autofill/compare/v1.0.0-canary.7...v1.0.0-canary.8) (2026-03-27)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -15,13 +15,19 @@
|
|
|
15
15
|
android:name="android.credentials.provider"
|
|
16
16
|
android:resource="@xml/provider" />
|
|
17
17
|
</service>
|
|
18
|
-
<activity android:name=".GetPasskeyActivity"
|
|
18
|
+
<activity android:name="co.algorand.passkeyautofill.GetPasskeyActivity"
|
|
19
|
+
android:exported="true"
|
|
20
|
+
android:launchMode="singleTop"
|
|
21
|
+
android:theme="@style/Theme.PasskeyAutofill.Dialog">
|
|
19
22
|
<intent-filter>
|
|
20
23
|
<action android:name="co.algorand.passkeyautofill.GET_PASSKEY"/>
|
|
21
24
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
22
25
|
</intent-filter>
|
|
23
26
|
</activity>
|
|
24
|
-
<activity android:name=".CreatePasskeyActivity"
|
|
27
|
+
<activity android:name="co.algorand.passkeyautofill.CreatePasskeyActivity"
|
|
28
|
+
android:exported="true"
|
|
29
|
+
android:launchMode="singleTop"
|
|
30
|
+
android:theme="@style/Theme.PasskeyAutofill.Dialog">
|
|
25
31
|
<intent-filter>
|
|
26
32
|
<action android:name="co.algorand.passkeyautofill.CREATE_PASSKEY"/>
|
|
27
33
|
<category android:name="android.intent.category.DEFAULT"/>
|
|
@@ -205,6 +205,11 @@ class CreatePasskeyActivity : AppCompatActivity() {
|
|
|
205
205
|
layout.addView(cancelButton)
|
|
206
206
|
|
|
207
207
|
setContentView(layout)
|
|
208
|
+
|
|
209
|
+
// Ensure the activity is focusable and can receive touches
|
|
210
|
+
layout.isFocusable = true
|
|
211
|
+
layout.isFocusableInTouchMode = true
|
|
212
|
+
layout.requestFocus()
|
|
208
213
|
}
|
|
209
214
|
|
|
210
215
|
@SuppressLint("RestrictedApi")
|
|
@@ -193,6 +193,11 @@ class GetPasskeyActivity : AppCompatActivity() {
|
|
|
193
193
|
layout.addView(cancelButton)
|
|
194
194
|
|
|
195
195
|
setContentView(layout)
|
|
196
|
+
|
|
197
|
+
// Ensure the activity is focusable and can receive touches
|
|
198
|
+
layout.isFocusable = true
|
|
199
|
+
layout.isFocusableInTouchMode = true
|
|
200
|
+
layout.requestFocus()
|
|
196
201
|
}
|
|
197
202
|
|
|
198
203
|
@SuppressLint("RestrictedApi")
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<resources>
|
|
2
|
+
<style name="Theme.PasskeyAutofill.Dialog" parent="Theme.AppCompat.Light.Dialog.MinWidth">
|
|
3
|
+
<item name="android:windowIsTranslucent">true</item>
|
|
4
|
+
<item name="android:windowBackground">@android:color/transparent</item>
|
|
5
|
+
<item name="android:windowContentOverlay">@null</item>
|
|
6
|
+
<item name="android:windowNoTitle">true</item>
|
|
7
|
+
<item name="android:windowIsFloating">true</item>
|
|
8
|
+
<item name="android:backgroundDimEnabled">true</item>
|
|
9
|
+
</style>
|
|
10
|
+
</resources>
|