Android push notifications -`googleServicesFile` relative path might be breaking stuff
See original GitHub issueAs discussed in the issue #1330 - there are issues with the push notifications.
Tried the “solution” provided after my last comment, and in the meantime the issue was closed.
Anyhow,
Doin as the guide suggests works fine, android stand alone now gets push notifications (expo app not so much, so still and issue with development) https://docs.expo.io/versions/latest/guides/using-fcm
Now, when you try to build the project from Expo XDE, we now get a new error
11:03:49 Building JavaScript bundle: finished in 9442ms.
11:03:58 Failed to publish package: ENOENT: no such file or directory, open './google-services.json'
The file google-services.json
is in the root directory of the project (side by side with app.json
).
CLI tools was installed today. XDE updated to latest version a few days ago (yesterday?)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Manage your Google News notifications - Android
View your notifications. On your mobile device, open the Google News app . At the top right, tap your Profile picture or initial....
Read more >Expo android app, PushNotifications doesn't work in ...
I was able to fix expo push notifications in my project. ... googleServicesFile field with the relative path to the google-services.json ...
Read more >Android Companion 2022.2: Local Push Notifications!
These notifications do not count towards the rate limit and are shown on the device immediately, every time. So what's the breaking change?...
Read more >Tutorial: Push Notifications on desktop and mobile devices
The features supported in Push Notifications will vary depending on ... insert the relative path to the google-services.json file under the Android exporter ......
Read more >Android Notifications Not Showing Up? 10 Fixes You Can Try
The majority of Android apps offer their own set of customizable notification options to modify how often such apps can push alerts, which...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi all – sorry for the delay here. We’ve landed a fix for this bug and it will ship with a new version of XDE soon. In the meantime, you’ll need to use one of the workarounds provided here (use an absolute rather than relative path, drop the
google-services.json
file into the XDE working directory, or just useexp
instead). Really sorry for the inconvenience!Seems like using the full path instead of relative works from Expo IDE. Not good for source control tough - but for a single developer, sorta OK.
app.json: