Giter Club home page Giter Club logo

Comments (4)

eznix86 avatar eznix86 commented on June 2, 2024 1
install! 'cocoapods', :disable_input_output_paths => true # <----- NEW

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'

target 'app' do
  config = use_native_modules!

  use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
  )

  target 'appTests' do
    inherit! :complete
    # Pods for testing
  end

  pre_install do |installer| # <----- NEW
    $RNMBNAV.pre_install(installer) # <----- NEW
  end # <----- NEW

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable the next line.
  use_flipper!()

  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
    flipper_post_install(installer) # <----- NEW
    $RNMBNAV.post_install(installer) # <----- NEW
  end
  
end

from react-native-mapbox-navigation.

Polyrion avatar Polyrion commented on June 2, 2024

There is an alternative with MapBox Navigation SDK 2.6 I made an article and you have a repo available with all explanation
https://medium.com/@youssef.alakkad/implement-mapbox-navigation-with-react-native-f6b7fb4345e5

from react-native-mapbox-navigation.

daanlenaerts avatar daanlenaerts commented on June 2, 2024

@Polyrion did you also remember to run pod install again after making this change to your Podfile?

from react-native-mapbox-navigation.

amritk avatar amritk commented on June 2, 2024

Made a little plugin for this

yarn add @driveapp/expo-plugin-pod-disable-paths

then add to your plugins in config file

  plugins: [
    '@driveapp/expo-plugin-pod-disable-paths',
  ],

from react-native-mapbox-navigation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.