Skip to content

Commit

Permalink
don't early exit
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick committed Mar 13, 2024
1 parent 05c62ed commit 6d56efc
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions sdk/src/main/java/io/radar/sdk/RadarVerificationManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ internal class RadarVerificationManager(

}

if (googlePlayProjectNumber == null) {
Radar.logger.e("Error fetching Google Play project number")

Radar.handler.post {
callback?.onComplete(Radar.RadarStatus.ERROR_SERVER)
}

return
}

Radar.locationManager.getLocation(
RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy.MEDIUM,
Radar.RadarLocationSource.FOREGROUND_LOCATION,
Expand Down Expand Up @@ -220,16 +210,6 @@ internal class RadarVerificationManager(

}

if (googlePlayProjectNumber == null) {
Radar.logger.e("Error fetching Google Play project number")

Radar.handler.post {
callback?.onComplete(Radar.RadarStatus.ERROR_SERVER)
}

return
}

Radar.locationManager.getLocation(
RadarTrackingOptions.RadarTrackingOptionsDesiredAccuracy.HIGH,
Radar.RadarLocationSource.FOREGROUND_LOCATION,
Expand Down

0 comments on commit 6d56efc

Please sign in to comment.