Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin Multiplatform support #46

Open
scottkruse opened this issue Sep 28, 2021 · 13 comments
Open

Kotlin Multiplatform support #46

scottkruse opened this issue Sep 28, 2021 · 13 comments
Assignees
Labels
enhancement New feature or request

Comments

@scottkruse
Copy link

scottkruse commented Sep 28, 2021

Is your feature request related to a problem? Please describe.
Is there plans for enabling Kotlin for multiplatform support? One current pain point is standardizing data flow coming from client apps. Looking at the source it looks well equipped for a Multiplatform future (pure Kotlin, coroutines, kotlinx serialization, etc)

Describe the solution you'd like
Id like to share higher level architecture for data schemas / middlewares between clients.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@prayansh prayansh added the enhancement New feature or request label Sep 29, 2021
@prayansh
Copy link
Contributor

Hi! @scottkruse. We do not have any current plans to support kotlin multi-platform in the near future. This could change if we get more customer demand for this feature.

In order to understand the scope more, which platforms are you planning to work with?

@scottkruse
Copy link
Author

Android, Native, JS targets

@Reedyuk
Copy link

Reedyuk commented Jan 1, 2022

I would also like to have this, but mainly for:

Android & Native(iOS)

@Reedyuk
Copy link

Reedyuk commented Feb 16, 2022

@scottkruse - I have created a KMP wrapper which should work for you.
https://github.com/MyUNiDAYS/Segmenkt

@eirikvaa
Copy link

If this could support Android and Native (iOS) also, so mainly the KMM approach, that would be fantastic!

@Shabinder
Copy link

+1 for this.

@PepeGuerrero
Copy link

+1 here too, we'd be interested in this.

@yosi199
Copy link

yosi199 commented Oct 29, 2023

Joining in on this - Android and iOS would be great. Actually got here while looking for such library for segment

@Reedyuk
Copy link

Reedyuk commented Oct 29, 2023

@yosi199 - I am using the library I posted above, it's in production.

@yosi199
Copy link

yosi199 commented Oct 29, 2023

@yosi199 - I am using the library I posted above, it's in production.

Cant get it to compile. getting this:

Could not determine the dependencies of task ':analytica:transformAppleMainCInteropDependenciesMetadataForIde'.

Could not resolve all dependencies for configuration ':analytica:appleMainResolvableDependenciesMetadata'.
The project declares repositories, effectively ignoring the repositories you have declared in the settings.
You can figure out how project repositories are declared by configuring your build to fail on project repositories.
See https://docs.gradle.org/8.0/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories for details.
Could not find com.myunidays:segmenkt:0.0.9.
Required by:
project :analytica

Possible solution:

@Reedyuk
Copy link

Reedyuk commented Oct 29, 2023

@yosi199 - I am using the library I posted above, it's in production.

Cant get it to compile. getting this:

Could not determine the dependencies of task ':analytica:transformAppleMainCInteropDependenciesMetadataForIde'.

Could not resolve all dependencies for configuration ':analytica:appleMainResolvableDependenciesMetadata'.

The project declares repositories, effectively ignoring the repositories you have declared in the settings.

You can figure out how project repositories are declared by configuring your build to fail on project repositories.

See https://docs.gradle.org/8.0/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories for details.

Could not find com.myunidays:segmenkt:0.0.9.

 Required by:

     project :analytica

Possible solution:

Can you post this on the project and not here as it's an unofficial library

@carlos-prezzee
Copy link

We have created a custom wrapper similar to https://github.com/MyUNiDAYS/Segmenkt and we integrate segment on the android and iOS side only

@mboudraa
Copy link

I'd like this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

9 participants