diff --git a/ios/RCTMapboxGL/RCTMapboxAnnotation.h b/ios/RCTMapboxGL/RCTMapboxAnnotation.h index 35acef34d..49a691a7a 100644 --- a/ios/RCTMapboxGL/RCTMapboxAnnotation.h +++ b/ios/RCTMapboxGL/RCTMapboxAnnotation.h @@ -3,8 +3,8 @@ #import #import -#import "RCTConvert+MapKit.h" -#import "RCTComponent.h" +#import +#import #import "RCTMapboxGL.h" @class RCTBridge; diff --git a/ios/RCTMapboxGL/RCTMapboxAnnotation.m b/ios/RCTMapboxGL/RCTMapboxAnnotation.m index 862339e10..d853a3ad4 100644 --- a/ios/RCTMapboxGL/RCTMapboxAnnotation.m +++ b/ios/RCTMapboxGL/RCTMapboxAnnotation.m @@ -9,10 +9,10 @@ #import "RCTMapboxAnnotation.h" -#import "RCTEventDispatcher.h" -#import "UIView+React.h" -#import "RCTBridge.h" -#import "RCTUtils.h" +#import +#import +#import +#import @implementation RCTMapboxAnnotation { } diff --git a/ios/RCTMapboxGL/RCTMapboxAnnotationManager.h b/ios/RCTMapboxGL/RCTMapboxAnnotationManager.h index ec86dd2c1..819cfa6a1 100644 --- a/ios/RCTMapboxGL/RCTMapboxAnnotationManager.h +++ b/ios/RCTMapboxGL/RCTMapboxAnnotationManager.h @@ -7,7 +7,7 @@ * of patent rights can be found in the PATENTS file in the same directory. */ -#import "RCTViewManager.h" +#import @interface RCTMapboxAnnotationManager : RCTViewManager diff --git a/ios/RCTMapboxGL/RCTMapboxAnnotationManager.m b/ios/RCTMapboxGL/RCTMapboxAnnotationManager.m index 1c886104b..dca8846f4 100644 --- a/ios/RCTMapboxGL/RCTMapboxAnnotationManager.m +++ b/ios/RCTMapboxGL/RCTMapboxAnnotationManager.m @@ -9,9 +9,9 @@ #import "RCTMapboxAnnotationManager.h" -#import "RCTUIManager.h" -#import "RCTConvert+CoreLocation.h" -#import "UIView+React.h" +#import +#import +#import #import "RCTMapboxAnnotation.h" @interface RCTMapboxAnnotationManager () diff --git a/ios/RCTMapboxGL/RCTMapboxGL.h b/ios/RCTMapboxGL/RCTMapboxGL.h index 1dc2123c5..1d165830f 100644 --- a/ios/RCTMapboxGL/RCTMapboxGL.h +++ b/ios/RCTMapboxGL/RCTMapboxGL.h @@ -7,9 +7,9 @@ // #import -#import "RCTView.h" -#import "RCTEventDispatcher.h" -#import "RCTBridgeModule.h" +#import +#import +#import @interface RCTMapboxGL : RCTView diff --git a/ios/RCTMapboxGL/RCTMapboxGL.m b/ios/RCTMapboxGL/RCTMapboxGL.m index 9eb3e7402..545c6cc89 100644 --- a/ios/RCTMapboxGL/RCTMapboxGL.m +++ b/ios/RCTMapboxGL/RCTMapboxGL.m @@ -7,10 +7,10 @@ // #import "RCTMapboxGL.h" -#import "RCTBridgeModule.h" -#import "RCTEventDispatcher.h" -#import "UIView+React.h" -#import "RCTLog.h" +#import +#import +#import +#import #import "RCTMapboxGLConversions.h" #import "RCTMapboxAnnotation.h" diff --git a/ios/RCTMapboxGL/RCTMapboxGLConversions.m b/ios/RCTMapboxGL/RCTMapboxGLConversions.m index 5d09397ab..21312ccde 100644 --- a/ios/RCTMapboxGL/RCTMapboxGLConversions.m +++ b/ios/RCTMapboxGL/RCTMapboxGLConversions.m @@ -7,8 +7,8 @@ // #import -#import "RCTConvert+CoreLocation.h" -#import "RCTConvert+MapKit.h" +#import +#import #import "RCTMapboxGL.h" UIImage *imageFromSource (NSDictionary *source) diff --git a/ios/RCTMapboxGL/RCTMapboxGLManager.h b/ios/RCTMapboxGL/RCTMapboxGLManager.h index cb95d4b9c..7f5f7eb4b 100644 --- a/ios/RCTMapboxGL/RCTMapboxGLManager.h +++ b/ios/RCTMapboxGL/RCTMapboxGLManager.h @@ -6,7 +6,7 @@ // Copyright (c) 2015 Mapbox. All rights reserved. // -#import "RCTViewManager.h" +#import @interface RCTMapboxGLManager : RCTViewManager { NSMutableSet * _recentPacks; diff --git a/ios/RCTMapboxGL/RCTMapboxGLManager.m b/ios/RCTMapboxGL/RCTMapboxGLManager.m index 3f8c3cc80..bcb5ff626 100644 --- a/ios/RCTMapboxGL/RCTMapboxGLManager.m +++ b/ios/RCTMapboxGL/RCTMapboxGLManager.m @@ -9,12 +9,12 @@ #import "RCTMapboxGLManager.h" #import "RCTMapboxGL.h" #import -#import "RCTConvert+CoreLocation.h" -#import "RCTConvert+MapKit.h" -#import "RCTBridge.h" -#import "RCTEventDispatcher.h" -#import "UIView+React.h" -#import "RCTUIManager.h" +#import +#import +#import +#import +#import +#import #import "RCTMapboxGLConversions.h" #import "MGLPolygon+RCTAdditions.h" #import "MGLPolyline+RCTAdditions.h" diff --git a/package.json b/package.json index cc260b79b..e410b2fdf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-mapbox-gl", "description": "A Mapbox GL react native module for creating custom maps", - "version": "5.1.0", + "version": "5.2.0", "author": "Bobby Sudekum", "keywords": [ "gl", @@ -36,5 +36,9 @@ "dependencies": { "babel-eslint": "^6.1.2", "lodash": "^4.13.1" + }, + "peerDependencies": { + "react": ">=15.4.0", + "react-native": ">=0.40" } }