You can solve this error just by adding one line to your build.gradle (inside android/app/ directory)
implementation 'com.google.android.gms:play-services-safetynet:+'