Skip to content

Commit

Permalink
Allow to be consumed without use_frameworks!
Browse files Browse the repository at this point in the history
  • Loading branch information
mfazekas committed Mar 11, 2020
1 parent 3667ce3 commit f2a1fd6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,14 @@ target 'RNMapboxGLExample' do
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-mapbox-gl', :path => '../node_modules/@react-native-mapbox-gl/maps'


target 'RNMapboxGLExampleTests' do
inherit! :search_paths
# Pods for testing
end

use_frameworks!
pod 'NoUseFrameworks-MapboxMobileEvents', :podspec => '../node_modules/@react-native-mapbox-gl/maps/ios/NoUseFrameworks-MapboxMobileEvents/NoUseFrameworks-MapboxMobileEvents.podspec.json'
# use_frameworks!

use_native_modules!
end

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "NoUseFrameworks-MapboxMobileEvents",
"version": "0.10.2",
"summary": "Mapbox Mobile Events",
"description": "This is a workaround that allows consumption of Mapbox-iOS-SDK without use_frameworks!. Mapbox Mobile Events collects usage information to help Mapbox improve its products.",
"homepage": "https://github.com/react-native-mapbox-gl/maps/pull/714",
"license": {
"type": "ISC",
"file": "LICENSE.md"
},
"authors": {
"Mapbox": "mobile@mapbox.com"
},
"screenshots": "https://docs.mapbox.com/ios/api/maps/5.7.0/img/screenshot.png",
"social_media_url": "https://twitter.com/mapbox",
"source": {
"http": "https://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/mapbox-ios-sdk-5.7.0-dynamic-with-events.zip",
"flatten": true
},
"platforms": {
"ios": "9.0"
},
"requires_arc": true,
"vendored_frameworks": "dynamic/MapboxMobileEvents.framework",
"module_name": "MapboxMobileEvents",
"preserve_paths": "**/*.bcsymbolmap"
}

0 comments on commit f2a1fd6

Please sign in to comment.