Releases: parley-messaging/android-library
3.7.0
IMPORTANT: Parley now targets Android 13 and requests notifications permission when needed.
Upgrading:
- DEPRECATION (styling): In the style
ParleyNotificationView, the attributeparley_iconhas been renamed toparley_icon_connection.
Changes:
- Added requesting notifications permission when the
ParleyViewis 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_notificationsto stylingParleyNotificationViewto configure the icon when user denied the notifications permission.
3.6.1
3.6.0
3.5.0
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_IDwas 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
3.4.4
3.4.3
3.4.2
3.4.1
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
-
Added option to configure where the notifications should be shown in the chat:
top(default) orbottom.
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