mhbdev / ton

Ton Sdk for Flutter
MIT License
10 stars 0 forks source link

Making the package platform specific just like `shared_preferences` package #6

Open mhbdev opened 1 year ago

mhbdev commented 1 year ago

Docs: https://docs.flutter.dev/packages-and-plugins/developing-packages

Tejoooo commented 1 year ago

@mhbdev can u elaborate wht exactly needs to be done to solve this issue and i am ready to work on this u can assign me

mhbdev commented 1 year ago

@mhbdev can u elaborate wht exactly needs to be done to solve this issue and i am ready to work on this u can assign me

Hi there 😊 Thanks for participating. We are going to make this plugin a Federated plugin means:

Federated plugins are a way of splitting support for different platforms into separate packages. So, a federated plugin can use one package for iOS, another for Android, another for web, and yet another for a car (as an example of an IoT device). Among other benefits, this approach allows a domain expert to extend an existing plugin to work for the platform they know best.

The complete guide on how to do so can be found in here.