Skip to content

Releases: icerockdev/fcm-push-service

release/2.1.2: Added firebase messaging service late init for test supports

31 May 10:03
4d2211e
Compare
Choose a tag to compare
added firebase messaging service late init for test supports (#17)

release/2.1.1: Added error message to extended send push result

22 May 06:42
288f5ea
Compare
Choose a tag to compare
added error message to extended send push result (#16)

release/2.1.0: Added extended information in PushResult class

20 May 07:38
cc1b815
Compare
Choose a tag to compare

release/2.0.0: Migrate from legacy FCM API

08 Feb 10:51
c068d35
Compare
Choose a tag to compare

Now you need to use service account credentials instead api key.

To generate a private key file for your service account:

  1. In the Firebase console, open Settings > Service Accounts.

  2. Click Generate New Private Key, then confirm by clicking Generate Key.

  3. Securely store the JSON file containing the key.

Migration guide:
Before:

PushService(
        coroutineScope = fcmScope,
        config = FCMConfig(
            serverKey = appConf.getString("fcm.serverKey")
        ),
        pushRepository = object : IPushRepository {
            override fun deleteByTokenList(tokenList: List<String>): Int {
                // remove wrong tokens here
                return 0
            }
        }
    )

After:
NOTE: in "fcm.googleServiceAccountJson" use content of saved JSON file as string

    PushService(
        coroutineScope = fcmScope,
        config = FCMConfig(
            googleServiceAccountJson = appConf.getString("fcm.googleServiceAccountJson")
        ),
        pushRepository = object : IPushRepository {
            override fun deleteByTokenList(tokenList: List<String>): Int {
                // remove wrong tokens here
                return 0
            }
        }
    )

release/1.0.0: Upgraded ktor version to 2.2.2

25 Jan 08:46
9af7ab2
Compare
Choose a tag to compare

release/0.3.0: Updated notification properties

23 Sep 06:41
eaea6e4
Compare
Choose a tag to compare

NOTE: The "image" property has been removed from the notification as it is not supported by the API being used.

release/0.2.0: Removed jcenter and bintray, updated dependencies

06 May 10:01
584a840
Compare
Choose a tag to compare

Removed jcenter and bintray, updated dependencies

release/0.1.1: Publish to Maven Central Repository

26 Mar 09:12
1a5fe56
Compare
Choose a tag to compare
Merge pull request #4 from icerockdev/maven-central-publish

Publish to Maven Central

release/0.1.0: Upgrade Kotlin, Ktor, Gradle

05 Mar 08:58
96b44d8
Compare
Choose a tag to compare
Merge pull request #3 from icerockdev/upgrade-kotlin-ktor-gradle

kotlin 1.4.31, ktor 1.5.2, gradle 6.8.3, java 1.8 -> 11

release/0.0.2: Support of sending push by 1k tokens chunk

06 May 04:20
bd9f98d
Compare
Choose a tag to compare
Merge pull request #2 from icerockdev/task/WD-361

WD-361 Update github workflows