configuration file

Can someone give me an example of an app.json for google sign-in standalone app

Hey @ispcloudservices,

What do you have in your app.json so far? Always helps to see code.


Adam should have all of the information you need – are there any specific steps you are stuck on?


I have this

  "expo": {
    "name": "toogleboard",
    "description": "This project is really great.",
    "slug": "toogleboard",
    "privacy": "public",
    "sdkVersion": "27.0.0",
    "platforms": ["ios", "android"],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/ToogleBoard.png",
    "splash": {
      "image": "./assets/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#ffffff"
    "updates": {
      "fallbackToCacheTimeout": 0
    "assetBundlePatterns": [
    "android": {
      "package": "",
      "config": {
        "googleSignIn": {
          "apiKey": "xxx,
          "certificateHash": ""
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "",
      "config": {
        "googleSignIn": "xxxx",
        "reservedClientId": "com.googleusercontent.apps.636568644185abn37uqk3vdg5rr5a0ebop0sm5g924m"

and I get this error

Field: ios.config - should NOT have additional property ‘reservedClientId’.
[07:32:18] • Field: ios.config.googleSignIn - should be object.

Retreiving Android keystore for @ispcloudservices/toogleboard
[09:10:52] Writing keystore to C:\Users\ed\Documents\Dev\ToogleBoard\toogleboard.tmp.jks…
[09:10:52] Are you sure you have keytool installed?
[09:10:52] keytool is part of openJDK:
[09:10:52] Also make sure that keytool is in your PATH after installation.
[09:10:52] ‘keytool’ is not recognized as an internal or external command,
operable program or batch file.

[09:10:52] spawn keytool ENOENT
[09:10:52] Set EXPO_DEBUG=true in your env to view the stack trace.

@ispcloudservices The error tells you exactly what is wrong, buddy. reservedClientId does not belong under the config key, but under the googleSignIn key.

The docs ( tell you where it belongs: ios.config.googleSignIn.reservedClientId

You have the placement right with Android though!

so it should be like this?

what about how to generate the certificateHash, I am following the documentation and get this

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.