File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/com/google/firebase/example/appcheck Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ dependencies {
35
35
36
36
implementation ' com.google.firebase:firebase-appcheck:16.1.0'
37
37
implementation ' com.google.firebase:firebase-appcheck-debug:16.1.0'
38
- implementation ' com.google.firebase:firebase-appcheck-safetynet :16.1.0'
38
+ implementation ' com.google.firebase:firebase-appcheck-playintegrity :16.1.0'
39
39
40
40
implementation ' com.squareup.retrofit2:retrofit:2.9.0'
41
41
Original file line number Diff line number Diff line change 7
7
import com .google .firebase .FirebaseApp ;
8
8
import com .google .firebase .appcheck .FirebaseAppCheck ;
9
9
import com .google .firebase .appcheck .debug .DebugAppCheckProviderFactory ;
10
- import com .google .firebase .appcheck .safetynet . SafetyNetAppCheckProviderFactory ;
10
+ import com .google .firebase .appcheck .playintegrity . PlayIntegrityAppCheckProviderFactory ;
11
11
12
12
public class MainActivity extends AppCompatActivity {
13
13
@@ -22,7 +22,7 @@ private void init() {
22
22
FirebaseApp .initializeApp (/*context=*/ this );
23
23
FirebaseAppCheck firebaseAppCheck = FirebaseAppCheck .getInstance ();
24
24
firebaseAppCheck .installAppCheckProviderFactory (
25
- SafetyNetAppCheckProviderFactory .getInstance ());
25
+ PlayIntegrityAppCheckProviderFactory .getInstance ());
26
26
// [END appcheck_initialize]
27
27
}
28
28
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import androidx.appcompat.app.AppCompatActivity
5
5
import com.google.firebase.FirebaseApp
6
6
import com.google.firebase.appcheck.FirebaseAppCheck
7
7
import com.google.firebase.appcheck.debug.DebugAppCheckProviderFactory
8
- import com.google.firebase.appcheck.safetynet.SafetyNetAppCheckProviderFactory
8
+ import com.google.firebase.appcheck.playintegrity.PlayIntegrityAppCheckProviderFactory
9
9
import com.google.firebase.example.appcheck.R
10
10
11
11
@@ -20,7 +20,7 @@ class MainActivity : AppCompatActivity() {
20
20
FirebaseApp .initializeApp(/* context=*/ this )
21
21
val firebaseAppCheck = FirebaseAppCheck .getInstance()
22
22
firebaseAppCheck.installAppCheckProviderFactory(
23
- SafetyNetAppCheckProviderFactory .getInstance()
23
+ PlayIntegrityAppCheckProviderFactory .getInstance()
24
24
)
25
25
// [END appcheck_initialize]
26
26
}
You can’t perform that action at this time.
0 commit comments