Igor Demin
0215dd9551
Update Android projects ( #3566 )
...
- Update Gradle to 8.2.1 (for non-Android project as well)
- Update AGP to 8.0.2
- add jvmToolchain for Android projects (it is required now)
- removed targetSdk from shared modules (it is deprecated for com.android.library projects)
- move "package" from manifset to "namespace " in Gradle (required by AGP)
- rename android to androidTarget (android is deprecated in latest Kotlin)
- update Android dependencies versions
I checked - Android/iOS/web still work. HTML/IDE projects also work after updating Gradle.
Works in the latest stable IDEA and Android Studio
updated templates:
https://github.com/JetBrains/compose-multiplatform-ios-android-template/pull/21
https://github.com/JetBrains/compose-multiplatform-template/pull/19
https://github.com/JetBrains/compose-multiplatform-desktop-template/pull/8
https://github.com/JetBrains/compose-multiplatform-html-library-template/pull/3
1 year ago
Igor Demin
53e3674118
1.5.0 Changelog and updated examples ( #3556 )
...
The changelog is merged from the prerelease versions:
https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.5.0-beta01
https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.5.0-beta02
I will change versions to 1.5.0 in a separate PR later
1 year ago
Oleksandr Karpovich
e7f3ee2ae3
Add a workaround to examples to run the js app with kotlin 1.9.0 ( #3536 )
...
The workaround can be removed after we switch to kotlin 1.9.10 (see https://youtrack.jetbrains.com/issue/KT-60852 )
1 year ago
dima.avdeev
dae7d42f73
simplify and adapt iOS examples to Compose 1.5.0 ( #3547 )
1 year ago
Alexey Tsvetkov
3e40cdab44
Add example with cocoapods ( #3541 )
...
* Add example with cocoapods
* README for cocoapods example (#3548 )
---------
Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
1 year ago
Rob X
494c686293
ImageViewer, Android camera ( #3487 )
...
* The camera should stop working after leaving CameraView on Android.
* Update examples/imageviewer/shared/src/androidMain/kotlin/example/imageviewer/view/CameraView.android.kt
1 year ago
Alexey Tsvetkov
f60497a95b
Convert examples from cocoapods to regular frameworks ( #3529 )
1 year ago
Alexander Maryanovsky
60a0cdc0cb
Add a scrollbar to the SquaresGalleryView on the desktop ( #3520 )
1 year ago
Alexander Maryanovsky
8c724096fd
Add a unit test to the imageviewer example. ( #3527 )
...
* Add a unit test to the imageviewer example.
* Fix android build of imageviewer
1 year ago
dima.avdeev
83d2b54e35
Fix iOS ImageViewer example with Compose 1.4.3 and Kotlin 1.9.0 ( #3502 )
1 year ago
Alexey Tsvetkov
fa2df40e11
Replace warnings with errors ( #3496 )
1 year ago
Sebastian Aigner
563575a866
Update Navigation tutorial to refer to Awesome List ( #3441 )
...
Remove third-party specific samples
1 year ago
Igor Demin
43a4086ba4
Migrate examples to 1.4.3 ( #3410 )
...
[Changelog](https://github.com/JetBrains/compose-multiplatform/releases/tag/v1.4.3 )
Changed templates:
bbf71f754c
ba91acf5d6
5204842894
36d1554dee
1 year ago
Igor Demin
5e71a953ef
Widgets gallery: fix for mismatched @Composable annotation (desktop) ( #3409 )
...
Folloup after https://github.com/JetBrains/compose-multiplatform/pull/3402
1 year ago
Nikita Lipsky
02caf437db
Widgets gallery: fix for mismatched @Composable annotation ( #3402 )
...
* Widgets gallery: fix for mismatched @Composable annotation
* Widgets gallery: remove isSystemInDarkTheme expect function
1 year ago
Igor Demin
9438837cc1
ImageViewer. Reenable build on CI ( #3385 )
...
The CI checks was disabled in https://github.com/JetBrains/compose-multiplatform/pull/3384 . Reenable them in support/1.5.0, which will be merged after the 1.5.0 release.
1 year ago
Ivan Matkov
c09b344c03
Adopt ImageViewer to Compose 1.5.0-dev1114 and Kotlin 1.9.0 ( #3400 )
...
* ImageViewer. Add WindowsInsets.ime and update resources
* Update gradle properties
* Fix HorizontalPager usage
* Add ExperimentalForeignApi annotation
---------
Co-authored-by: dima.avdeev <dima.avdeev@jetbrains.com>
1 year ago
Igor Demin
336ba2c7a1
Disable image viewer checks on CI ( #3384 )
...
Because:
1. it uses experimental API, that was changed int 1.5.0-beta03 after 1.4.0
2. we have a policy to use only release versions in the examples
Temporarily, will made a fix in support/1.5.0 branch
1 year ago
Nikita Lipsky
d55962dd5e
Add commonTest source set ( #3378 )
...
- for GameControllerTest to be able to run
+ add linker options for ability to run it on iOS simulator
1 year ago
Alexey Tsvetkov
16114b2f0f
Simplify resource management for iOS ( #3340 )
...
* Simplify resource management for iOS
Introduces new a new task 'sync<FRAMEWORK_CLASSIFIER>ComposeIosResources',
which collects resources from all source sets, included in iOS targets.
With this change:
* CocoaPods integration does not require any configuration or calling 'pod install' after changing resources.
* Important: existing projects need to remove 'extraSpecAttributes["resources"] = ...' from build scripts, and rerun `./gradlew podInstall` once!
* Without CocoaPods, the resource directory should be added to XCode build phases once.
Resolves #3073
Resolves #3113
Resolves #3066
1 year ago
Trey Ethridge
2335739734
Fix widget labels ( #3220 )
...
MainView should use title so that if a custom title is
available it will be used. Hide readableName to prevent this
from happening again by mistake.
1 year ago
Igor Demin
bf4130cfab
Compose 1.4.1 docs, examples ( #3287 )
...
* Compose 1.4.1
* Remove compose-integration from replaceVersion.sh
2 years ago
Sebastian Aigner
dab4531fe4
Redesign chat example ( #3161 )
...
* Redesign chat example
* Minor typography improvements
* Code cleanup
* Update examples/chat/iosApp/iosApp/iosApp.swift
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
* Use JPG instead of PNG
* Turn background in to a JPG
Add raw PXD file.
* Remove TEAM_ID
* Move to sp sizes
* Make Android text consistent with iOS variant
* Prefer light color scheme to prevent unwanted text color switch
* Remove PXD
---------
Co-authored-by: Ivan Matkov <ivan.matkov@jetbrains.com>
2 years ago
Sebastian Aigner
fc15726b62
Make codeviewer example more photogenic (top bar color and bottom margins) ( #3174 )
2 years ago
dima.avdeev
b08134e73d
ImageViewer coroutines:1.7.1
2 years ago
dima.avdeev
4be0706e9a
ImageViewer coroutines:1.7.0
2 years ago
dima.avdeev
164c787449
ImageViewer fix lint error
2 years ago
Oleksandr Karpovich
047f2e15aa
Add coroutines dependency in commonMain instead of iosMain ( #3080 )
...
* Add coroutines dependency in commonMain instead of iosMain
* Update examples/imageviewer/shared/build.gradle.kts
Co-authored-by: dima.avdeev <99798741+dima-avdeev-jb@users.noreply.github.com>
---------
Co-authored-by: dima.avdeev <99798741+dima-avdeev-jb@users.noreply.github.com>
2 years ago
dima.avdeev
cbdb0eb693
ImageViewer, iOS coroutines-core:1.7.0-RC
2 years ago
dima.avdeev
3fdac4299c
ImageViewer, iOS camera modifier
2 years ago
Igor Demin
7bf253b207
Update gradle wrappers ( #3050 )
...
- update to the latest version
- add +x permission to avoid"access denied" on unix systems
2 years ago
Alexander Maryanovsky
b872c3032e
Use singleLine=true in the text fields of widgets-gallery ( #3054 )
2 years ago
Igor Demin
d44114d8b9
Compose Multiplatform 1.4.0 docs ( #3044 )
2 years ago
dima.avdeev
76f000611d
Update examples to Compose 1.4.0 ( #3042 )
2 years ago
dima.avdeev
73171a0f9e
ImageViewer fix delete picture crash ( #3039 )
2 years ago
dima.avdeev
a6e71144b4
ImageViewer desktop MapView ( #3022 )
2 years ago
dima.avdeev
7c0e8a77b0
ImageViewer, limit scale for full visibility of the target ( #3023 )
2 years ago
dima.avdeev
52601254ed
ImageViewer fix simple warnings and code style issues ( #3025 )
2 years ago
dima.avdeev
9961674078
ImageViewer, simplify pictures.indexOf(picture) ( #3024 )
2 years ago
dima.avdeev
de2949c34d
ImageViewer Android map with proper scroll ( #3020 )
2 years ago
dima.avdeev
bb950bc91a
ImageViewer, share image with description. ( #3012 )
2 years ago
dima.avdeev
cc1ad2fe41
hotifx bug with related pictures ( #3017 )
2 years ago
Nikita Lipsky
1cc767bdfc
Imageviewer: update default description ( #3010 )
...
* Imageviewer: update default description
* Imageviewer: update again
2 years ago
dima.avdeev
508d265b9d
ImageViewer edit description onLongClick ( #3009 )
2 years ago
dima.avdeev
523368228b
ImageViewer, fix Android rotation ( #3007 )
2 years ago
Nikita Lipsky
1d955a2e6d
Remove internal from common public @Composable as it is not required for 1.4.0-rc03 ( #3008 )
2 years ago
Igor Demin
752540cfcf
Fix imageviewer desktop icon path ( #3005 )
...
The issue only in this example, in the other places it is correct
2 years ago
Nikita Lipsky
08d5fa3487
Add todo edit dialog to iOS ( #3001 )
2 years ago
Vladimir Mazunin
4ca7aa1be9
iOS ImageViewer: changed icon for a newer version ( #2998 )
...
* ios image viewer: changed icon for a newer version
* ios image viewer: renamed icon
2 years ago
Igor Demin
40ae8ec29d
ImageViewer - limit zoom by the window/screen size ( #2993 )
...
- add zoom field, which is the same across different screen/window sizes
- scale is not the base state now, it is derived from the current zoom and the current screen/window size. it now represents the end scale of the image
- drag amount is still independent of scale/zoom (if we drag by 5 pixels, the image moves by 5 pixels)
- offset is still limited by the area and the current scale
* ImageViewer - limit zoom by the window/screen size
- add zoom field, which is the same across different screen/window sizes
- scale is not the base state now, it is derived from the current zoom and the current screen/window size. it now represents the end scale of the image
- drag amount is still independent of scale/zoom (if we drag by 5 pixels, the image moves by 5 pixels)
- offset is still limited by the area and the current scale
2 years ago