Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 39 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,46 @@
# Changelog

## 3.10.0 - Released 30 Jul 2024

- [Source] Parley now uses Kotlin at certain parts. Make sure to configure Kotlin in your project in case it doesn't use Kotlin yet.
- [Send Media] Fixed an issue that could cause media to be send twice when using Android 14 or higher.
- [Send Media] Added support for sending PDF files when using clientApi version 1.6 or higher.
- [Chat Message] Added support for PDF documents within the chat.
- [Styling] *Addition*: Added `parley_compose_media_icon` to `ParleyComposeView`. By default this is a `+` icon to send media within the chat (camera/gallery/document).
- [Styling] *Addition*: Added `parley_compose_media_icon_tint` to `ParleyComposeView`. Since this now reflects what it is referring to.
- [Styling] *DELETION*: Removed `parley_compose_camera_tint` from `ParleyComposeView`. Use `parley_compose_media_icon_tint` instead.
- [Styling] *DELETION*: Removed `parley_compose_camera_icon` from `ParleyComposeView`. Use `parley_compose_media_icon` instead.
- [Styling] *DEPRECATION*: Replace `parley_images_enabled` with `parley_media_enabled`.
- [Styling] *REPLACED*: Replaced `parley_images_enabled` style attribute with `parley_media_enabled`.
- [Styling] *REPLACED*: Replaced `parley_ic_camera` icon from the drawables with `parley_ic_add`.
- [Styling] *REPLACED*: Replaced `parley_action_divider_margin_*` with `parley_divider_margin_*`.
- [Styling] *REPLACED*: Replaced `parley_action_divider_color` with `parley_divider_color`.
- [Styling] *REPLACED*: Replaced `parley_agent_action_divider_margin_*` with `parley_agent_divider_margin_*`.
- [Styling] *Addition*: Added `parley_user_divider_margin_*` (also as `parley_divider_margin_*` for the style `ParleyMessageUserStyle`).
- [Styling] *Addition*: Added `parley_user_divider_color` (also as `parley_divider_color` for the style `ParleyMessageUserStyle`).
- [Styling] *Addition*: Added `parley_file_name_font_family` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_name_font_style` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_name_text_size` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_name_text_color` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_action_font_family` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_action_font_style` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_action_text_size` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Styling] *Addition*: Added `parley_file_action_text_color` (for the styles `ParleyMessageUserStyle` and `ParleyMessageAgentStyle`).
- [Strings] *Addition*: Added `parley_message_file_downloading`.
- [Strings] *Addition*: Added `parley_media_select`.
- [Strings] *Addition*: Added `parley_media_camera`.
- [Strings] *Addition*: Added `parley_media_gallery`.
- [Strings] *Addition*: Added `parley_media_document`.
- [Strings] *Addition*: Added `parley_general_open`.
- [Strings] *DELETION*: Removed `parley_photo`.
- [Strings] *DELETION*: Removed `parley_select_photo`.
- [Strings] *DELETION*: Removed `parley_take_photo`.
- [Api Version] *DELETION*: Removed support for clientApi version 1.0 and 1.1.

## 3.9.7 - 16 Jul 2024

- Fixed an issue that could cause images to be send twice when using Android 14 or higher.
- Updated TrustKit to version 1.1.5.
- [Send Media] Fixed an issue that could cause media to be send twice when using Android 14 or higher.
- [Dependency] Updated TrustKit to version 1.1.5.

## 3.9.6 - 14 Jun 2024

Expand Down
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Empty | Conversation

## Requirements

- Java 11 (Example project uses Java 17)
- Java 17
- Kotlin 1.9.24
- Android 5+ (API 21+)
- Android target API 34 (Android 14)
- Using AndroidX artifacts
Expand Down Expand Up @@ -56,7 +57,7 @@ allprojects {
To integrate Parley, specify the following in your `app/build.gradle` file:

```groovy
implementation 'com.github.parley-messaging:android-library:3.9.7'
implementation 'com.github.parley-messaging:android-library:3.10.0'
```

### Upgrading
Expand Down Expand Up @@ -381,6 +382,23 @@ public void `onRequestPermissionsResult`(int requestCode, @NonNull String[] perm

> Note: Now that since the Fragment is handling these results now, the Activity no longer needs to forward the `onActivityResult` and `onRequestPermissionsResult` methods to Parley. So these can be removed from the Activity.

### Handling Downloads

By default Parley uses the `DefaultParleyDownloadCallback` which downloads files by using the native `DownloadManager` and stores them in the internal storage of the app. After downloading, it will offer the user to open the downloaded file by using the `ParleyLaunchCallback`.

To change this default behavior, the download callback can be overridden by a custom implementation:

```java
parleyView.setDownloadCallback(new ParleyDownloadCallback() {
@Override
public void launchParleyDownload(String url, Map<String, String> headers) {
// ...
}
});
```

> Note: Make sure to apply the headers when downloading the file from the given url. Otherwise the file download will not succeed.

## Customize

### Callbacks
Expand Down
11 changes: 8 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'org.jetbrains.kotlin.android'

android {
namespace "nu.parley"
Expand All @@ -8,7 +9,7 @@ android {
minSdkVersion 21
targetSdk 34
versionCode 1
versionName "3.9.6"
versionName "3.10.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand All @@ -24,10 +25,14 @@ android {
buildFeatures {
buildConfig true
}
kotlinOptions {
jvmTarget = '17'
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.core:core-ktx:1.13.1'

// AndroidX
implementation 'androidx.appcompat:appcompat:1.6.1'
Expand All @@ -37,7 +42,7 @@ dependencies {
implementation "com.google.firebase:firebase-messaging:23.4.1"

// Library
// implementation 'com.github.parley-messaging:android-library:3.9.7' // Remote
// implementation 'com.github.parley-messaging:android-library:3.10.0' // Remote
implementation project(':parley') // Local

// Tests
Expand All @@ -46,4 +51,4 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}

apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.gms.google-services'
2 changes: 1 addition & 1 deletion app/src/main/java/nu/parley/ui/ChatActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected void onCreate(Bundle savedInstanceState) {
* All of these settings are optional.
*/
private void setParleyViewSettings() {
// parleyView.setImagesEnabled(false); // Optional, default `true`
// parleyView.setMediaEnabled(false); // Optional, default `true`
// parleyView.setNotificationsPosition(ParleyPosition.Vertical.BOTTOM); // Optional, default `TOP`

parleyView.setListener(() -> Log.d("ChatActivity", "The user did sent a message"));
Expand Down
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
buildscript {
ext {
kotlin_version = '1.9.24'
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.2.2'
classpath 'com.google.gms:google-services:4.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ImageFailure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ImageRemoteDark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ImageRemoteLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-Long.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-OnlyActions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ShortWithName.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ShortWithTitle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-ShortWithoutName.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-TextAndImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/AgentMessage-TextWithActions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/RenderOrder-ImageTextImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastlane/test/message/Current/UserMessage-ImageFailure.png
Binary file modified fastlane/test/message/Current/UserMessage-ImageRemoteDark.png
Binary file modified fastlane/test/message/Current/UserMessage-ImageRemoteGif.png
Binary file modified fastlane/test/message/Current/UserMessage-ImageRemoteLight.png
Binary file modified fastlane/test/message/Current/UserMessage-LongSuccess.png
Binary file modified fastlane/test/message/Current/UserMessage-ShortFailed.png
Binary file modified fastlane/test/message/Current/UserMessage-ShortPending.png
Binary file modified fastlane/test/message/Current/UserMessage-TextAndImage.png
72 changes: 39 additions & 33 deletions fastlane/test/message/diff.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,39 @@
Current | Updated
-- | --
![Current](Current/UserMessage-LongSuccess.png) | ![Updated](Update/UserMessage-LongSuccess.png)
![Current](Current/AgentMessage-ImageRemoteGifWithoutName.png) | ![Updated](Update/AgentMessage-ImageRemoteGifWithoutName.png)
![Current](Current/AgentMessage-TextAndImage.png) | ![Updated](Update/AgentMessage-TextAndImage.png)
![Current](Current/AgentMessage-ImageRemoteDark.png) | ![Updated](Update/AgentMessage-ImageRemoteDark.png)
![Current](Current/AgentMessage-Long.png) | ![Updated](Update/AgentMessage-Long.png)
![Current](Current/UserMessage-ImageFailure.png) | ![Updated](Update/UserMessage-ImageFailure.png)
![Current](Current/AgentMessage-ImageWithActions.png) | ![Updated](Update/AgentMessage-ImageWithActions.png)
![Current](Current/UserMessage-ImageRemoteLight.png) | ![Updated](Update/UserMessage-ImageRemoteLight.png)
![Current](Current/UserMessage-LongSuccessWithMarkdown.png) | ![Updated](Update/UserMessage-LongSuccessWithMarkdown.png)
![Current](Current/UserMessage-ImageRemoteDark.png) | ![Updated](Update/UserMessage-ImageRemoteDark.png)
![Current](Current/RenderOrder-ImageTextImage.png) | ![Updated](Update/RenderOrder-ImageTextImage.png)
![Current](Current/AgentMessage-ImageFailure.png) | ![Updated](Update/AgentMessage-ImageFailure.png)
![Current](Current/UserMessage-ImageRemoteTransparency.png) | ![Updated](Update/UserMessage-ImageRemoteTransparency.png)
![Current](Current/AgentMessage-FullMessageWithActions.png) | ![Updated](Update/AgentMessage-FullMessageWithActions.png)
![Current](Current/UserMessage-ShortPending.png) | ![Updated](Update/UserMessage-ShortPending.png)
![Current](Current/AgentMessage-MessageWithCarouselSmall.png) | ![Updated](Update/AgentMessage-MessageWithCarouselSmall.png)
![Current](Current/UserMessage-ImageRemoteGif.png) | ![Updated](Update/UserMessage-ImageRemoteGif.png)
![Current](Current/AgentMessage-ShortWithTitle.png) | ![Updated](Update/AgentMessage-ShortWithTitle.png)
![Current](Current/AgentMessage-TextWithActions.png) | ![Updated](Update/AgentMessage-TextWithActions.png)
![Current](Current/AgentMessage-FullMessageWithTitle.png) | ![Updated](Update/AgentMessage-FullMessageWithTitle.png)
![Current](Current/AgentMessage-MessageWithCarouselFull.png) | ![Updated](Update/AgentMessage-MessageWithCarouselFull.png)
![Current](Current/AgentMessage-ShortWithName.png) | ![Updated](Update/AgentMessage-ShortWithName.png)
![Current](Current/AgentMessage-ImageRemoteLight.png) | ![Updated](Update/AgentMessage-ImageRemoteLight.png)
![Current](Current/AgentMessage-MessageWithCarouselImages.png) | ![Updated](Update/AgentMessage-MessageWithCarouselImages.png)
![Current](Current/AgentMessage-ImageRemoteTransparency.png) | ![Updated](Update/AgentMessage-ImageRemoteTransparency.png)
![Current](Current/AgentMessage-ShortWithoutName.png) | ![Updated](Update/AgentMessage-ShortWithoutName.png)
![Current](Current/UserMessage-ShortFailed.png) | ![Updated](Update/UserMessage-ShortFailed.png)
![Current](Current/UserMessage-TextAndImage.png) | ![Updated](Update/UserMessage-TextAndImage.png)
![Current](Current/AgentMessage-MessageWithCarouselOnly.png) | ![Updated](Update/AgentMessage-MessageWithCarouselOnly.png)
![Current](Current/AgentMessage-OnlyActions.png) | ![Updated](Update/AgentMessage-OnlyActions.png)
![Current](Current/AgentMessage-OnlyActionsWithName.png) | ![Updated](Update/AgentMessage-OnlyActionsWithName.png)
Current | Updated
----------------------------------------------------------------|---------------------------------------------------------------
![Current](Current/UserMessage-LongSuccess.png) | ![Updated](Update/UserMessage-LongSuccess.png)
![Current](Current/AgentMessage-ImageRemoteGifWithoutName.png) | ![Updated](Update/AgentMessage-ImageRemoteGifWithoutName.png)
![Current](Current/AgentMessage-TextAndImage.png) | ![Updated](Update/AgentMessage-TextAndImage.png)
![Current](Current/UserMessage-DocumentPending.png) | ![Updated](Update/UserMessage-DocumentPending.png)
![Current](Current/AgentMessage-ImageRemoteDark.png) | ![Updated](Update/AgentMessage-ImageRemoteDark.png)
![Current](Current/AgentMessage-Long.png) | ![Updated](Update/AgentMessage-Long.png)
![Current](Current/UserMessage-ImageFailure.png) | ![Updated](Update/UserMessage-ImageFailure.png)
![Current](Current/AgentMessage-ImageWithActions.png) | ![Updated](Update/AgentMessage-ImageWithActions.png)
![Current](Current/AgentMessage-TextAndDocument.png) | ![Updated](Update/AgentMessage-TextAndDocument.png)
![Current](Current/AgentMessage-TextAndDocumentAndActions.png) | ![Updated](Update/AgentMessage-TextAndDocumentAndActions.png)
![Current](Current/RenderOrder-ImageTextImage.png) | ![Updated](Update/RenderOrder-ImageTextImage.png)
![Current](Current/AgentMessage-ImageFailure.png) | ![Updated](Update/AgentMessage-ImageFailure.png)
![Current](Current/UserMessage-ImageRemoteTransparency.png) | ![Updated](Update/UserMessage-ImageRemoteTransparency.png)
![Current](Current/UserMessage-ImageRemoteLight.png) | ![Updated](Update/UserMessage-ImageRemoteLight.png)
![Current](Current/AgentMessage-FullMessageWithActions.png) | ![Updated](Update/AgentMessage-FullMessageWithActions.png)
![Current](Current/AgentMessage-OnlyActions.png) | ![Updated](Update/AgentMessage-OnlyActions.png)
![Current](Current/UserMessage-ShortPending.png) | ![Updated](Update/UserMessage-ShortPending.png)
![Current](Current/AgentMessage-MessageWithCarouselSmall.png) | ![Updated](Update/AgentMessage-MessageWithCarouselSmall.png)
![Current](Current/UserMessage-ImageRemoteDark.png) | ![Updated](Update/UserMessage-ImageRemoteDark.png)
![Current](Current/UserMessage-ImageRemoteGif.png) | ![Updated](Update/UserMessage-ImageRemoteGif.png)
![Current](Current/AgentMessage-ShortWithTitle.png) | ![Updated](Update/AgentMessage-ShortWithTitle.png)
![Current](Current/UserMessage-Document.png) | ![Updated](Update/UserMessage-Document.png)
![Current](Current/UserMessage-TextAndDocument.png) | ![Updated](Update/UserMessage-TextAndDocument.png)
![Current](Current/AgentMessage-TextWithActions.png) | ![Updated](Update/AgentMessage-TextWithActions.png)
![Current](Current/UserMessage-LongSuccessWithMarkdown.png) | ![Updated](Update/UserMessage-LongSuccessWithMarkdown.png)
![Current](Current/AgentMessage-FullMessageWithTitle.png) | ![Updated](Update/AgentMessage-FullMessageWithTitle.png)
![Current](Current/AgentMessage-MessageWithCarouselFull.png) | ![Updated](Update/AgentMessage-MessageWithCarouselFull.png)
![Current](Current/AgentMessage-MessageWithCarouselOnly.png) | ![Updated](Update/AgentMessage-MessageWithCarouselOnly.png)
![Current](Current/AgentMessage-ShortWithName.png) | ![Updated](Update/AgentMessage-ShortWithName.png)
![Current](Current/AgentMessage-ImageRemoteLight.png) | ![Updated](Update/AgentMessage-ImageRemoteLight.png)
![Current](Current/AgentMessage-MessageWithCarouselImages.png) | ![Updated](Update/AgentMessage-MessageWithCarouselImages.png)
![Current](Current/AgentMessage-ImageRemoteTransparency.png) | ![Updated](Update/AgentMessage-ImageRemoteTransparency.png)
![Current](Current/AgentMessage-ShortWithoutName.png) | ![Updated](Update/AgentMessage-ShortWithoutName.png)
![Current](Current/UserMessage-ShortFailed.png) | ![Updated](Update/UserMessage-ShortFailed.png)
![Current](Current/AgentMessage-Document.png) | ![Updated](Update/AgentMessage-Document.png)
![Current](Current/AgentMessage-OnlyActionsWithName.png) | ![Updated](Update/AgentMessage-OnlyActionsWithName.png)
![Current](Current/UserMessage-TextAndImage.png) | ![Updated](Update/UserMessage-TextAndImage.png)
Binary file modified fastlane/test/suggestion/Current/Suggestions-DifferentSizes.png
Binary file modified fastlane/test/suggestion/Current/Suggestions-Full.png
Binary file modified fastlane/test/suggestion/Current/Suggestions-Multiline.png
Binary file modified fastlane/test/suggestion/Current/Suggestions-Small.png
19 changes: 14 additions & 5 deletions parley/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'org.jetbrains.kotlin.android'

group = 'com.github.parley-messaging'
version = '3.9.7'
version = '3.10.0'

android {
namespace 'nu.parley.android'
Expand All @@ -24,6 +25,13 @@ android {
withSourcesJar()
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
}

afterEvaluate {
Expand Down Expand Up @@ -57,6 +65,7 @@ dependencies {

// Glide
implementation "com.github.bumptech.glide:glide:4.15.1"
implementation 'androidx.core:core-ktx:1.13.1'
annotationProcessor "com.github.bumptech.glide:compiler:4.15.1"

// TrustKit
Expand All @@ -72,9 +81,9 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'junit:junit:4.13.2'

androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test:rules:1.5.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation 'com.novoda:espresso-support:1.0.0'
androidTestImplementation 'androidx.test:runner:1.6.1'
androidTestImplementation 'androidx.test:rules:1.6.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation('tools.fastlane:screengrab:2.1.0')
}
12 changes: 11 additions & 1 deletion parley/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,15 @@
tools:ignore="ProtectedPermissions" />

<application
android:theme="@style/ParleyTestStyle"/>
android:theme="@style/Theme.AppCompat">
<!-- android:theme="@style/ParleyTestStyle" >-->

<activity android:name="nu.parley.android.util.TestActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Loading