) {
92 |
93 | }
94 |
95 | override suspend fun updateProfile(userProfile: UserProfile) {
96 | FakeRepositoryState.profileState.value = userProfile
97 | }
98 | }
--------------------------------------------------------------------------------
/composeApp/src/iosMain/kotlin/com/osg/openanimation/MainViewController.kt:
--------------------------------------------------------------------------------
1 | package com.osg.openanimation
2 |
3 | import androidx.compose.ui.window.ComposeUIViewController
4 |
5 | val app = getBaseApp()
6 |
7 | @Suppress("unused", "FunctionName")
8 | fun MainViewController() = ComposeUIViewController {
9 | app.AppEntry()
10 | }
--------------------------------------------------------------------------------
/composeApp/src/jsMain/kotlin/main.kt:
--------------------------------------------------------------------------------
1 | import androidx.compose.ui.ExperimentalComposeUiApi
2 | import androidx.navigation.ExperimentalBrowserHistoryApi
3 | import com.osg.openanimation.core.ui.webApp
4 | import com.osg.openanimation.getBaseApp
5 |
6 | @OptIn(ExperimentalComposeUiApi::class, ExperimentalBrowserHistoryApi::class)
7 | fun main() {
8 | webApp(
9 | baseApp = getBaseApp()
10 | )
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/composeApp/src/jsMain/resources/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | OpenAnimation
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |

14 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/composeApp/src/jsMain/resources/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/composeApp/src/jsMain/resources/logo.png
--------------------------------------------------------------------------------
/composeApp/src/jsMain/resources/privacy/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Privacy Policy – openAnimation
7 |
23 |
24 |
25 | Privacy Policy
26 |
27 | Data Collection and Usage
28 |
29 | openAnimation collects and stores basic user information such as your name, email address, and authentication credentials when you sign up or sign in.
30 | We also record metadata related to your downloads, saved animations, and interactions with the platform to personalize your experience and improve the service.
31 |
32 |
33 | Tracking Technologies
34 |
35 | We use cookies and similar technologies to:
36 |
37 |
38 | - Keep you signed in across sessions
39 | - Enhance site performance and usability
40 | - Understand user behavior and preferences
41 |
42 |
43 | Third-Party Services
44 |
45 | We use third-party services such as Google Analytics and Google AdSense for:
46 |
47 |
48 | - Traffic and usage analysis
49 | - Personalized content and advertising
50 | - General statistical insights
51 |
52 |
53 | These services may collect anonymized usage data including your IP address, browser type, device information, and visited pages.
54 |
55 |
56 | Cookie Consent
57 |
58 | By using openAnimation, you agree to our use of cookies and related technologies as described in this policy. You may control cookie preferences in your browser settings.
59 |
60 |
61 | You can also manage ad personalization via your Google account settings.
62 |
63 |
64 | User Control and Transparency
65 |
66 | Users can view and update their account information at any time from their profile page. You may request deletion of your account or associated data by contacting us directly.
67 |
68 |
69 | For transparency, we provide a summary of the data collected and its usage. For more information, please refer to Google's Privacy & Terms.
70 |
71 |
72 | Changes to This Policy
73 |
74 | We may update this Privacy Policy from time to time. Material changes will be communicated through the website. We encourage you to review this page regularly.
75 |
76 |
77 | Last Updated: December 2024
78 |
79 |
--------------------------------------------------------------------------------
/composeApp/src/jsMain/resources/styles.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --color-bg-dark: #19120c;
3 | --color-bg-medium: #322720;
4 | --color-white: #fff;
5 | --color-white-70: rgba(255, 255, 255, 0.7);
6 | --color-white-40: rgba(255, 255, 255, 0.4);
7 | --color-white-20: rgba(255, 255, 255, 0.2);
8 | --color-white-18: rgba(255, 255, 255, 0.18);
9 | --color-black-20: rgba(0, 0, 0, 0.2);
10 | --color-black-30: rgba(0, 0, 0, 0.3);
11 | --color-black-50: rgba(0, 0, 0, 0.5);
12 | }
13 |
14 | html, body {
15 | height: 100%;
16 | margin: 0;
17 | padding: 0;
18 | }
19 |
20 | body {
21 | overflow: hidden;
22 | }
23 |
24 | header {
25 | position: absolute;
26 | z-index: -1;
27 | }
28 |
29 | main {
30 | height: 100vh;
31 | width: 100vw;
32 | position: relative;
33 | }
34 |
35 | #splash {
36 | width: 100vw;
37 | height: 100vh;
38 | background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-medium));
39 | display: flex;
40 | justify-content: center;
41 | align-items: center;
42 | position: fixed;
43 | top: 0;
44 | left: 0;
45 | z-index: 1;
46 | flex-direction: column;
47 | transition: opacity 0.25s ease-out;
48 | }
49 |
50 | #ComposeTarget {
51 | position: absolute;
52 | top: 0;
53 | left: 0;
54 | width: 100%;
55 | height: 100%;
56 | z-index: 0;
57 | }
58 |
59 | .gradient-background img {
60 | max-width: 90%;
61 | height: auto;
62 | margin-bottom: 40px;
63 | filter: drop-shadow(0 0 15px var(--color-white-40));
64 | animation: float 3s ease-in-out infinite;
65 | }
66 |
67 | @keyframes float {
68 | 0% { transform: translateY(0px); }
69 | 50% { transform: translateY(-10px); }
70 | 100% { transform: translateY(0px); }
71 | }
72 |
73 | /* Loading indicator styles */
74 | .loading-container {
75 | margin-top: 20px;
76 | text-align: center;
77 | display: flex;
78 | flex-direction: column;
79 | align-items: center;
80 | background: rgba(255, 255, 255, 0.1);
81 | padding: 25px;
82 | border-radius: 16px;
83 | backdrop-filter: blur(10px);
84 | -webkit-backdrop-filter: blur(10px); /* Safari support */
85 | box-shadow: 0 8px 32px var(--color-black-20);
86 | width: 85%;
87 | max-width: 320px;
88 | border: 1px solid var(--color-white-18);
89 | }
90 |
91 | .loading-spinner {
92 | position: relative;
93 | width: 60px;
94 | height: 60px;
95 | }
96 |
97 | .loading-spinner::before,
98 | .loading-spinner::after {
99 | content: '';
100 | position: absolute;
101 | border-radius: 50%;
102 | top: 0;
103 | left: 0;
104 | width: 100%;
105 | height: 100%;
106 | }
107 |
108 | .loading-spinner::before {
109 | border: 3px solid var(--color-white-20);
110 | }
111 |
112 | .loading-spinner::after {
113 | border: 3px solid transparent;
114 | border-top-color: var(--color-white);
115 | border-left-color: var(--color-white);
116 | animation: spin 1s linear infinite;
117 | box-shadow: 0 0 10px var(--color-white-40);
118 | }
119 |
120 | .loading-text {
121 | position: relative;
122 | color: var(--color-white);
123 | margin-top: 20px;
124 | font-family: 'Segoe UI', Arial, sans-serif;
125 | text-align: center;
126 | letter-spacing: 1.5px;
127 | font-size: 14px;
128 | font-weight: 500;
129 | text-transform: uppercase;
130 | text-shadow: 0 2px 5px var(--color-black-30);
131 | }
132 |
133 | .loading-text::after {
134 | content: '';
135 | position: absolute;
136 | bottom: -8px;
137 | left: 50%;
138 | transform: translateX(-50%);
139 | width: 40px;
140 | height: 2px;
141 | background: var(--color-white);
142 | border-radius: 2px;
143 | }
144 |
145 | @keyframes spin {
146 | 0% { transform: rotate(0deg); }
147 | 100% { transform: rotate(360deg); }
148 | }
149 |
150 | @keyframes pulse {
151 | 0% { opacity: 0.7; }
152 | 50% { opacity: 1; }
153 | 100% { opacity: 0.7; }
154 | }
155 |
156 | @media (max-width: 480px) {
157 | .loading-container {
158 | padding: 20px;
159 | width: 90%;
160 | }
161 |
162 | .loading-spinner {
163 | width: 50px;
164 | height: 50px;
165 | }
166 |
167 | .gradient-background img {
168 | max-width: 85%;
169 | margin-bottom: 30px;
170 | }
171 | }
172 |
--------------------------------------------------------------------------------
/composeApp/src/jsMain/resources/term/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Terms of Use – openAnimation
7 |
29 |
30 |
31 | Terms of Use
32 | Last updated: May 21, 2025
33 |
34 | Welcome to openAnimation, a platform for discovering and sharing Lottie animations. By accessing or using this site, you agree to the following Terms of Use:
35 |
36 | 1. Use of Content
37 | Animations on openAnimation are either:
38 |
39 | - Collected from public sources under open or unknown licenses, or
40 | - Uploaded by users who claim they have the rights to share them.
41 |
42 | Unless explicitly stated, openAnimation does not own or license the animations hosted here.
43 | You are responsible for ensuring that any animation you use complies with its original license.
44 | Do not use animations for commercial purposes unless they are clearly marked as verified for such use.
45 |
46 | 2. Uploading Content
47 | By uploading animations or submitting content:
48 |
49 | - You confirm that you own the rights or have permission to share the files.
50 | - You grant openAnimation a non-exclusive, royalty-free license to display and distribute the content on the platform.
51 | - You agree not to upload content that violates copyright, trademarks, or any applicable laws.
52 |
53 |
54 | 3. Removal of Content
55 | If you are a copyright holder and believe your work has been posted on openAnimation without authorization, please contact us at orispok@gmail.com with the following:
56 |
57 | - The URL(s) of the content in question
58 | - Proof of ownership
59 | - A request to remove the content
60 |
61 | We will respond promptly and remove infringing content as required by law.
62 |
63 | 4. No Warranty
64 | The platform and its content are provided "as is" without warranties of any kind. We do not guarantee:
65 |
66 | - The accuracy, completeness, or legality of any animation
67 | - That files are virus-free or safe for use
68 |
69 | Use this platform at your own risk.
70 |
71 | 5. Limitation of Liability
72 | openAnimation will not be liable for any damages arising out of your use of the site, including but not limited to loss of data, business interruptions, or legal claims arising from content misuse.
73 |
74 | 6. Changes to Terms
75 | These terms may be updated periodically. Continued use of the site constitutes acceptance of any revised terms.
76 |
77 | 7. Contact
78 | For questions, copyright issues, or takedown requests, contact us at:
79 | 📧 orispok@gmail.com
80 |
81 |
--------------------------------------------------------------------------------
/composeApp/src/jvmMain/kotlin/com/osg/openanimation/main.kt:
--------------------------------------------------------------------------------
1 | package com.osg.openanimation
2 |
3 | import androidx.compose.ui.graphics.Color
4 | import androidx.compose.ui.graphics.toArgb
5 | import androidx.compose.ui.graphics.vector.rememberVectorPainter
6 | import androidx.compose.ui.window.Window
7 | import androidx.compose.ui.window.WindowPlacement
8 | import androidx.compose.ui.window.application
9 | import androidx.compose.ui.window.rememberWindowState
10 | import com.osg.openanimation.core.ui.util.icons.brandingpack.LogoVector
11 |
12 |
13 | fun main() = application {
14 | val basePreviewApp = getBaseApp()
15 | Window(
16 | icon = rememberVectorPainter(image = LogoVector),
17 | state = rememberWindowState(
18 | placement = WindowPlacement.Maximized
19 | ),
20 | onCloseRequest = ::exitApplication,
21 | title = "OpenAnimation",
22 | ) {
23 |
24 | window.background = java.awt.Color(Color.Green.toArgb())
25 |
26 | basePreviewApp.AppEntry()
27 | }
28 | }
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | kotlin.code.style=official
2 |
3 | #Gradle
4 | org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx4096m"
5 |
6 | #Android
7 | android.nonTransitiveRClass=true
8 | android.useAndroidX=true
9 |
10 | #MPP
11 | kotlin.mpp.androidSourceSetLayoutVersion=2
12 | kotlin.mpp.enableCInteropCommonization=true
13 | kotlin.js.yarn=false
14 | org.jetbrains.compose.experimental.macos.enabled=true
15 |
16 | # w: The following Kotlin/Native targets cannot be built on this machine and are disabled: iosArm64, iosSimulatorArm64, iosX64
17 | kotlin.native.ignoreDisabledTargets=true
18 |
19 | # WEB
20 | org.jetbrains.compose.experimental.jscanvas.enabled=true
21 | #Ktor
22 | io.ktor.development=true
--------------------------------------------------------------------------------
/gradle/libs.versions.toml:
--------------------------------------------------------------------------------
1 | [versions]
2 | agp = "8.11.1"
3 | kotlin = "2.2.21"
4 | android-minSdk = "34"
5 | android-targetSdk = "36"
6 | compose-multiplatform = "1.10.0-beta01"
7 | androidx-lifecycle = "2.10.0-alpha04"
8 | adaptive = "1.2.0"
9 | ksp = "2.3.0"
10 |
11 |
12 | kotlinxSerializationCore = "1.9.0"
13 | androidx-activityCompose = "1.11.0"
14 | androidx-navigation = "2.9.1"
15 | composeHotReload = "1.0.0-rc02"
16 | kotlinx-datetime = "0.7.1"
17 | coroutines = "1.10.2"
18 | koinBom = "4.1.1"
19 | materialIconsCore = "1.7.3"
20 | koinAnnotationsVersion = "2.3.0"
21 | material3 = "1.10.0-alpha03"
22 | okio = "3.16.2"
23 | atomicfu="0.29.0"
24 | keight = "0.0.04"
25 | collection="1.5.0"
26 |
27 | [libraries]
28 | material3-adaptive = { module = "org.jetbrains.compose.material3.adaptive:adaptive", version.ref = "adaptive" }
29 | material-icons-core = { module = "org.jetbrains.compose.material:material-icons-core", version.ref = "materialIconsCore" }
30 | material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "material3" }
31 | material3-navigation-suite = { module = "org.jetbrains.compose.material3:material3-adaptive-navigation-suite", version.ref = "material3" }
32 |
33 |
34 |
35 | androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" }
36 | androidx-lifecycle-viewmodel = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-viewmodel", version.ref = "androidx-lifecycle" }
37 | androidx-lifecycle-viewmodel-compose = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" }
38 |
39 | androidx-lifecycle-runtime-compose = { group = "org.jetbrains.androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "androidx-lifecycle" }
40 | androidx-navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "androidx-navigation" }
41 | kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinxSerializationCore" }
42 | kotlinx-serialization-protobuf = { module = "org.jetbrains.kotlinx:kotlinx-serialization-protobuf", version.ref = "kotlinxSerializationCore" }
43 | kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinxSerializationCore" }
44 |
45 | kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
46 |
47 | koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koinBom" }
48 | koin-core = { module = "io.insert-koin:koin-core" }
49 | koin-compose = { module = "io.insert-koin:koin-compose" }
50 | koin-compose-viewmodel = {group = "io.insert-koin", name = "koin-compose-viewmodel"}
51 |
52 | koin-annotations = { module = "io.insert-koin:koin-annotations", version.ref = "koinAnnotationsVersion" }
53 | koin-ksp-compiler = { module = "io.insert-koin:koin-ksp-compiler", version.ref = "koinAnnotationsVersion" }
54 |
55 | kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
56 | kotlinx-coroutines-swing = {group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-swing", version.ref = "coroutines" }
57 |
58 | okio = { module = "com.squareup.okio:okio", version.ref = "okio" }
59 | okio-fakefilesystem = { module = "com.squareup.okio:okio-fakefilesystem", version.ref = "okio" }
60 | atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "atomicfu" }
61 |
62 | keight = { module = "io.github.alexzhirkevich:keight", version.ref = "keight" }
63 | keight-core = { module = "io.github.alexzhirkevich:keight-core", version.ref = "keight" }
64 | androidx-collection = { module = "androidx.collection:collection", version.ref = "collection" }
65 |
66 | components-resources = { module = "org.jetbrains.compose.components:components-resources", version.ref = "compose-multiplatform" }
67 | ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "compose-multiplatform" }
68 | runtime = { module = "org.jetbrains.compose.runtime:runtime", version.ref = "compose-multiplatform" }
69 | foundation = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "compose-multiplatform" }
70 | ui-tooling-preview = { module = "org.jetbrains.compose.ui:ui-tooling-preview", version.ref = "compose-multiplatform" }
71 | ui-tooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "compose-multiplatform" }
72 |
73 |
74 | [plugins]
75 | androidApplication = { id = "com.android.application", version.ref = "agp" }
76 | androidLibrary = { id = "com.android.library", version.ref = "agp" }
77 | composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose-multiplatform" }
78 | composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
79 | kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
80 | kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
81 | kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
82 | ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
83 | composeHotReload = { id = "org.jetbrains.compose.hot-reload", version.ref = "composeHotReload"}
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Apr 21 21:01:12 IDT 2025
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
5 | networkTimeout=10000
6 | validateDistributionUrl=true
7 | zipStoreBase=GRADLE_USER_HOME
8 | zipStorePath=wrapper/dists
9 |
--------------------------------------------------------------------------------
/gradlew:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 | #
4 | # Copyright © 2015-2021 the original authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # https://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | # SPDX-License-Identifier: Apache-2.0
19 | #
20 |
21 | ##############################################################################
22 | #
23 | # Gradle start up script for POSIX generated by Gradle.
24 | #
25 | # Important for running:
26 | #
27 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
28 | # noncompliant, but you have some other compliant shell such as ksh or
29 | # bash, then to run this script, type that shell name before the whole
30 | # command line, like:
31 | #
32 | # ksh Gradle
33 | #
34 | # Busybox and similar reduced shells will NOT work, because this script
35 | # requires all of these POSIX shell features:
36 | # * functions;
37 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
38 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»;
39 | # * compound commands having a testable exit status, especially «case»;
40 | # * various built-in commands including «command», «set», and «ulimit».
41 | #
42 | # Important for patching:
43 | #
44 | # (2) This script targets any POSIX shell, so it avoids extensions provided
45 | # by Bash, Ksh, etc; in particular arrays are avoided.
46 | #
47 | # The "traditional" practice of packing multiple parameters into a
48 | # space-separated string is a well documented source of bugs and security
49 | # problems, so this is (mostly) avoided, by progressively accumulating
50 | # options in "$@", and eventually passing that to Java.
51 | #
52 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS,
53 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly;
54 | # see the in-line comments for details.
55 | #
56 | # There are tweaks for specific operating systems such as AIX, CygWin,
57 | # Darwin, MinGW, and NonStop.
58 | #
59 | # (3) This script is generated from the Groovy template
60 | # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
61 | # within the Gradle project.
62 | #
63 | # You can find Gradle at https://github.com/gradle/gradle/.
64 | #
65 | ##############################################################################
66 |
67 | # Attempt to set APP_HOME
68 |
69 | # Resolve links: $0 may be a link
70 | app_path=$0
71 |
72 | # Need this for daisy-chained symlinks.
73 | while
74 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path
75 | [ -h "$app_path" ]
76 | do
77 | ls=$( ls -ld "$app_path" )
78 | link=${ls#*' -> '}
79 | case $link in #(
80 | /*) app_path=$link ;; #(
81 | *) app_path=$APP_HOME$link ;;
82 | esac
83 | done
84 |
85 | # This is normally unused
86 | # shellcheck disable=SC2034
87 | APP_BASE_NAME=${0##*/}
88 | # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89 | APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90 | ' "$PWD" ) || exit
91 |
92 | # Use the maximum available, or set MAX_FD != -1 to use that value.
93 | MAX_FD=maximum
94 |
95 | warn () {
96 | echo "$*"
97 | } >&2
98 |
99 | die () {
100 | echo
101 | echo "$*"
102 | echo
103 | exit 1
104 | } >&2
105 |
106 | # OS specific support (must be 'true' or 'false').
107 | cygwin=false
108 | msys=false
109 | darwin=false
110 | nonstop=false
111 | case "$( uname )" in #(
112 | CYGWIN* ) cygwin=true ;; #(
113 | Darwin* ) darwin=true ;; #(
114 | MSYS* | MINGW* ) msys=true ;; #(
115 | NONSTOP* ) nonstop=true ;;
116 | esac
117 |
118 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
119 |
120 |
121 | # Determine the Java command to use to start the JVM.
122 | if [ -n "$JAVA_HOME" ] ; then
123 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
124 | # IBM's JDK on AIX uses strange locations for the executables
125 | JAVACMD=$JAVA_HOME/jre/sh/java
126 | else
127 | JAVACMD=$JAVA_HOME/bin/java
128 | fi
129 | if [ ! -x "$JAVACMD" ] ; then
130 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
131 |
132 | Please set the JAVA_HOME variable in your environment to match the
133 | location of your Java installation."
134 | fi
135 | else
136 | JAVACMD=java
137 | if ! command -v java >/dev/null 2>&1
138 | then
139 | die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
140 |
141 | Please set the JAVA_HOME variable in your environment to match the
142 | location of your Java installation."
143 | fi
144 | fi
145 |
146 | # Increase the maximum file descriptors if we can.
147 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
148 | case $MAX_FD in #(
149 | max*)
150 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
151 | # shellcheck disable=SC2039,SC3045
152 | MAX_FD=$( ulimit -H -n ) ||
153 | warn "Could not query maximum file descriptor limit"
154 | esac
155 | case $MAX_FD in #(
156 | '' | soft) :;; #(
157 | *)
158 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
159 | # shellcheck disable=SC2039,SC3045
160 | ulimit -n "$MAX_FD" ||
161 | warn "Could not set maximum file descriptor limit to $MAX_FD"
162 | esac
163 | fi
164 |
165 | # Collect all arguments for the java command, stacking in reverse order:
166 | # * args from the command line
167 | # * the main class name
168 | # * -classpath
169 | # * -D...appname settings
170 | # * --module-path (only if needed)
171 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables.
172 |
173 | # For Cygwin or MSYS, switch paths to Windows format before running java
174 | if "$cygwin" || "$msys" ; then
175 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" )
176 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" )
177 |
178 | JAVACMD=$( cygpath --unix "$JAVACMD" )
179 |
180 | # Now convert the arguments - kludge to limit ourselves to /bin/sh
181 | for arg do
182 | if
183 | case $arg in #(
184 | -*) false ;; # don't mess with options #(
185 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath
186 | [ -e "$t" ] ;; #(
187 | *) false ;;
188 | esac
189 | then
190 | arg=$( cygpath --path --ignore --mixed "$arg" )
191 | fi
192 | # Roll the args list around exactly as many times as the number of
193 | # args, so each arg winds up back in the position where it started, but
194 | # possibly modified.
195 | #
196 | # NB: a `for` loop captures its iteration list before it begins, so
197 | # changing the positional parameters here affects neither the number of
198 | # iterations, nor the values presented in `arg`.
199 | shift # remove old arg
200 | set -- "$@" "$arg" # push replacement arg
201 | done
202 | fi
203 |
204 |
205 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
206 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
207 |
208 | # Collect all arguments for the java command:
209 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
210 | # and any embedded shellness will be escaped.
211 | # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
212 | # treated as '${Hostname}' itself on the command line.
213 |
214 | set -- \
215 | "-Dorg.gradle.appname=$APP_BASE_NAME" \
216 | -classpath "$CLASSPATH" \
217 | org.gradle.wrapper.GradleWrapperMain \
218 | "$@"
219 |
220 | # Stop when "xargs" is not available.
221 | if ! command -v xargs >/dev/null 2>&1
222 | then
223 | die "xargs is not available"
224 | fi
225 |
226 | # Use "xargs" to parse quoted args.
227 | #
228 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
229 | #
230 | # In Bash we could simply go:
231 | #
232 | # readarray ARGS < <( xargs -n1 <<<"$var" ) &&
233 | # set -- "${ARGS[@]}" "$@"
234 | #
235 | # but POSIX shell has neither arrays nor command substitution, so instead we
236 | # post-process each arg (as a line of input to sed) to backslash-escape any
237 | # character that might be a shell metacharacter, then use eval to reverse
238 | # that process (while maintaining the separation between arguments), and wrap
239 | # the whole thing up as a single "set" statement.
240 | #
241 | # This will of course break if any of these variables contains a newline or
242 | # an unmatched quote.
243 | #
244 |
245 | eval "set -- $(
246 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" |
247 | xargs -n1 |
248 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' |
249 | tr '\n' ' '
250 | )" '"$@"'
251 |
252 | exec "$JAVACMD" "$@"
253 |
--------------------------------------------------------------------------------
/gradlew.bat:
--------------------------------------------------------------------------------
1 | @rem
2 | @rem Copyright 2015 the original author or authors.
3 | @rem
4 | @rem Licensed under the Apache License, Version 2.0 (the "License");
5 | @rem you may not use this file except in compliance with the License.
6 | @rem You may obtain a copy of the License at
7 | @rem
8 | @rem https://www.apache.org/licenses/LICENSE-2.0
9 | @rem
10 | @rem Unless required by applicable law or agreed to in writing, software
11 | @rem distributed under the License is distributed on an "AS IS" BASIS,
12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | @rem See the License for the specific language governing permissions and
14 | @rem limitations under the License.
15 | @rem
16 | @rem SPDX-License-Identifier: Apache-2.0
17 | @rem
18 |
19 | @if "%DEBUG%"=="" @echo off
20 | @rem ##########################################################################
21 | @rem
22 | @rem Gradle startup script for Windows
23 | @rem
24 | @rem ##########################################################################
25 |
26 | @rem Set local scope for the variables with windows NT shell
27 | if "%OS%"=="Windows_NT" setlocal
28 |
29 | set DIRNAME=%~dp0
30 | if "%DIRNAME%"=="" set DIRNAME=.
31 | @rem This is normally unused
32 | set APP_BASE_NAME=%~n0
33 | set APP_HOME=%DIRNAME%
34 |
35 | @rem Resolve any "." and ".." in APP_HOME to make it shorter.
36 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
37 |
38 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
39 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
40 |
41 | @rem Find java.exe
42 | if defined JAVA_HOME goto findJavaFromJavaHome
43 |
44 | set JAVA_EXE=java.exe
45 | %JAVA_EXE% -version >NUL 2>&1
46 | if %ERRORLEVEL% equ 0 goto execute
47 |
48 | echo. 1>&2
49 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50 | echo. 1>&2
51 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52 | echo location of your Java installation. 1>&2
53 |
54 | goto fail
55 |
56 | :findJavaFromJavaHome
57 | set JAVA_HOME=%JAVA_HOME:"=%
58 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe
59 |
60 | if exist "%JAVA_EXE%" goto execute
61 |
62 | echo. 1>&2
63 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64 | echo. 1>&2
65 | echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66 | echo location of your Java installation. 1>&2
67 |
68 | goto fail
69 |
70 | :execute
71 | @rem Setup the command line
72 |
73 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
74 |
75 |
76 | @rem Execute Gradle
77 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
78 |
79 | :end
80 | @rem End local scope for the variables with windows NT shell
81 | if %ERRORLEVEL% equ 0 goto mainEnd
82 |
83 | :fail
84 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
85 | rem the _cmd.exe /c_ return code!
86 | set EXIT_CODE=%ERRORLEVEL%
87 | if %EXIT_CODE% equ 0 set EXIT_CODE=1
88 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
89 | exit /b %EXIT_CODE%
90 |
91 | :mainEnd
92 | if "%OS%"=="Windows_NT" endlocal
93 |
94 | :omega
95 |
--------------------------------------------------------------------------------
/iosApp/Configuration/Config.xcconfig:
--------------------------------------------------------------------------------
1 | TEAM_ID=
2 |
3 | PRODUCT_NAME=openAnimation
4 | PRODUCT_BUNDLE_IDENTIFIER=com.osg.openanimation.openanimation$(TEAM_ID)
5 |
6 | CURRENT_PROJECT_VERSION=1
7 | MARKETING_VERSION=1.0
--------------------------------------------------------------------------------
/iosApp/StLaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "app-icon-1024.png",
5 | "idiom" : "universal",
6 | "platform" : "ios",
7 | "size" : "1024x1024"
8 | }
9 | ],
10 | "info" : {
11 | "author" : "xcode",
12 | "version" : 1
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app-icon-1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app-icon-1024.png
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/background.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "background.jpg",
5 | "idiom" : "universal"
6 | }
7 | ],
8 | "info" : {
9 | "author" : "xcode",
10 | "version" : 1
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/background.imageset/background.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/iosApp/iosApp/Assets.xcassets/background.imageset/background.jpg
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/sit_new_logo.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "filename" : "sit_full.png",
5 | "idiom" : "universal"
6 | }
7 | ],
8 | "info" : {
9 | "author" : "xcode",
10 | "version" : 1
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Assets.xcassets/sit_new_logo.imageset/sit_full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/iosApp/iosApp/Assets.xcassets/sit_new_logo.imageset/sit_full.png
--------------------------------------------------------------------------------
/iosApp/iosApp/ContentView.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import SwiftUI
3 | import ComposeApp
4 |
5 | struct ComposeView: UIViewControllerRepresentable {
6 | func makeUIViewController(context: Context) -> UIViewController {
7 | MainViewControllerKt.MainViewController()
8 | }
9 |
10 | func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
11 | }
12 |
13 | struct ContentView: View {
14 | var body: some View {
15 | ComposeView()
16 | .ignoresSafeArea(.keyboard) // Compose has own keyboard handler
17 | }
18 | }
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CADisableMinimumFrameDurationOnPhone
6 |
7 | CFBundleDevelopmentRegion
8 | $(DEVELOPMENT_LANGUAGE)
9 | CFBundleExecutable
10 | $(EXECUTABLE_NAME)
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
19 | CFBundleShortVersionString
20 | 1.0
21 | CFBundleVersion
22 | 1
23 | LSApplicationCategoryType
24 | "public.app-category.social-networking"
25 | LSRequiresIPhoneOS
26 |
27 | UIApplicationSceneManifest
28 |
29 | UIApplicationSupportsMultipleScenes
30 |
31 |
32 | UILaunchScreen
33 |
34 | UILaunchStoryboardName
35 | StLaunchScreen.storyboard
36 | UIRequiredDeviceCapabilities
37 |
38 | armv7
39 |
40 | UISupportedInterfaceOrientations
41 |
42 | UIInterfaceOrientationPortrait
43 | UIInterfaceOrientationLandscapeLeft
44 | UIInterfaceOrientationLandscapeRight
45 |
46 | UISupportedInterfaceOrientations~ipad
47 |
48 | UIInterfaceOrientationPortrait
49 | UIInterfaceOrientationPortraitUpsideDown
50 | UIInterfaceOrientationLandscapeLeft
51 | UIInterfaceOrientationLandscapeRight
52 |
53 |
54 |
55 |
--------------------------------------------------------------------------------
/iosApp/iosApp/Preview Content/Preview Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/iosApp/iosApp/iOSApp.swift:
--------------------------------------------------------------------------------
1 | import SwiftUI
2 |
3 | @main
4 | struct iOSApp: App {
5 | var body: some Scene {
6 | WindowGroup {
7 | ContentView()
8 | .ignoresSafeArea(edges: .all)
9 | .ignoresSafeArea(.keyboard)
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/iosApp/openAnimationApp.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 77;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 6BD518882DEC5BFE005B3BFA /* StLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6BD518872DEC5BFE005B3BFA /* StLaunchScreen.storyboard */; };
11 | /* End PBXBuildFile section */
12 |
13 | /* Begin PBXFileReference section */
14 | 6BD518872DEC5BFE005B3BFA /* StLaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = StLaunchScreen.storyboard; sourceTree = ""; };
15 | B9DA97B12DC1472C00A4DA20 /* openAnimation.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = openAnimation.app; sourceTree = BUILT_PRODUCTS_DIR; };
16 | /* End PBXFileReference section */
17 |
18 | /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
19 | B99700CA2DC9B8D800C7335B /* Exceptions for "iosApp" folder in "openAnimationApp" target */ = {
20 | isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
21 | membershipExceptions = (
22 | Info.plist,
23 | );
24 | target = B9DA97B02DC1472C00A4DA20 /* openAnimationApp */;
25 | };
26 | /* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
27 |
28 | /* Begin PBXFileSystemSynchronizedRootGroup section */
29 | B9DA97B32DC1472C00A4DA20 /* iosApp */ = {
30 | isa = PBXFileSystemSynchronizedRootGroup;
31 | exceptions = (
32 | B99700CA2DC9B8D800C7335B /* Exceptions for "iosApp" folder in "openAnimationApp" target */,
33 | );
34 | path = iosApp;
35 | sourceTree = "";
36 | };
37 | B9DA98002DC14AA900A4DA20 /* Configuration */ = {
38 | isa = PBXFileSystemSynchronizedRootGroup;
39 | path = Configuration;
40 | sourceTree = "";
41 | };
42 | /* End PBXFileSystemSynchronizedRootGroup section */
43 |
44 | /* Begin PBXFrameworksBuildPhase section */
45 | B9DA97AE2DC1472C00A4DA20 /* Frameworks */ = {
46 | isa = PBXFrameworksBuildPhase;
47 | buildActionMask = 2147483647;
48 | files = (
49 | );
50 | runOnlyForDeploymentPostprocessing = 0;
51 | };
52 | /* End PBXFrameworksBuildPhase section */
53 |
54 | /* Begin PBXGroup section */
55 | B9DA97A82DC1472C00A4DA20 = {
56 | isa = PBXGroup;
57 | children = (
58 | 6BD518872DEC5BFE005B3BFA /* StLaunchScreen.storyboard */,
59 | B9DA98002DC14AA900A4DA20 /* Configuration */,
60 | B9DA97B32DC1472C00A4DA20 /* iosApp */,
61 | B9DA97B22DC1472C00A4DA20 /* Products */,
62 | );
63 | sourceTree = "";
64 | };
65 | B9DA97B22DC1472C00A4DA20 /* Products */ = {
66 | isa = PBXGroup;
67 | children = (
68 | B9DA97B12DC1472C00A4DA20 /* openAnimation.app */,
69 | );
70 | name = Products;
71 | sourceTree = "";
72 | };
73 | /* End PBXGroup section */
74 |
75 | /* Begin PBXNativeTarget section */
76 | B9DA97B02DC1472C00A4DA20 /* openAnimationApp */ = {
77 | isa = PBXNativeTarget;
78 | buildConfigurationList = B9DA97BF2DC1472D00A4DA20 /* Build configuration list for PBXNativeTarget "openAnimationApp" */;
79 | buildPhases = (
80 | B9DA97F42DC1497100A4DA20 /* Compile Kotlin Framework */,
81 | B9DA97AD2DC1472C00A4DA20 /* Sources */,
82 | B9DA97AE2DC1472C00A4DA20 /* Frameworks */,
83 | B9DA97AF2DC1472C00A4DA20 /* Resources */,
84 | );
85 | buildRules = (
86 | );
87 | dependencies = (
88 | );
89 | fileSystemSynchronizedGroups = (
90 | B9DA97B32DC1472C00A4DA20 /* iosApp */,
91 | );
92 | name = openAnimationApp;
93 | packageProductDependencies = (
94 | );
95 | productName = iosApp;
96 | productReference = B9DA97B12DC1472C00A4DA20 /* openAnimation.app */;
97 | productType = "com.apple.product-type.application";
98 | };
99 | /* End PBXNativeTarget section */
100 |
101 | /* Begin PBXProject section */
102 | B9DA97A92DC1472C00A4DA20 /* Project object */ = {
103 | isa = PBXProject;
104 | attributes = {
105 | BuildIndependentTargetsInParallel = 1;
106 | LastSwiftUpdateCheck = 1620;
107 | LastUpgradeCheck = 1620;
108 | TargetAttributes = {
109 | B9DA97B02DC1472C00A4DA20 = {
110 | CreatedOnToolsVersion = 16.2;
111 | };
112 | };
113 | };
114 | buildConfigurationList = B9DA97AC2DC1472C00A4DA20 /* Build configuration list for PBXProject "openAnimationApp" */;
115 | developmentRegion = en;
116 | hasScannedForEncodings = 0;
117 | knownRegions = (
118 | en,
119 | Base,
120 | );
121 | mainGroup = B9DA97A82DC1472C00A4DA20;
122 | minimizedProjectReferenceProxies = 1;
123 | preferredProjectObjectVersion = 77;
124 | productRefGroup = B9DA97B22DC1472C00A4DA20 /* Products */;
125 | projectDirPath = "";
126 | projectRoot = "";
127 | targets = (
128 | B9DA97B02DC1472C00A4DA20 /* openAnimationApp */,
129 | );
130 | };
131 | /* End PBXProject section */
132 |
133 | /* Begin PBXResourcesBuildPhase section */
134 | B9DA97AF2DC1472C00A4DA20 /* Resources */ = {
135 | isa = PBXResourcesBuildPhase;
136 | buildActionMask = 2147483647;
137 | files = (
138 | 6BD518882DEC5BFE005B3BFA /* StLaunchScreen.storyboard in Resources */,
139 | );
140 | runOnlyForDeploymentPostprocessing = 0;
141 | };
142 | /* End PBXResourcesBuildPhase section */
143 |
144 | /* Begin PBXShellScriptBuildPhase section */
145 | B9DA97F42DC1497100A4DA20 /* Compile Kotlin Framework */ = {
146 | isa = PBXShellScriptBuildPhase;
147 | alwaysOutOfDate = 1;
148 | buildActionMask = 2147483647;
149 | files = (
150 | );
151 | inputFileListPaths = (
152 | );
153 | inputPaths = (
154 | );
155 | name = "Compile Kotlin Framework";
156 | outputFileListPaths = (
157 | );
158 | outputPaths = (
159 | );
160 | runOnlyForDeploymentPostprocessing = 0;
161 | shellPath = /bin/sh;
162 | shellScript = "if [ \"YES\" = \"$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED\" ]; then\n echo \"Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to \\\"YES\\\"\"\n exit 0\nfi\ncd \"$SRCROOT/..\"\n./gradlew :composeApp:embedAndSignAppleFrameworkForXcode\n";
163 | };
164 | /* End PBXShellScriptBuildPhase section */
165 |
166 | /* Begin PBXSourcesBuildPhase section */
167 | B9DA97AD2DC1472C00A4DA20 /* Sources */ = {
168 | isa = PBXSourcesBuildPhase;
169 | buildActionMask = 2147483647;
170 | files = (
171 | );
172 | runOnlyForDeploymentPostprocessing = 0;
173 | };
174 | /* End PBXSourcesBuildPhase section */
175 |
176 | /* Begin XCBuildConfiguration section */
177 | B9DA97BD2DC1472D00A4DA20 /* Debug */ = {
178 | isa = XCBuildConfiguration;
179 | buildSettings = {
180 | ALWAYS_SEARCH_USER_PATHS = NO;
181 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
182 | CLANG_ANALYZER_NONNULL = YES;
183 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
184 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
185 | CLANG_ENABLE_MODULES = YES;
186 | CLANG_ENABLE_OBJC_ARC = YES;
187 | CLANG_ENABLE_OBJC_WEAK = YES;
188 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
189 | CLANG_WARN_BOOL_CONVERSION = YES;
190 | CLANG_WARN_COMMA = YES;
191 | CLANG_WARN_CONSTANT_CONVERSION = YES;
192 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
193 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
194 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
195 | CLANG_WARN_EMPTY_BODY = YES;
196 | CLANG_WARN_ENUM_CONVERSION = YES;
197 | CLANG_WARN_INFINITE_RECURSION = YES;
198 | CLANG_WARN_INT_CONVERSION = YES;
199 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
200 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
201 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
202 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
203 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
204 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
205 | CLANG_WARN_STRICT_PROTOTYPES = YES;
206 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
207 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
208 | CLANG_WARN_UNREACHABLE_CODE = YES;
209 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
210 | COPY_PHASE_STRIP = NO;
211 | DEBUG_INFORMATION_FORMAT = dwarf;
212 | ENABLE_STRICT_OBJC_MSGSEND = YES;
213 | ENABLE_TESTABILITY = YES;
214 | ENABLE_USER_SCRIPT_SANDBOXING = NO;
215 | GCC_C_LANGUAGE_STANDARD = gnu17;
216 | GCC_DYNAMIC_NO_PIC = NO;
217 | GCC_NO_COMMON_BLOCKS = YES;
218 | GCC_OPTIMIZATION_LEVEL = 0;
219 | GCC_PREPROCESSOR_DEFINITIONS = (
220 | "DEBUG=1",
221 | "$(inherited)",
222 | );
223 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
224 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
225 | GCC_WARN_UNDECLARED_SELECTOR = YES;
226 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
227 | GCC_WARN_UNUSED_FUNCTION = YES;
228 | GCC_WARN_UNUSED_VARIABLE = YES;
229 | IPHONEOS_DEPLOYMENT_TARGET = 18.2;
230 | LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
231 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
232 | MTL_FAST_MATH = YES;
233 | ONLY_ACTIVE_ARCH = YES;
234 | SDKROOT = iphoneos;
235 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
236 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
237 | };
238 | name = Debug;
239 | };
240 | B9DA97BE2DC1472D00A4DA20 /* Release */ = {
241 | isa = XCBuildConfiguration;
242 | buildSettings = {
243 | ALWAYS_SEARCH_USER_PATHS = NO;
244 | ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
245 | CLANG_ANALYZER_NONNULL = YES;
246 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
247 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
248 | CLANG_ENABLE_MODULES = YES;
249 | CLANG_ENABLE_OBJC_ARC = YES;
250 | CLANG_ENABLE_OBJC_WEAK = YES;
251 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
252 | CLANG_WARN_BOOL_CONVERSION = YES;
253 | CLANG_WARN_COMMA = YES;
254 | CLANG_WARN_CONSTANT_CONVERSION = YES;
255 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
256 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
257 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
258 | CLANG_WARN_EMPTY_BODY = YES;
259 | CLANG_WARN_ENUM_CONVERSION = YES;
260 | CLANG_WARN_INFINITE_RECURSION = YES;
261 | CLANG_WARN_INT_CONVERSION = YES;
262 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
263 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
264 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
265 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
266 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
267 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
268 | CLANG_WARN_STRICT_PROTOTYPES = YES;
269 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
270 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
271 | CLANG_WARN_UNREACHABLE_CODE = YES;
272 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
273 | COPY_PHASE_STRIP = NO;
274 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
275 | ENABLE_NS_ASSERTIONS = NO;
276 | ENABLE_STRICT_OBJC_MSGSEND = YES;
277 | ENABLE_USER_SCRIPT_SANDBOXING = NO;
278 | GCC_C_LANGUAGE_STANDARD = gnu17;
279 | GCC_NO_COMMON_BLOCKS = YES;
280 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
281 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
282 | GCC_WARN_UNDECLARED_SELECTOR = YES;
283 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
284 | GCC_WARN_UNUSED_FUNCTION = YES;
285 | GCC_WARN_UNUSED_VARIABLE = YES;
286 | IPHONEOS_DEPLOYMENT_TARGET = 18.2;
287 | LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
288 | MTL_ENABLE_DEBUG_INFO = NO;
289 | MTL_FAST_MATH = YES;
290 | SDKROOT = iphoneos;
291 | SWIFT_COMPILATION_MODE = wholemodule;
292 | VALIDATE_PRODUCT = YES;
293 | };
294 | name = Release;
295 | };
296 | B9DA97C02DC1472D00A4DA20 /* Debug */ = {
297 | isa = XCBuildConfiguration;
298 | baseConfigurationReferenceAnchor = B9DA98002DC14AA900A4DA20 /* Configuration */;
299 | baseConfigurationReferenceRelativePath = Config.xcconfig;
300 | buildSettings = {
301 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
302 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
303 | CODE_SIGN_IDENTITY = "Apple Development";
304 | CODE_SIGN_STYLE = Automatic;
305 | DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
306 | DEVELOPMENT_TEAM = 2PVNM7P424;
307 | ENABLE_PREVIEWS = YES;
308 | FRAMEWORK_SEARCH_PATHS = (
309 | "$(inherited)",
310 | "$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
311 | );
312 | GENERATE_INFOPLIST_FILE = YES;
313 | INFOPLIST_FILE = iosApp/Info.plist;
314 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
315 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
316 | INFOPLIST_KEY_UILaunchScreen_Generation = YES;
317 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
318 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
319 | LD_RUNPATH_SEARCH_PATHS = (
320 | "$(inherited)",
321 | "@executable_path/Frameworks",
322 | );
323 | SWIFT_EMIT_LOC_STRINGS = YES;
324 | SWIFT_VERSION = 5.0;
325 | TARGETED_DEVICE_FAMILY = "1,2";
326 | };
327 | name = Debug;
328 | };
329 | B9DA97C12DC1472D00A4DA20 /* Release */ = {
330 | isa = XCBuildConfiguration;
331 | baseConfigurationReferenceAnchor = B9DA98002DC14AA900A4DA20 /* Configuration */;
332 | baseConfigurationReferenceRelativePath = Config.xcconfig;
333 | buildSettings = {
334 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
335 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
336 | CODE_SIGN_IDENTITY = "Apple Development";
337 | CODE_SIGN_STYLE = Automatic;
338 | DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
339 | DEVELOPMENT_TEAM = 2PVNM7P424;
340 | ENABLE_PREVIEWS = YES;
341 | FRAMEWORK_SEARCH_PATHS = (
342 | "$(inherited)",
343 | "$(SRCROOT)/../shared/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)\n$(SRCROOT)/../composeApp/build/xcode-frameworks/$(CONFIGURATION)/$(SDK_NAME)",
344 | );
345 | GENERATE_INFOPLIST_FILE = YES;
346 | INFOPLIST_FILE = iosApp/Info.plist;
347 | INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
348 | INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
349 | INFOPLIST_KEY_UILaunchScreen_Generation = YES;
350 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
351 | INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
352 | LD_RUNPATH_SEARCH_PATHS = (
353 | "$(inherited)",
354 | "@executable_path/Frameworks",
355 | );
356 | SWIFT_EMIT_LOC_STRINGS = YES;
357 | SWIFT_VERSION = 5.0;
358 | TARGETED_DEVICE_FAMILY = "1,2";
359 | };
360 | name = Release;
361 | };
362 | /* End XCBuildConfiguration section */
363 |
364 | /* Begin XCConfigurationList section */
365 | B9DA97AC2DC1472C00A4DA20 /* Build configuration list for PBXProject "openAnimationApp" */ = {
366 | isa = XCConfigurationList;
367 | buildConfigurations = (
368 | B9DA97BD2DC1472D00A4DA20 /* Debug */,
369 | B9DA97BE2DC1472D00A4DA20 /* Release */,
370 | );
371 | defaultConfigurationIsVisible = 0;
372 | defaultConfigurationName = Release;
373 | };
374 | B9DA97BF2DC1472D00A4DA20 /* Build configuration list for PBXNativeTarget "openAnimationApp" */ = {
375 | isa = XCConfigurationList;
376 | buildConfigurations = (
377 | B9DA97C02DC1472D00A4DA20 /* Debug */,
378 | B9DA97C12DC1472D00A4DA20 /* Release */,
379 | );
380 | defaultConfigurationIsVisible = 0;
381 | defaultConfigurationName = Release;
382 | };
383 | /* End XCConfigurationList section */
384 | };
385 | rootObject = B9DA97A92DC1472C00A4DA20 /* Project object */;
386 | }
387 |
--------------------------------------------------------------------------------
/iosApp/openAnimationApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/readme_images/app-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/readme_images/app-icon.png
--------------------------------------------------------------------------------
/readme_images/drop_edit.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/readme_images/drop_edit.gif
--------------------------------------------------------------------------------
/readme_images/multiplatform_open-animation.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/readme_images/multiplatform_open-animation.png
--------------------------------------------------------------------------------
/readme_images/openanimation.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/orispok/OpenAnimationApp/HEAD/readme_images/openanimation.gif
--------------------------------------------------------------------------------
/settings.gradle.kts:
--------------------------------------------------------------------------------
1 | rootProject.name = "OpenAnimationApp"
2 | enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
3 |
4 | pluginManagement {
5 | repositories {
6 | google {
7 | mavenContent {
8 | includeGroupAndSubgroups("androidx")
9 | includeGroupAndSubgroups("com.android")
10 | includeGroupAndSubgroups("com.google")
11 | }
12 | }
13 | mavenCentral()
14 | gradlePluginPortal()
15 | }
16 | }
17 |
18 | dependencyResolutionManagement {
19 | repositories {
20 | google {
21 | mavenContent {
22 | includeGroupAndSubgroups("androidx")
23 | includeGroupAndSubgroups("com.android")
24 | includeGroupAndSubgroups("com.google")
25 | }
26 | }
27 | mavenCentral()
28 | }
29 | }
30 |
31 | include("core:data")
32 | include("core:ui")
33 | include(":compottie:compottie")
34 | include(":compottie:compottie-core")
35 | include(":compottie:compottie-lite")
36 | include(":composeApp")
--------------------------------------------------------------------------------