Skip to content

Commit

Permalink
Merge pull request #14 from TEAM-PREAT/release/0.2.1
Browse files Browse the repository at this point in the history
[release/0.2.1] Update version from 0.2.0 to 0.2.1
  • Loading branch information
onseok authored Dec 11, 2023
2 parents 07b03c4 + 5f001ac commit 860fe2c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Presently, the only available artifact is `peekaboo-image-picker`, but the inten

The minimum supported Android SDK is 24 (Android 7.0).

In your `commonMain` configuration, add `peekaboo` as a dependency to your project. It's available on Maven Central.
In your `commonMain` configuration, add `peekaboo` as a dependency to your project. It's available on Maven Central.

### Without Version Catalog

Expand Down Expand Up @@ -91,7 +91,7 @@ Button(

| Android | iOS |
|-----------------------------------------------------------------|---------------------------------------------------------|
| <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/a655bfd0-0499-4e30-879f-5155a2685928" width="300" height="700"> | <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/350fffd7-6d25-45e6-8be2-de86ff5e8d82" width="300" height="700"> |
| <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/03346992-cf2a-4424-88e5-fa53afd36eac" width="300" height="700"> | <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/7b562f6f-e5d5-4858-85b8-acf7196d646f" width="300" height="700"> |

Simply select the desired image with an intuitive interface.

Expand Down Expand Up @@ -127,7 +127,8 @@ Button(

| Android | iOS |
|-----------------------------------------------------------------|---------------------------------------------------------|
| <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/3090cbff-36d8-462b-9b36-af07efe5e253" width="300" height="700"> | <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/06203301-eb41-4a05-b0ac-812b60731274" width="300" height="700"> |
| <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/e26ae1b3-4333-41a9-92c3-ebe56c337d79" width="300" height="700"> | <img src="https://github.com/TEAM-PREAT/peekaboo/assets/76798309/a990ce09-d485-4a0f-9416-8af8b040cf2d" width="300" height="700"> |


## ByteArray to ImageBitmap Conversion
We've added a new extension function `toImageBitmap()` to convert a `ByteArray` into an `ImageBitmap`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

allprojects {
group = "io.github.team-preat"
version = "0.2.0"
version = "0.2.1"
}

nexusPublishing {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ androidLibrary = { id = "com.android.library", version.ref = "agp" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
5 changes: 3 additions & 2 deletions sample/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ android {
dependencies {
implementation(project(":sample:common"))
implementation(libs.androidx.activity.compose)
implementation(libs.appcompat)
implementation(compose.runtime)
implementation(compose.foundation)
implementation(compose.material3)
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.test.ext.junit)
}
}
5 changes: 3 additions & 2 deletions sample/android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

<application
android:allowBackup="false"
android:supportsRtl="true">
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
<activity
android:name="com.preat.peekaboo.sample.MainActivity"
android:exported="true"
Expand All @@ -17,4 +18,4 @@
</activity>
</application>

</manifest>
</manifest>

0 comments on commit 860fe2c

Please sign in to comment.