Skip to content

Commit

Permalink
Update Mapbox iOS SDK to 4.2.0 #248
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Aug 14, 2018
1 parent 3ab4492 commit c79ec1e
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 38 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Awesome native OpenGL-powered maps - by Mapbox

<img src="https://raw.githubusercontent.com/EddyVerbruggen/nativescript-mapbox/master/screenshots/ios-demoapp-slice.png" width="375px" height="196px" />

> Plugin version 4.2.0 requires iOS 9 or higher. Need to target a lower iOS version? Use a lower plugin version.
## Prerequisites
You need a Mapbox API access token (they have a 🆓 Starter plan!), so [sign up with Mapbox](https://www.mapbox.com/signup/).
Once you've registered go to your Account > Apps > New token. The 'Default Secret Token' is what you'll need.
Expand Down
2 changes: 1 addition & 1 deletion demo/app/App_Resources/iOS/build.xcconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// You can add custom settings here
// for example you can uncomment the following line to force distribution code signing
// CODE_SIGN_IDENTITY = iPhone Distribution
// CODE_SIGN_IDENTITY = iPhone Distribution
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;

Expand Down
26 changes: 14 additions & 12 deletions demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"nativescript": {
"id": "org.nativescript.mapbox",
"tns-android": {
"version": "4.1.3"
"version": "4.2.0"
},
"tns-ios": {
"version": "4.1.1"
"version": "4.2.0"
}
},
"dependencies": {
"nativescript-mapbox": "../src",
"nativescript-theme-core": "^1.0.4",
"nativescript-unit-test-runner": "^0.3.4",
"tns-core-modules": "~4.1.0"
"tns-core-modules": "~4.2.0"
},
"devDependencies": {
"awesome-typescript-loader": "~3.1.3",
Expand All @@ -32,7 +32,7 @@
"nativescript-dev-webpack": "~0.9.0",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.1.0",
"tns-platform-declarations": "~4.1.0",
"tns-platform-declarations": "~4.2.0",
"tslint": "^5.1.0",
"typescript": "~2.7.0",
"webpack": "~3.8.1",
Expand All @@ -46,4 +46,4 @@
"build.plugin": "cd ../src && npm run build",
"ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'"
}
}
}
30 changes: 14 additions & 16 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"build": "npm i && tsc --skipLibCheck",
"demo.ios": "npm run build && cd ../demo && tns run ios --syncAllFiles",
"demo.android": "npm run build && cd ../demo && tns run android --syncAllFiles",
"demo.android": "npm run build && cd ../demo && tns run android --log debug",
"test": "npm run tslint && npm run tslint.demo && cd ../demo && tns build ios && tns build android",
"test.ios": "cd ../demo && tns test ios --emulator",
"test.ios.device": "cd ../demo && tns test ios",
Expand Down Expand Up @@ -58,8 +58,8 @@
"homepage": "https://github.com/eddyverbruggen/nativescript-mapbox",
"readmeFilename": "README.md",
"devDependencies": {
"tns-core-modules": "~4.0.0",
"tns-platform-declarations": "~4.0.0",
"tns-core-modules": "~4.2.0",
"tns-platform-declarations": "~4.2.0",
"tslint": "^5.1.0",
"typescript": "~2.7.0"
}
Expand Down
4 changes: 3 additions & 1 deletion src/platforms/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pod 'Mapbox-iOS-SDK', '~> 4.0.2'
platform :ios, '9.0'

pod 'Mapbox-iOS-SDK', '~> 4.2.0'

0 comments on commit c79ec1e

Please sign in to comment.