Skip to content

Commit

Permalink
Arreglado fichero creds a build en vez de debug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlaizg committed Jun 4, 2019
1 parent 58cfadd commit 76dd68d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
applicationId 'com.martinlaizg.geofind'
minSdkVersion 24
targetSdkVersion 28
versionCode 4
versionCode 5
versionName 'v0.2-SNAPSHOT'
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,

// Google SignIn Button
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(
GoogleSignInOptions.DEFAULT_SIGN_IN).requestIdToken(
"331962910469-04d5uls1tfaoa4rrg3n2uvb79fua3n79.apps.googleusercontent.com")
GoogleSignInOptions.DEFAULT_SIGN_IN).requestIdToken(getString(R.string.client_id))
.requestEmail().build();
mGoogleSignInClient = GoogleSignIn.getClient(requireActivity(), gso);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="client_id" templateMergeStrategy="preserve" translatable="false">
331962910469-ggc0anhnvfithg9jnb1latptgph0jk07.apps.googleusercontent.com</string>
331962910469-04d5uls1tfaoa4rrg3n2uvb79fua3n79.apps.googleusercontent.com</string>

<string name="google_maps_key" templateMergeStrategy="preserve" translatable="false">
AIzaSyD80UdWu68a7m0UznJhmBytCrfS5Z-MDYo</string>
Expand Down

0 comments on commit 76dd68d

Please sign in to comment.