File tree 6 files changed +842
-3
lines changed
identity/credentialmanager
java/com/example/identity/credentialmanager
6 files changed +842
-3
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ dependencies {
48
48
implementation(libs.androidx.compose.ui.graphics)
49
49
implementation(libs.androidx.compose.ui.tooling.preview)
50
50
implementation(libs.androidx.compose.material3)
51
+
52
+ // [START android_identity_credman_dependency]
53
+ implementation(libs.androidx.credentials)
54
+ // [END android_identity_credman_dependency]
55
+
51
56
// [START android_identity_gradle_dependencies]
52
57
implementation(libs.androidx.credentials)
53
58
@@ -62,4 +67,4 @@ dependencies {
62
67
// [END android_identity_siwg_gradle_dependencies]
63
68
debugImplementation(libs.androidx.compose.ui.tooling)
64
69
debugImplementation(libs.androidx.compose.ui.test.manifest)
65
- }
70
+ }
Original file line number Diff line number Diff line change 15
15
~ limitations under the License.
16
16
-->
17
17
18
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
18
+ <manifest xmlns : tools =" http://schemas.android.com/tools"
19
+ xmlns : android =" http://schemas.android.com/apk/res/android" >
19
20
20
21
<application
21
22
android : allowBackup =" true"
38
39
<!-- // [START android_identity_assetlinks_manifest] -->
39
40
<meta-data android : name =" asset_statements" android : resource =" @string/asset_statements" />
40
41
<!-- // [END android_identity_assetlinks_manifest] -->
42
+
43
+ <!-- // [START android_identity_credential_provider_service_manifest] -->
44
+ <service android : name =" .MyCredentialProviderService"
45
+ android : enabled =" true"
46
+ android : exported =" true"
47
+ android : label =" My Credential Provider"
48
+ android : icon =" <any drawable icon>"
49
+ android : permission =" android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE"
50
+ tools : targetApi =" upside_down_cake" >
51
+ <intent-filter >
52
+ <action android : name =" android.service.credentials.CredentialProviderService" />
53
+ </intent-filter >
54
+ <meta-data
55
+ android : name =" android.credentials.provider"
56
+ android : resource =" @xml/provider" />
57
+ </service >
58
+ <!-- // [END android_identity_credential_provider_service_manifest] -->
59
+
41
60
</application >
42
61
43
- </manifest >
62
+ </manifest >
You can’t perform that action at this time.
0 commit comments