Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to be consumed without use_frameworks! #714

Merged
merged 1 commit into from
Mar 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}