-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: add iOS as a supported platform #169
base: main
Are you sure you want to change the base?
Conversation
Deploying flutter-maplibre with Cloudflare Pages
|
…#172) ## Description Just as on Android, a `MapLibreRegistry` class gets used to access the MLNMapView instance from inside dart. Programmatic control is handled using pigeon method channels and objective c ffi. Applying paint and layout properties is not part of this pull request. The Swift header file is generated with ```bash cd maplibre_ios/ios/maplibre_ios/Sources/maplibre_ios/ swiftc -c MapLibreRegistry.swift -module-name maplibre_ios -emit-objc-header-path MapLibreRegistry.h -emit-library -o libmaplibreios.dylib ``` ## Resources - https://dart.dev/interop/objective-c-interop
Yes of course, @birkskyum. iOS support is currently the most requested feature and the biggest blockers of using this package. I donate my time and effort to open source, but am not able to carry these costs for an open source project. Even though, I pre-funded the hardware and started implementation so that sponsors have a decent guarantee of delivery. The only use those devices had since I bought them is the development of the maplibre flutter package - so there is really no dual use here. 😄 The idea is to do a crowd-funding campain so that multiple parties can fund this feature together. There has been some interest in sponsoring, for example in #111 (comment). In the meantime, the iOS implementation gets published in this pull request under the OSI approved "The Open Software License 3.0". This allows commercial interested parties to follow along its progress and non profit projects to already get their hands on early. I really do hope that this is in the interest of everyone and I am open for any feedback or suggestions. |
Check the tasklist of the issue to follow the current progress.
Warning
The iOS implementation is during the funding phase provided under
the Non-Profit Open Software License version 3.0 (NPOSL-3.0).
After funding is completed, it will get released under the permissive 3-Clause BSD License.