courier-android

Kotlin library for creating long running connections using MQTT protocol

Stars
139
Committers
7

Bot releases are hidden (Show)

courier-android - 0.1.0

Published by anubhav7nov about 2 years ago

What's Changed

New Features

Note: Set shouldUseNewSSLFlow to true to enable these features

Breaking Change

  • Change how you create MqttConnectOptions

Before

 val connectOptions = MqttConnectOptions(
            serverUris = listOf(ServerUri(SERVER_URI, SERVER_PORT)),
            clientId = clientId,
            username = username,
            keepAlive = KeepAlive(
                timeSeconds = keepAliveSeconds
            ),
            isCleanSession = cleanSessionFlag,
            password = password
        )

After


 val connectOptions = MqttConnectOptions.Builder()
              .serverUris(listof(ServerUri(SERVER_URI, SERVER_PORT)))
              .clientId(clientId)
              .userName(username)
              .password(password)
              .keepAlive(KeepAlive(timeSeconds = keepAliveSeconds))
              .cleanSession(cleanSessionFlag)
              .build()
  • Removed socket factory from MqttV3Configuration. You should now set socketFactory and sslSocketFactory in MqttConnectOptions.

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.9...0.1.0

courier-android - 0.0.9

Published by deepanshu42 about 2 years ago

What's Changed

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.8...0.0.9

courier-android - 0.0.8

Published by deepanshu42 about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.7...0.0.8

courier-android - 0.0.7

Published by anubhav7nov about 2 years ago

What's Changed

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.6...0.0.7

courier-android - 0.0.6

Published by deepanshu42 over 2 years ago

What's Changed

Breaking Change

  • Replaced isPersistentSubscriptionStoreEnabled flag with SubscriptionStore. If you were passing the flag as false then you can start passing the subscriptionStore as IN_MEMORY now.

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.5...0.0.6

courier-android - 0.0.5

Published by deepanshu42 over 2 years ago

What's Changed

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.4...0.0.5

courier-android - 0.0.4

Published by anubhav7nov over 2 years ago

What's Changed

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.3...0.0.4

courier-android - 0.0.3

Published by deepanshu42 over 2 years ago

What's Changed

Full Changelog: https://github.com/gojek/courier-android/compare/0.0.2...0.0.3

courier-android - 0.0.2

Published by deepanshu42 over 2 years ago

  • Remove internal connect attempts on app state changes
  • Update github urls
  • Remove unused scripts
  • Add README
Package Rankings
Top 18.93% on Repo1.maven.org
Badges
Extracted from project README
Discord : Gojek Courier Maven Central