Skip to content

Releases: parley-messaging/android-library

3.7.0

19 Oct 07:02
a42fe80

Choose a tag to compare

IMPORTANT: Parley now targets Android 13 and requests notifications permission when needed.

Upgrading:

  • DEPRECATION (styling): In the style ParleyNotificationView, the attribute parley_icon has been renamed to parley_icon_connection.

Changes:

  • Added requesting notifications permission when the ParleyView is visible to the user while the app doesn't this permissions yet.
  • Added message when the notifications permission is missing. The user will not receive chat notifications.
  • Updated source to target API 33.
  • Updated dependencies
  • Addition (styling): Added attribute parley_notification_icon_notifications to styling ParleyNotificationView to configure the icon when user denied the notifications permission.

3.6.1

18 Oct 11:36
e99faca

Choose a tag to compare

Parley now targets Android 12

  • Added support for targeting Android 12 and higher.
  • Notification channels are now created when showing the ParleyView, causing Android 12 to request notifications permission if needed.

3.6.0

29 Jul 11:46
0e991a1

Choose a tag to compare

  • Added new SSL certificate of parley.nu for SSL pinning.
  • When setting or clearing the user information, Parley will now reconfigure itself when needed to show the contents of the corresponding chat.

3.5.0

02 May 07:43
c291ebd

Choose a tag to compare

Upgrading:

Parley now uses a unique device id per app installation as default setting.

IMPORTANT: When using anonymous chats, the chat now always starts empty after a new app installation by default.

What's changed?

  • In Parley 3.4.5 and lower the Android DEVICE_ID was used as device id. This device id does not change per app installation, causing anonymous chats to continue with their existing chat even when the user deleted and reinstalled the app.
  • In Parley 3.5.0 and higher a random UUID is used as device id. This value is stored in the shared preferences by default and is generated once per installation. Updating the app won't result in a new device id as long as the cache isn't cleared. This ensures that new anonymous chats always start empty.

Note: This only affects the behavior of starting anonymous chats, chats that use the user authorization won't be affected by this change.

Note: This is the default behavior of Parley. When passing the device id to the configure method, Parley will use that as device id instead and won't store it in the shared preferences either.

Changes:

  • Device id is now unique per installation, instead of using the Android DEVICE_ID. Affects how anonymous chats are handled.
  • Added optional Parley.reset(callback) method to reset Parley back to its initial state, clearing the user and chat data that is in memory.

3.4.5

07 Apr 11:19
743e81d

Choose a tag to compare

  • Fixed a crash that could occur when returning to the app in case the ParleyView is being closed soon after opening.

3.4.4

25 Mar 14:58
4f18c5f

Choose a tag to compare

  • Added optional ParleyView.setLaunchCallback(launchCallback) to support handling activity results directly inside a Fragment instead of the Activity.

3.4.3

23 Mar 16:14
5fd5a64

Choose a tag to compare

  • Compose input is now aligned centred compared to the send button.
  • Fixed a crash when agent is typing.

3.4.2

11 Mar 13:24
4c9c3b5

Choose a tag to compare

  • Added optional uniqueDeviceIdentifier parameter to the configure method to override the default device identifier that Parley uses.
  • Updated TouchImageView from version 2.2.0 to 3.1.1

3.4.1

20 Jan 15:04
3d6e992

Choose a tag to compare

Upgrading

  • Add the Parley.onRequestPermissionsResult(requestCode, permissions, grantResults); method in the Activity that contains the ParleyView for a smooth interaction when Parley needs to request permissions. Check out the updated Step 4 in README.md.

Changes:

  • Request camera permission if needed

3.4.0

15 Nov 14:09
85fe552

Choose a tag to compare

  • Added option to configure where the notifications should be shown in the chat: top (default) or bottom.
    For example: to show them on the bottom:

    Override the value parley_notifications_position:

    <item name="parley_notifications_position" type="integer">bottom</item>

    Or programmatically by calling:

    parleyView.setNotificationsPosition(ParleyPosition.Vertical.BOTTOM);
  • Fixed a small animation issue with quick replies