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

feat: add iOS as a supported platform #169

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

feat: add iOS as a supported platform #169

wants to merge 31 commits into from

Conversation

josxha
Copy link
Owner

@josxha josxha commented Dec 7, 2024

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.

@josxha josxha added the ios iOS specific issue label Dec 7, 2024
@josxha josxha added this to the iOS milestone Dec 7, 2024
@josxha josxha self-assigned this Dec 7, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 7, 2024

Deploying flutter-maplibre with  Cloudflare Pages  Cloudflare Pages

Latest commit: 236d7bb
Status: ✅  Deploy successful!
Preview URL: https://71266261.flutter-maplibre.pages.dev
Branch Preview URL: https://ios.flutter-maplibre.pages.dev

View logs

…#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios iOS specific issue
Projects
Status: In Progress
1 participant