# Codename One Push API Requires a Firebase JSON Key for Android Notifications

DevFeed: [Codename One Push API Requires a Firebase JSON Key for Android Notifications](<https://devfeed.tech/articles/android-push-changes-19193.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/android-push-changes/>)

Author: Steve Hannah

Published: 2024-06-08T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [push-notification](<https://devfeed.tech/topics/push-notification.md>), [API](<https://devfeed.tech/topics/api.md>), [Firebase](<https://devfeed.tech/topics/firebase.md>), [migration](<https://devfeed.tech/topics/migration.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [json](<https://devfeed.tech/tags/json.md>), [migration](<https://devfeed.tech/tags/migration.md>), [oauth2](<https://devfeed.tech/tags/oauth2.md>), [push-notification](<https://devfeed.tech/tags/push-notification.md>)

## AI overview

Codename One announces that its push notification server API now requires a URL to a Firebase service-account JSON key instead of an FCM API key for Android push notifications. The change follows Google's migration from legacy FCM APIs to the v1 HTTP API.

## Source excerpt

We have made some upgrades to our push notification server API. If you deploy apps to Android and use push notifications, you will need to make a small change to the server-side code that sends the HTTP request to our push server. If you do not send push notifications to Android devices, you can ignore this PSA. The Short Version Our Push API now requires a JSON key instead of the old FCM API key. For example, the following is a template for a push notification, (copied from the push cheatsheet).