본문 바로가기

[Flutter, android] com.google.android.gms:play-services-safetynet:17.0.0 오류 관련

ironwhale 2023. 3. 18.

얼마 전에 새로운 앱을 구글 플레이 스토어에 배포하니 com.google.android.gms:play-services-safetynet:17.0.0 이런 오류 메세지가 떠서 여기 저기 구글을 검색해보며 무엇이 문제인지 알아보았습니다.

 

com.google.android.gms:play-services-safetynet:17.0.0

일단 해당 오류는 firebase auth 와 관련이 있는거 같아보였습니다. 


해당 이슈는 native firebase가 문제

스택 오버플로우를 열심히 검색해보니 파이어베이스로 인증을 구현한 것이 문제였습니다. 일단 firebase_auth의 깃허브의 이슈에서 해당 문제를 검색해보았습니다. 

 

답변 내용을 보니 native firebase sdk를 고쳐야 된다는 이야기가 나오네요. 바로 답변의 링크를 타고 가보았습니다. 

https://github.com/firebase/flutterfire/issues/10387

 

🐛 [firebase_auth] com.google.android.gms:play-services-safetynet:17.0.0 · Issue #10387 · firebase/flutterfire

Bug report Describe the bug Just submitted my app in PlayStore and received this: com.google.android.gms:play-services-safetynet:17.0.0 This SDK version has a note from the SDK developer. Here'...

github.com

 


파이어베이스 SDK 깃허브에 가서 언제 고쳐주는지 알아보았습니다.

가장 최근 정보를 보니 현재 업데이트를 열심히 하고 있는 답변이 있네요 데이라인 전에는 업데이트 버전이 출시 될것으로 예상 된다고 하네요

 

https://github.com/firebase/firebase-android-sdk/issues/3890

 

How can I handle this warning?(com.google.android.gms:play-services-safetynet:17.0.0) · Issue #3890 · firebase/firebase-androi

[READ] Step 1: Are you in the right place? [REQUIRED] Step 2: Describe your environment Android Studio version: 2021.2.1 Patch 1 Firebase Component: implementation platform("com.google.firebas...

github.com

 


결론은 현재는 해당 오류를 무시하고 업데이트가 될때까지 기다리는 수 밖에 없네요 

댓글