Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
616 stars 180 forks source link

Flutter support #391

Closed ClarissaGazalaEvanthe closed 3 months ago

ClarissaGazalaEvanthe commented 9 months ago

I don't have java experience, please provide/make a flutter library

Auties00 commented 9 months ago

You could use kotlin multiplatform to create bindings for Android and IOS and then using platform channels invoke those bindings. Still I don't have plans to work on this myself

Sanim27 commented 9 months ago

after i setup path variable and ran flutter doctor i got this message :- Exception: Flutter failed to create a directory at "/Users/sanimpandey/.config/flutter". Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.

Auties00 commented 9 months ago

after i setup path variable and ran flutter doctor i got this message :- Exception: Flutter failed to create a directory at "/Users/sanimpandey/.config/flutter". Please ensure that the SDK and/or project is installed in a location that has read/write permissions for the current user.

This isn't the place to ask for flutter support as it has nothing to do with this library

developerfyp commented 9 months ago

You could use kotlin multiplatform to create bindings for Android and IOS and then using platform channels invoke those bindings. Still I don't have plans to work on this myself

you can flutter, please make it support

codespearhead commented 4 months ago

I wonder what use case calls for a Flutter port of the project, since the whole point of having an API is to not have to rely on a mobile device.

Auties00 commented 3 months ago

I wonder what use case calls for a Flutter port of the project, since the whole point of having an API is to not have to rely on a mobile device.

flutter desktop is a thing and it's very good, but realistically you can easily invoke the java apis under the hood. For android and ios support, sorry but it looks like Kotlin native doesn't support java libraries (should have been obvious i guess), so I won't add support for this feature