react-native-mapbox-navigation icon indicating copy to clipboard operation
react-native-mapbox-navigation copied to clipboard

Expo EAS

Open craigmulligan opened this issue 1 year ago • 13 comments

Has anyone had a go at packaging this with expo's new EAS build system? I'm planning on working on it but checking if anyone has got it working before.

As far as I can tell it requires writing a expo plugin that writes the manifest files for each platform at build time. You can see an example of bluetooth here: https://github.com/expo/config-plugins/tree/main/packages/react-native-ble-plx

craigmulligan avatar Apr 05 '23 17:04 craigmulligan

did you manage to get it done?

mckeny3 avatar May 21 '23 16:05 mckeny3

I haven't yet. But I do still plan on working on it. Will update that issue when I get around to it.

craigmulligan avatar May 24 '23 15:05 craigmulligan

Any updates @craigmulligan? I await your feedback with baited breath :S

zivc avatar Jun 10 '23 22:06 zivc

Just a small update, I had a quick look and it appears the nmapbox packages plugin does everything we need for android, so just installing it along with this package works fine, the problem now is that react-native-mapbox-navigation uses and older version of gradle than the expo build system so it's failing to build because of deprecations in gradle 7 so trying to figure that out atm.

craigmulligan avatar Jun 14 '23 20:06 craigmulligan

@craigmulligan i'm going through the same issue regarding old gradle version, have you managed to make it work ?

ismael-su avatar Jun 24 '23 10:06 ismael-su

No haven't looked at it again. I still hope to at some point.

craigmulligan avatar Jul 01 '23 21:07 craigmulligan

Any updates?

JKKholmatov avatar Jul 21 '23 05:07 JKKholmatov

Any updates?

Am working on a workaround. Works with native module on Android but eventually crashes when route tiles render. By not showing the route tiles it works I will soon publish the npm package

ismael-su avatar Jul 23 '23 21:07 ismael-su

yep...gave me headache...i had to switch to flutter...the mapbox navigation work there

mckeny3 avatar Jul 23 '23 23:07 mckeny3

Any updates?

Am working on a workaround. Works with native module on Android but eventually crashes when route tiles render. By not showing the route tiles it works I will soon publish the npm package

Hey @ismael-su ! I'm trying to implement an Expo Module myself to use the latest versions of the iOS and Android Mapbox Navigation sdks (so basically skipping this library which seems unmantained), and I came across your comment.

I currently have it working in iOS but in Android it crashes as soon as the map attempts to render. Im trying to instantiate a very basic NavigationView (btw, the same code does work in a native Android project).

Can you tell me more about how you solved it if you happen to do it? and also how can I disable the tiles so I can see if at least that gets me through instantiating the view.

Thanks in advance!

santitopo avatar Oct 17 '23 03:10 santitopo

Did anyone manage to get it working with expo eas?

KindCoder-no avatar Feb 15 '24 23:02 KindCoder-no

@santitopo hello, just realized you mentionned me, i stopped working on the project months ago because i wasn't even able to reproduce the working build. am still waiting

ismael-su avatar Feb 16 '24 10:02 ismael-su

I'm thinking about creating an expo-plugin. Wondering if I need to use the forked library from #116 or if this is the repo I should attempt to do it on.

Does anyone have feedback on what library they're currently using?

cmaycumber avatar Sep 03 '24 15:09 cmaycumber