[SDK v27] [FCM] Cannot open app after setting android.googleServicesFile

Cannot open app in local simulator or Expo client app after setting up FCM. Key has been uploaded to expo.

Reproduce steps:

I . (Assume app already opened)

  1. Add "googleServicesFile": "./google-services.json" in app.json -> android
    1.1. Restart project
  2. In XDE, press Device → Open in iOS simulator
    2.1. No response
  3. Reload in iOS simulator
    3.1. Following error

II. (Assume everything closed)

  1. Open project
  2. In XDE, press Device → Open in iOS simulator
  3. Following:

Works perfect once removed android.googleServicesFile in app.json.

Version: SDK v27.0.0

Hi @carsonwah - this is an issue with XDE. An update that fixes this bug will be going out soon, but in the meantime, can you try one of the workarounds listed here? https://github.com/expo/expo/issues/1636#issuecomment-384739229

@esamelson Yes! Changing it to absolute path fixes the problem! Thank you.

1 Like

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