React-native-mapbox-gl: Release on npm

Created on 17 Sep 2017  路  12Comments  路  Source: nitaliano/react-native-mapbox-gl

I was trying to use the offline functions but they were merged 19 days ago and the latest release on npm is 2 months ago (5.2.0), would anybody be able to release the new version? Thanks!

Most helpful comment

@lucasbento @StasDoskalenko @henrikra It's been published - https://www.npmjs.com/package/@mapbox/react-native-mapbox-gl

Just a quick note since the namespace has changed you're going to need to unlink and relink the project to point to @mapbox/react-native-mapbox-gl instead of react-native-mapbox-gl, so at a high level

  • Javascript imports react-native-mapbox-gl -> @mapbox/react-native-mapbox-gl
  • Android build.gradle and settings.gradle need to point to @mapbox/react-native-mapbox-gl
  • iOS Mapbox.framework and libRCTMapboxGL.a need to point to @mapbox/react-native-mapbox-gl

If you have any problems with the update please post back in this issue so we can squash them!

All 12 comments

Yeah would be awesome to get 5.2.1 out to get all latest fixes on iOS. Example https://github.com/mapbox/react-native-mapbox-gl/pull/555 is still not released @nitaliano

I just tried to do a publish I don't have access to publish yet. I'll make sure I get added as an owner tomorrow and do a 5.2.1 publish.

Great, thanks @nitaliano!

Hey, @nitaliano ! Could you please publish or at least merge with this PR? https://github.com/mapbox/react-native-mapbox-gl/pull/553

We're going to be scoping this package now so today I'll be doing a 5.2.2 release at @mapbox/react-native-mapbox-gl and https://github.com/mapbox/react-native-mapbox-gl/pull/553 will be included

@lucasbento @StasDoskalenko @henrikra It's been published - https://www.npmjs.com/package/@mapbox/react-native-mapbox-gl

Just a quick note since the namespace has changed you're going to need to unlink and relink the project to point to @mapbox/react-native-mapbox-gl instead of react-native-mapbox-gl, so at a high level

  • Javascript imports react-native-mapbox-gl -> @mapbox/react-native-mapbox-gl
  • Android build.gradle and settings.gradle need to point to @mapbox/react-native-mapbox-gl
  • iOS Mapbox.framework and libRCTMapboxGL.a need to point to @mapbox/react-native-mapbox-gl

If you have any problems with the update please post back in this issue so we can squash them!

@nitaliano I am getting 404 for that link
image

@henrikra haha yes I just made it public

Okay nice! Btw why namespace changed? :D

We wanted to move it under the mapbox org, so anyone at mapbox can publish a new version to npm

Good thinking!

Awesome, thank you, @nitaliano!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Maxence-Machu picture Maxence-Machu  路  3Comments

Gp2mv3 picture Gp2mv3  路  3Comments

digitaldavenyc picture digitaldavenyc  路  4Comments

alexisohayon picture alexisohayon  路  4Comments

EugenePisotsky picture EugenePisotsky  路  4Comments