stadiamaps / ferrostar

A FOSS navigation SDK built from the ground up for the future
https://stadiamaps.github.io/ferrostar/
Other
91 stars 11 forks source link

React Native core wrapper #116

Open ianthetechie opened 2 weeks ago

ianthetechie commented 2 weeks ago

Wrapping the FerrostarCore classes in an Expo library will get us halfway to full RN support. MapLibre React Native already provides an acceptable solution for a fully custom UI.

There is an ongoing slack thread discussing the process, and it appears that RN doesn't support SPM: https://github.com/react-native-community/discussions-and-proposals/issues/587.

It appears that a workaround that enables integrating (at least some types of) SPM packages via CocoaPods: https://github.com/facebook/react-native/pull/44627. The PR is pretty fresh and the last comment was only a few days ago, so I'm somewhat hopeful this can land (not sure how long it takes to get to a release though).

ianthetechie commented 2 weeks ago

Dropping this link as well in case it becomes relevant: https://stackoverflow.com/questions/77701620/how-to-support-swift-macro-in-a-project-integrated-by-cocoapods/. This shouldn't be an issue for the core, but it might be depending on how the pod works.