From 05bc72b703164459ad3fef30249ea555defb26b3 Mon Sep 17 00:00:00 2001 From: Joscha <34318751+josxha@users.noreply.github.com> Date: Mon, 3 Jun 2024 12:19:58 +0200 Subject: [PATCH] feat!: migrate `maplibre-native` for iOS to version `6.4.2` (#405) This pull request updates the maplibre-native version to `6.4.2` for iOS. Before the unstable version `5.14.0-pre3` was used. The iOS changelog for maplibre-native can be viewed [here](https://github.com/maplibre/maplibre-native/blob/main/platform/ios/CHANGELOG.md#600) (only iOS Devices with an Apple A7 GPU or later are supported from now on). Closes #388 --- CHANGELOG.md | 16 +- example/.metadata | 23 +- example/ios/.gitignore | 2 + example/ios/Flutter/AppFrameworkInfo.plist | 2 +- example/ios/Flutter/Debug.xcconfig | 2 +- example/ios/Flutter/Release.xcconfig | 2 +- example/ios/Podfile | 10 +- example/ios/Podfile.lock | 14 +- example/ios/Runner.xcodeproj/project.pbxproj | 348 +++++++++++++----- .../xcshareddata/xcschemes/Runner.xcscheme | 21 +- example/ios/Runner/AppDelegate.h | 6 - example/ios/Runner/AppDelegate.m | 13 - example/ios/Runner/AppDelegate.swift | 2 +- .../Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 564 -> 295 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 1283 -> 406 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 1588 -> 450 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 1025 -> 282 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 1716 -> 462 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 1920 -> 704 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 1283 -> 406 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 1895 -> 586 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 2665 -> 862 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 2665 -> 862 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 3831 -> 1674 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 1888 -> 762 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 3294 -> 1226 bytes .../Icon-App-83.5x83.5@2x.png | Bin 3612 -> 1418 bytes example/ios/Runner/main.m | 9 - example/ios/RunnerTests/RunnerTests.swift | 12 + ios/Classes/Constants.swift | 58 +-- ios/Classes/Convert.swift | 28 +- ios/Classes/Extensions.swift | 20 +- ios/Classes/LayerPropertyConverter.swift | 18 +- ios/Classes/MGLMapView+setLanguage.swift | 6 +- ios/Classes/MapboxMapController.swift | 135 ++++--- ios/Classes/MapboxMapOptionsSink.swift | 10 +- ios/Classes/OfflineManagerUtils.swift | 8 +- ios/Classes/OfflinePackDownloadManager.swift | 28 +- ios/Classes/OfflineRegion.swift | 6 +- ios/Classes/OfflineRegionDefinition.swift | 10 +- ios/Classes/SourcePropertyConverter.swift | 56 +-- ios/Classes/SwiftMapboxGlFlutterPlugin.swift | 4 +- ios/maplibre_gl.podspec | 2 +- 44 files changed, 502 insertions(+), 369 deletions(-) delete mode 100644 example/ios/Runner/AppDelegate.h delete mode 100644 example/ios/Runner/AppDelegate.m delete mode 100644 example/ios/Runner/main.m create mode 100644 example/ios/RunnerTests/RunnerTests.swift diff --git a/CHANGELOG.md b/CHANGELOG.md index cad7ca60..ab7791ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,13 @@ ### Breaking changes -* All Dart enums have been migrated from mixed cases to lower camelcase according to the `camel_case_types` lint rule. +* All Dart enums have been migrated from mixed cases to lower camelcase + according to the `camel_case_types` lint rule. +* Updated maplibre-native for ios to v6.4.2. This introduces the new + iOS Metal renderer and the OpenGL ES renderer now uses OpenGL ES 3.0. Only + iOS Devices with an Apple A7 GPU or later are supported onwards. See the + [maplibre-native changelog](https://github.com/maplibre/maplibre-native/blob/main/platform/ios/CHANGELOG.md#600) + for more information. ## 0.19.0 @@ -71,9 +77,9 @@ builds). ## 0.17.0 -* **Repository transfer**: The project repository was transferred to the MapLibre -GitHub organization. More information -at [#221](https://github.com/maplibre/flutter-maplibre-gl/issues/221) +* **Repository transfer**: The project repository was transferred to the + MapLibre GitHub organization. More information + at [#221](https://github.com/maplibre/flutter-maplibre-gl/issues/221) * Developers do not need to adapt their Podfile for iOS apps anymore as it was previously described in the Readme. [#278](https://github.com/maplibre/flutter-maplibre-gl/pull/278) @@ -190,7 +196,7 @@ at the end for a full changelog. * attributionButtonPosition for web by @ouvreboite in [#304](https://github.com/maplibre/flutter-maplibre-gl/pull/304) -**Full Changelog**: +**Full Changelog**: https://github.com/maplibre/flutter-maplibre-gl/compare/0.16.0...0.17.0 ## 0.16.0, Jun 28, 2022 diff --git a/example/.metadata b/example/.metadata index 6311493b..1038231d 100644 --- a/example/.metadata +++ b/example/.metadata @@ -1,11 +1,11 @@ # This file tracks properties of this Flutter project. # Used by Flutter tool to assess capabilities and perform upgrades etc. # -# This file should be version controlled. +# This file should be version controlled and should not be manually edited. version: - revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - channel: stable + revision: "5dcb86f68f239346676ceb1ed1ea385bd215fba1" + channel: "stable" project_type: app @@ -13,20 +13,11 @@ project_type: app migration: platforms: - platform: root - create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - - platform: android - create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 + create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 + base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 - platform: ios - create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - - platform: macos - create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - - platform: web - create_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 - base_revision: d3d8effc686d73e0114d71abdcccef63fa1f25d2 + create_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 + base_revision: 5dcb86f68f239346676ceb1ed1ea385bd215fba1 # User provided section diff --git a/example/ios/.gitignore b/example/ios/.gitignore index e96ef602..7a7f9873 100644 --- a/example/ios/.gitignore +++ b/example/ios/.gitignore @@ -1,3 +1,4 @@ +**/dgph *.mode1v3 *.mode2v3 *.moved-aside @@ -18,6 +19,7 @@ Flutter/App.framework Flutter/Flutter.framework Flutter/Flutter.podspec Flutter/Generated.xcconfig +Flutter/ephemeral/ Flutter/app.flx Flutter/app.zip Flutter/flutter_assets/ diff --git a/example/ios/Flutter/AppFrameworkInfo.plist b/example/ios/Flutter/AppFrameworkInfo.plist index 9625e105..7c569640 100644 --- a/example/ios/Flutter/AppFrameworkInfo.plist +++ b/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/example/ios/Flutter/Debug.xcconfig b/example/ios/Flutter/Debug.xcconfig index e8efba11..ec97fc6f 100644 --- a/example/ios/Flutter/Debug.xcconfig +++ b/example/ios/Flutter/Debug.xcconfig @@ -1,2 +1,2 @@ -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" diff --git a/example/ios/Flutter/Release.xcconfig b/example/ios/Flutter/Release.xcconfig index 399e9340..c4855bfe 100644 --- a/example/ios/Flutter/Release.xcconfig +++ b/example/ios/Flutter/Release.xcconfig @@ -1,2 +1,2 @@ -#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "Generated.xcconfig" diff --git a/example/ios/Podfile b/example/ios/Podfile index 635539fd..d97f17e2 100644 --- a/example/ios/Podfile +++ b/example/ios/Podfile @@ -1,6 +1,5 @@ # Uncomment this line to define a global platform for your project -platform :ios, '11.0' - +# platform :ios, '12.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' @@ -31,10 +30,13 @@ flutter_ios_podfile_setup target 'Runner' do use_frameworks! use_modular_headers! - + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) + target 'RunnerTests' do + inherit! :search_paths + end end -# commit 2c5aa27d7f039327306d1ecf80976778fd3ffcab from upstream#797 undone in PR #128 + post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 0e2430f6..502f55e9 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -4,10 +4,10 @@ PODS: - Flutter (1.0.0) - location (0.0.1): - Flutter - - MapLibre (5.14.0-pre3) + - MapLibre (6.4.2) - maplibre_gl (0.0.1): - Flutter - - MapLibre (= 5.14.0-pre3) + - MapLibre (= 6.4.2) - path_provider_foundation (0.0.1): - Flutter - FlutterMacOS @@ -37,12 +37,12 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6 - Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 location: d5cf8598915965547c3f36761ae9cc4f4e87d22e - MapLibre: 620fc933c1d6029b33738c905c1490d024e5d4ef - maplibre_gl: a2efec727dd340e4c65e26d2b03b584f14881fd9 - path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c + MapLibre: 4f0d474084b9c73ee5f4066e2e3bf03f0e2efad4 + maplibre_gl: a10404a60394e958fd9631ad8b2e1e5d0dafa612 + path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 -PODFILE CHECKSUM: 76b02dc813a095e7650def38e0c540365f37c732 +PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 COCOAPODS: 1.15.2 diff --git a/example/ios/Runner.xcodeproj/project.pbxproj b/example/ios/Runner.xcodeproj/project.pbxproj index c144573e..ebaf8ddc 100644 --- a/example/ios/Runner.xcodeproj/project.pbxproj +++ b/example/ios/Runner.xcodeproj/project.pbxproj @@ -7,16 +7,27 @@ objects = { /* Begin PBXBuildFile section */ + 0E67C0D24CAED6BE0901E8DD /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 27DEDDC7B1C97EC430A65D9E /* Pods_Runner.framework */; }; 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 1C318FD9FE81A3CF826CB6E0 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9C618A260D4CE68F2F89632 /* Pods_Runner.framework */; }; + 17AC7DD7D3BEEF4903E7BCB1 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4652F218C4CD68136EF2D654 /* Pods_RunnerTests.framework */; }; + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; - 97C146F31CF9000F007C117D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 97C146F21CF9000F007C117D /* main.m */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 97C146E61CF9000F007C117D /* Project object */; + proxyType = 1; + remoteGlobalIDString = 97C146ED1CF9000F007C117D; + remoteInfo = Runner; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXCopyFilesBuildPhase section */ 9705A1C41CF9048500538489 /* Embed Frameworks */ = { isa = PBXCopyFilesBuildPhase; @@ -31,24 +42,29 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0F54893BABFFA50284F6124C /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 33EB4B753D90FC406A268B9A /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; + 2506CEAB6C03C391311F6C76 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = ""; }; + 27DEDDC7B1C97EC430A65D9E /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; + 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 647A9CC8EAD456F68D57F590 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 77F62DAA39FA47F19A7FF5D8 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + 4652F218C4CD68136EF2D654 /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 94F3B7643AF97AD94E04D1D5 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146F21CF9000F007C117D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E9C618A260D4CE68F2F89632 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A132A2B89A2B65951285817C /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = ""; }; + BDA9B619F7F58810FF6BFC50 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + C27A816C7CCA4D09C223C118 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -56,19 +72,41 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 1C318FD9FE81A3CF826CB6E0 /* Pods_Runner.framework in Frameworks */, + 0E67C0D24CAED6BE0901E8DD /* Pods_Runner.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + BBCC16AD36666AF40CD4A872 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 17AC7DD7D3BEEF4903E7BCB1 /* Pods_RunnerTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 6B19A70E8F48794F8B06590A /* Frameworks */ = { + 20179864B7FC028F98D435F7 /* Pods */ = { isa = PBXGroup; children = ( - E9C618A260D4CE68F2F89632 /* Pods_Runner.framework */, + BDA9B619F7F58810FF6BFC50 /* Pods-Runner.debug.xcconfig */, + 94F3B7643AF97AD94E04D1D5 /* Pods-Runner.release.xcconfig */, + 0F54893BABFFA50284F6124C /* Pods-Runner.profile.xcconfig */, + 2506CEAB6C03C391311F6C76 /* Pods-RunnerTests.debug.xcconfig */, + A132A2B89A2B65951285817C /* Pods-RunnerTests.release.xcconfig */, + C27A816C7CCA4D09C223C118 /* Pods-RunnerTests.profile.xcconfig */, ); - name = Frameworks; + name = Pods; + path = Pods; + sourceTree = ""; + }; + 331C8082294A63A400263BE5 /* RunnerTests */ = { + isa = PBXGroup; + children = ( + 331C807B294A618700263BE5 /* RunnerTests.swift */, + ); + path = RunnerTests; sourceTree = ""; }; 9740EEB11CF90186004384FC /* Flutter */ = { @@ -88,8 +126,9 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, - BF9D592592C87D7867B07AED /* Pods */, - 6B19A70E8F48794F8B06590A /* Frameworks */, + 331C8082294A63A400263BE5 /* RunnerTests */, + 20179864B7FC028F98D435F7 /* Pods */, + B3868686040AE5E28A58A874 /* Frameworks */, ); sourceTree = ""; }; @@ -97,6 +136,7 @@ isa = PBXGroup; children = ( 97C146EE1CF9000F007C117D /* Runner.app */, + 331C8081294A63A400263BE5 /* RunnerTests.xctest */, ); name = Products; sourceTree = ""; @@ -104,52 +144,61 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( - 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, - 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 97C147021CF9000F007C117D /* Info.plist */, - 97C146F11CF9000F007C117D /* Supporting Files */, 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, ); path = Runner; sourceTree = ""; }; - 97C146F11CF9000F007C117D /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 97C146F21CF9000F007C117D /* main.m */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - BF9D592592C87D7867B07AED /* Pods */ = { + B3868686040AE5E28A58A874 /* Frameworks */ = { isa = PBXGroup; children = ( - 77F62DAA39FA47F19A7FF5D8 /* Pods-Runner.debug.xcconfig */, - 33EB4B753D90FC406A268B9A /* Pods-Runner.release.xcconfig */, - 647A9CC8EAD456F68D57F590 /* Pods-Runner.profile.xcconfig */, + 27DEDDC7B1C97EC430A65D9E /* Pods_Runner.framework */, + 4652F218C4CD68136EF2D654 /* Pods_RunnerTests.framework */, ); - name = Pods; + name = Frameworks; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ + 331C8080294A63A400263BE5 /* RunnerTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; + buildPhases = ( + E511CA644565BB4EA78FBC8F /* [CP] Check Pods Manifest.lock */, + 331C807D294A63A400263BE5 /* Sources */, + 331C807F294A63A400263BE5 /* Resources */, + BBCC16AD36666AF40CD4A872 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 331C8086294A63A400263BE5 /* PBXTargetDependency */, + ); + name = RunnerTests; + productName = RunnerTests; + productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; 97C146ED1CF9000F007C117D /* Runner */ = { isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - 61A6A5795B0A22D55417D672 /* [CP] Check Pods Manifest.lock */, + A2735D0740D2C47ABCF118F6 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 889EE4D7842958F998B4C2E7 /* [CP] Embed Pods Frameworks */, + 6F781F108A4CD3B7CFB15CCB /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -166,20 +215,25 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; - ORGANIZATIONNAME = "The Chromium Authors"; + BuildIndependentTargetsInParallel = YES; + LastUpgradeCheck = 1510; + ORGANIZATIONNAME = ""; TargetAttributes = { + 331C8080294A63A400263BE5 = { + CreatedOnToolsVersion = 14.0; + TestTargetID = 97C146ED1CF9000F007C117D; + }; 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; + LastSwiftMigration = 1100; }; }; }; buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( - English, en, Base, ); @@ -189,11 +243,19 @@ projectRoot = ""; targets = ( 97C146ED1CF9000F007C117D /* Runner */, + 331C8080294A63A400263BE5 /* RunnerTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 331C807F294A63A400263BE5 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 97C146EC1CF9000F007C117D /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; @@ -224,80 +286,112 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 61A6A5795B0A22D55417D672 /* [CP] Check Pods Manifest.lock */ = { + 6F781F108A4CD3B7CFB15CCB /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", ); - name = "[CP] Check Pods Manifest.lock"; + name = "Run Script"; outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; - showEnvVarsInLog = 0; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; - 889EE4D7842958F998B4C2E7 /* [CP] Embed Pods Frameworks */ = { + A2735D0740D2C47ABCF118F6 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/device_info_plus/device_info_plus.framework", - "${BUILT_PRODUCTS_DIR}/location/location.framework", - "${BUILT_PRODUCTS_DIR}/maplibre_gl/maplibre_gl.framework", - "${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework", - "${PODS_XCFRAMEWORKS_BUILD_DIR}/MapLibre/Mapbox.framework/Mapbox", + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "[CP] Embed Pods Frameworks"; outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/device_info_plus.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/location.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/maplibre_gl.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Mapbox.framework", + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; - 9740EEB61CF901F6004384FC /* Run Script */ = { + E511CA644565BB4EA78FBC8F /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "Run Script"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 331C807D294A63A400263BE5 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 97C146EA1CF9000F007C117D /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, - 97C146F31CF9000F007C117D /* main.m in Sources */, + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 97C146ED1CF9000F007C117D /* Runner */; + targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin PBXVariantGroup section */ 97C146FA1CF9000F007C117D /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -322,6 +416,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -351,6 +446,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -359,9 +455,10 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -372,33 +469,77 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.mapboxGlExample; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Profile; }; + 331C8088294A63A400263BE5 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2506CEAB6C03C391311F6C76 /* Pods-RunnerTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Debug; + }; + 331C8089294A63A400263BE5 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = A132A2B89A2B65951285817C /* Pods-RunnerTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Release; + }; + 331C808A294A63A400263BE5 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = C27A816C7CCA4D09C223C118 /* Pods-RunnerTests.profile.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example.RunnerTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; + }; + name = Profile; + }; 97C147031CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -428,6 +569,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -442,7 +584,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -454,6 +596,7 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -483,6 +626,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -491,9 +635,12 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -504,25 +651,19 @@ baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.mapboxGlExample; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -532,25 +673,18 @@ baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.mapboxGlExample; + PRODUCT_BUNDLE_IDENTIFIER = com.mapbox.example; PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; @@ -558,6 +692,16 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 331C8088294A63A400263BE5 /* Debug */, + 331C8089294A63A400263BE5 /* Release */, + 331C808A294A63A400263BE5 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 3db53b6e..8e3ca5df 100644 --- a/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ - - - - + + + + + + - - -#import - -@interface AppDelegate : FlutterAppDelegate - -@end diff --git a/example/ios/Runner/AppDelegate.m b/example/ios/Runner/AppDelegate.m deleted file mode 100644 index 59a72e90..00000000 --- a/example/ios/Runner/AppDelegate.m +++ /dev/null @@ -1,13 +0,0 @@ -#include "AppDelegate.h" -#include "GeneratedPluginRegistrant.h" - -@implementation AppDelegate - -- (BOOL)application:(UIApplication *)application - didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - [GeneratedPluginRegistrant registerWithRegistry:self]; - // Override point for customization after application launch. - return [super application:application didFinishLaunchingWithOptions:launchOptions]; -} - -@end diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index 70693e4a..9074fee9 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -1,5 +1,5 @@ -import UIKit import Flutter +import UIKit @UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png index 3d43d11e66f4de3da27ed045ca4fe38ad8b48094..dc9ada4725e9b0ddb1deab583e5b5102493aa332 100644 GIT binary patch literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z43q$b*6#uQDL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m_gi_UP5{=?5}5^D2vPzM=oPfNw~azZQ#P zl5z8RtSSiTIpEohC15i-Q1Bk{3&ElsD0uGAOxvbk29VUDmmA0w;^v`W#0`};O3DVE z&+-ca*`YcN%z*#VXWK9Qa-OEME#fykF%|7o=1Y+eF;Rtv0W4~kKRDx9YBHOWhC%^I z$Jec0cC7o37}Xt}cu)NH5R}NT+=2Nap*`^%O)vz?+{PV<2~qX%TzdJOGeKj5_QjqR&a3*K@= P-1+_A+?hGkL;m(J7kc&K diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png index 28c6bf03016f6c994b70f38d1b7346e5831b531f..7353c41ecf9ca08017312dc233d9830079b50717 100644 GIT binary patch delta 279 zcmV+y0qFj;1g8R!8Gi!+006pI?LPnj0Blf9R7L;)|5U~J`u_j-{Qm)0oAmqtj@kOz z^8J|I`-|B6ht~R5kG+%I`zf~eztraM`u^bc{`dO)zUlmg)%x%C`E}6wSI77~z4s`y z^XT{f(eM4n?EUff`e@AgO~UxV*5*r_%Uhbj5N)LaQj!wdIe!-b004GLL_t&-)18pX z4udcZ1u-#g(~z+5JN*AY5?>Gw7hsN~k)CYt4dQDFxbs5*_&e@Hj)wtt(&JE<3Eq*D z;_gQLvqXoKv=I*gWqM9C(Tvu0>=?hTbOp9!6k6AF;>f6|S5%jGEE}TA9h)e`Yuiu8 d7)l?o1NFcJg%EAfM$P~L002ovPDHLkV1g^Dnv?(l delta 550 zcmV+>0@?ki0<;8>8Gi-<0051N9Sr~g00DDSM?wIu&K&6g00HhvL_t(I5v`QFOB_)Y z#?QI;j_a;jjf#Z$YJ7mH(xecJU?W)A`9CN~KrBV85C}GDQ=|;GDFPNjtWty!L{u=? zh>8yo%^GE+J9o~_IZFoiamQVQXP7%LzTbT3F@uf+9x&7cvVV%GdjTaC;zf>@mq<=3 z!c<%*UT)@yJ|0BK6~d4Jx-*KV`Z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AppIcon.appiconset/Icon-App-29x29@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png index 4cde12118dda48d71e01fcb589a74d069c5d7cb5..4cd7b0099ca80c806f8fe495613e8d6c69460d76 100644 GIT binary patch delta 266 zcmV+l0rmcY2$}+r8Gi!+003c4mpuRg09{Z_R7L;)|5U~JDYo_jSDX9(|7FYh`2GLd z^Zv2r{H^2sT*&w!Y^SB+`<>qVZqE6)=lqo0`vF#&*75!I`TIh@_d&k*HoEtQyV-iD z%Xz2D9EQRbeYh5Nr~y=#0ZD;^+vz0$004MNL_t(2&&|%+4u6C&2tZM$Wf&dzefR%A z(^3-?6X>hnCz2Ba@RH&`m!pgy?n@#@AuLYB&}Q)FGY`?vcft0!vht0Z@M&ZeNCWXh75gzRTXR8EE3oN&6 Q00000NkvXXt^-0~g5kS`djJ3c delta 1014 zcmV*Z%cCe|Ky#N6OdYPD1DGfinGF##;07BPDy$fz({%k7zJV=01O#K z=|NTR39NyVgTVMzbvyw=V8BQ^20R3~6xvV{d46VD* zR9nhU01J#6NqMPrrB8cABapAFa= z`H+UGhkXUZV1GnwR1*lPyZ;*K(i~2gp|@bzp8}og7e*#%Enr|^CWdVV!-4*Y_7rFv zlww2Ze+>j*!Z!pQ?2l->4q#nqRu9`ELo6RMS5=br41c(0^;RmcE^tRgds9Z&8hKi= zcKAYL;9Lx6i;lps;xDq`;I4K{zDBEA0j=ca%(UaZ^JThn2CV|_Pl2;B96VFv)Rf2t z%PnxaEcWz-+|yxe=6OZ+TI0dnTP=HgLyBeJX=bZ{9ZiP$!~;)Hi_Rv<2T%y1?BKb+ zkiESjp?|HN*EQj_#)s*NZvW`;FEMwvTV79r(`E7ec!|kH=*oFeVBl&Qp6&^Fsyl30 z$u-+x<;Bl0CfwU;+0g8P&wgLx+sTA2EtZ>G3;|*)hG({h?CA-Ys=l7o?Y-5-F)=S* zIa%VwWI|`ou#mvIKy2;IvwM@+y~XFyn8tTw-G7c`@Zl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.appiconset/Icon-App-40x40@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png index a6d6b8609df07bf62e5100a53a01510388bd2b22..0ec303439225b78712f49115768196d8d76f6790 100644 GIT binary patch delta 850 zcmV-Y1Fih&6y64q8Gi!+000iU#^3+|0OwFlR7L;)|5U~J09TtSw)Xt~|5(QO`~Ck( z!T0|D|3<*~RmJ%E{r+;#`2ba!klFf7!uJMSo%Q?vP{jByxcAZE>;OrUCbaZYjJo^$ z{nGILmD~Da$@upC{`C6(Ey4dPw)Pyc^>5DkHoEo!QcuK-Jwl-l}t(fQKv z{dds$V#@dygS`PvhX6is7Z+@*x-d;$ zb=6f@U3Jw}_s+W3%*+b9H_vS)-R#9?zrXogeLVI2We2RFTTAL}&3C8PS~<5D&v@UI z+`s*$wqQ=yd$laNUY-|ovcS9~n_90tFUdl#qq0tEUXle|k{Op|DHpSrbxEeZ5~$>o%>OSe z^=41qvh3LlC2xXzu+-2eQoqs1^L>7ylB$bCP);(%(xYZL1 cY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f@rA97ytkO literal 2665 zcmV-v3YPVWP)oFh3q0MFesq&64WThn3$;G69TfjsAv=f2G9}p zgSx99+!YV6qME!>9MD13x)k(+XE7W?_O4LoLb5ND8 zaV{9+P@>42xDfRiYBMSgD$0!vssptcb;&?u9u(LLBKmkZ>RMD=kvD3h`sk6!QYtBa ztlZI#nu$8lJ^q2Z79UTgZe>BU73(Aospiq+?SdMt8lDZ;*?@tyWVZVS_Q7S&*tJaiRlJ z+aSMOmbg3@h5}v;A*c8SbqM3icg-`Cnwl;7Ts%A1RkNIp+Txl-Ckkvg4oxrqGA5ewEgYqwtECD<_3Egu)xGllKt&J8g&+=ac@Jq4-?w6M3b*>w5 z69N3O%=I^6&UL5gZ!}trC7bUj*12xLdkNs~Bz4QdJJ*UDZox2UGR}SNg@lmOvhCc~ z*f_UeXv(=#I#*7>VZx2ObEN~UoGUTl=-@)E;YtCRZ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`0$-I}S!H_~pI&2H8Z1C|BX4VgZ^-! zje3-;x0PBD!M`v*J_)rL^+$<1VJhH*2Fi~aA7s&@_rUHYJ9zD=M%4AFQ`}k8OC$9s XsPq=LnkwKG00000NkvXXu0mjfhAk5^ diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png index a6d6b8609df07bf62e5100a53a01510388bd2b22..0ec303439225b78712f49115768196d8d76f6790 100644 GIT binary patch delta 850 zcmV-Y1Fih&6y64q8Gi!+000iU#^3+|0OwFlR7L;)|5U~J09TtSw)Xt~|5(QO`~Ck( z!T0|D|3<*~RmJ%E{r+;#`2ba!klFf7!uJMSo%Q?vP{jByxcAZE>;OrUCbaZYjJo^$ z{nGILmD~Da$@upC{`C6(Ey4dPw)Pyc^>5DkHoEo!QcuK-Jwl-l}t(fQKv z{dds$V#@dygS`PvhX6is7Z+@*x-d;$ zb=6f@U3Jw}_s+W3%*+b9H_vS)-R#9?zrXogeLVI2We2RFTTAL}&3C8PS~<5D&v@UI z+`s*$wqQ=yd$laNUY-|ovcS9~n_90tFUdl#qq0tEUXle|k{Op|DHpSrbxEeZ5~$>o%>OSe z^=41qvh3LlC2xXzu+-2eQoqs1^L>7ylB$bCP);(%(xYZL1 cY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f@rA97ytkO literal 2665 zcmV-v3YPVWP)oFh3q0MFesq&64WThn3$;G69TfjsAv=f2G9}p zgSx99+!YV6qME!>9MD13x)k(+XE7W?_O4LoLb5ND8 zaV{9+P@>42xDfRiYBMSgD$0!vssptcb;&?u9u(LLBKmkZ>RMD=kvD3h`sk6!QYtBa ztlZI#nu$8lJ^q2Z79UTgZe>BU73(Aospiq+?SdMt8lDZ;*?@tyWVZVS_Q7S&*tJaiRlJ z+aSMOmbg3@h5}v;A*c8SbqM3icg-`Cnwl;7Ts%A1RkNIp+Txl-Ckkvg4oxrqGA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(|iSA zf3Ih7b<{zqpDB4WF_5X1(peKe+rASze%u8eKLn#KKXt;UZ+Adf$_TO+vTqshLLJ5c z52HucO=lrNVae5XWOLm!V@n-ObU11!b+DN<$RuU+YsrBq*lYT;?AwJpmNKniF0Q1< zJCo>Q$=v$@&y=sj6{r!Y&y&`0$-I}S!H_~pI&2H8Z1C|BX4VgZ^-! zje3-;x0PBD!M`v*J_)rL^+$<1VJhH*2Fi~aA7s&@_rUHYJ9zD=M%4AFQ`}k8OC$9s XsPq=LnkwKG00000NkvXXu0mjfhAk5^ diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png index 75b2d164a5a98e212cca15ea7bf2ab5de5108680..e9f5fea27c705180eb716271f41b582e76dcbd90 100644 GIT binary patch delta 1668 zcmV-~27CGU9f}Q*8Gi!+000UT_5c6?0S-`1R7L;)|5U~JDYo_jSDRJE`2GI>`u+b> z#Q0do`1}6<{Qdq#!1wR$2T#*AweE>Ub09v4>;QIg_I^_2LtK$20(D{zn_^HL*3Rj70 z%=tLH_b#{gK7W9-03t&#zyHMQ{FK}Jd(rva=I|w|=9#+Ihp*3ip1$;$>j3}&1vg1V zK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}xU&J@bBI>f6w6en+CeI)3 z^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|Vt-;AMv#QX1a!Ta~6|O(zp+Uvg&Aa=+vBNz0Rs{AlWy-99x<(ohfpEcFpW=7o}_1 z>s&Ou*hMLxE-GxhC`Z*r>&|vj>R7LXbI`f|486`~uft__uGhI}_Fc5H63j7aDDIx{dZl^-u)&qKP!qC^RMF(PhHK^33eOuhHu{hoSl0 zKYv6olX!V%A;_nLc2Q<$rqPnk@(F#u5rszb!OdKo$uh%0J)j}CG3VDtWHIM%xMVXV zmTF#h81iB>r55Is`L$8KI@d+*%{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f+CgD^{y29jD4gHbGf{1MD6ggQ&%>UG4WyPh5q_tb`{@_34B?xfSO*| zZv8!)q;^o-bz`MuxXk*G^}(6)ACb@=Lfs`Hxoh>`Y0NE8QRQ!*p|SH@{r8=%RKd4p z+#Ty^-0kb=-H-O`nAA3_6>2z(D=~Tbs(n8LHxD0`R0_ATFqp-SdY3(bZ3;VUM?J=O zKCNsxsgt@|&nKMC=*+ZqmLHhX1KHbAJs{nGVMs6~TiF%Q)P@>!koa$%oS zjXa=!5>P`vC-a}ln!uH1ooeI&v?=?v7?1n~P(wZ~0>xWxd_Aw;+}9#eULM7M8&E?Y zC-ZLhi3RoM92SXUb-5i-Lmt5_rfjE{6y^+24`y$1lywLyHO!)Boa7438K4#iLe?rh z2O~YGSgFUBH?og*6=r9rme=peP~ah`(8Zt7V)j5!V0KPFf_mebo3z95U8(up$-+EA^9dTRLq>Yl)YMBuch9%=e5B`Vnb>o zt03=kq;k2TgGe4|lGne&zJa~h(UGutjP_zr?a7~#b)@15XNA>Dj(m=gg2Q5V4-$)D|Q9}R#002ovPDHLkV1o7DH3k3x diff --git a/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png index c4df70d39da7941ef3f6dcb7f06a192d8dcb308d..84ac32ae7d989f82d5e46a60405adcc8279e8001 100644 GIT binary patch delta 749 zcmVg;Ps8|O$@u8^{Z_{KM!@$5TAfS6_e#O{MZfpz`2O`0$7~@NRr(1{THzH08y3x{{PYM{eL;T_A9^tcF_4Sxb`8l z_9V3RD6;a(-0A^Pjsi!1?)d#Ap4Tk3^CP0(07;VpJ7@tgQ}z4)*zx@&yZwC9`DV-b z0ZobH_5IB4{KxD3;p_6%|f=bdFhu+F!zMZ2UFj;GUKX7tI;hv3{q~!*pMj75WP_c}> z6)IWvg5_yyg<9Op()eD1hWC19M@?_9_MHec{Z8n3FMs~w_u?Av_yNBmRxVYrpi(M% zF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4i0tIIW z&}sk$&fGwoJpe&u-JeGLi^r?dO`m=y(QO{@h zQqAC7$rvz&5+mo3IqE?h=a~6m>%r5Quapvzq;{y~p zJpyXOBgD9VrW7@#p6l7O?o3feml(DtSL>D^R) zZUY%T2b0-vBAFN7VB;M88!~HuOXi4KcI6aRQ&h|XQ0A?m%j2=l1f0cGP}h(oVfJ`N zz#PpmFC*ieab)zJK<4?^k=g%OjPnkANzbAbmGZHoVRk*mTfm75s_cWVa`l*f$B@xu z5E*?&@seIo#*Y~1rBm!7sF9~~u6Wrj5oICUOuz}CS)jdNIznfzCA(stJ(7$c^e5wN z?lt>eYgbA!kvAR7zYSD&*r1$b|(@;9dcZ^67R0 zXAXJKa|5Sdmj!g578Nwt6d$sXuc&MWezA0Whd`94$h{{?1IwXP4)Tx4obDK%xoFZ_Z zjjHJ_P@R_e5blG@yEjnaJb`l;s%Lb2&=8$&Ct-fV`E^4CUs)=jTk!I}2d&n!f@)bm z@ z_4Dc86+3l2*p|~;o-Sb~oXb_RuLmoifDU^&Te$*FevycC0*nE3Xws8gsWp|Rj2>SM zns)qcYj?^2sd8?N!_w~4v+f-HCF|a$TNZDoNl$I1Uq87euoNgKb6&r26TNrfkUa@o zfdiFA@p{K&mH3b8i!lcoz)V{n8Q@g(vR4ns4r6w;K z>1~ecQR0-<^J|Ndg5fvVUM9g;lbu-){#ghGw(fg>L zh)T5Ljb%lWE;V9L!;Cqk>AV1(rULYF07ZBJbGb9qbSoLAd;in9{)95YqX$J43-dY7YU*k~vrM25 zxh5_IqO0LYZW%oxQ5HOzmk4x{atE*vipUk}sh88$b2tn?!ujEHn`tQLe&vo}nMb&{ zio`xzZ&GG6&ZyN3jnaQy#iVqXE9VT(3tWY$n-)uWDQ|tc{`?fq2F`oQ{;d3aWPg4Hp-(iE{ry>MIPWL> iW8 -#import -#import "AppDelegate.h" - -int main(int argc, char* argv[]) { - @autoreleasepool { - return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); - } -} diff --git a/example/ios/RunnerTests/RunnerTests.swift b/example/ios/RunnerTests/RunnerTests.swift new file mode 100644 index 00000000..86a7c3b1 --- /dev/null +++ b/example/ios/RunnerTests/RunnerTests.swift @@ -0,0 +1,12 @@ +import Flutter +import UIKit +import XCTest + +class RunnerTests: XCTestCase { + + func testExample() { + // If you add code to the Runner application, consider adding tests here. + // See https://developer.apple.com/documentation/xctest for more information about using XCTest. + } + +} diff --git a/ios/Classes/Constants.swift b/ios/Classes/Constants.swift index 224e7f99..1a548ce0 100644 --- a/ios/Classes/Constants.swift +++ b/ios/Classes/Constants.swift @@ -1,4 +1,4 @@ -import Mapbox +import MapLibre /* * The mapping is based on the values defined here: @@ -7,45 +7,45 @@ import Mapbox class Constants { static let symbolIconAnchorMapping = [ - "center": MGLIconAnchor.center, - "left": MGLIconAnchor.left, - "right": MGLIconAnchor.right, - "top": MGLIconAnchor.top, - "bottom": MGLIconAnchor.bottom, - "top-left": MGLIconAnchor.topLeft, - "top-right": MGLIconAnchor.topRight, - "bottom-left": MGLIconAnchor.bottomLeft, - "bottom-right": MGLIconAnchor.bottomRight, + "center": MLNIconAnchor.center, + "left": MLNIconAnchor.left, + "right": MLNIconAnchor.right, + "top": MLNIconAnchor.top, + "bottom": MLNIconAnchor.bottom, + "top-left": MLNIconAnchor.topLeft, + "top-right": MLNIconAnchor.topRight, + "bottom-left": MLNIconAnchor.bottomLeft, + "bottom-right": MLNIconAnchor.bottomRight, ] static let symbolTextJustificationMapping = [ - "auto": MGLTextJustification.auto, - "center": MGLTextJustification.center, - "left": MGLTextJustification.left, - "right": MGLTextJustification.right, + "auto": MLNTextJustification.auto, + "center": MLNTextJustification.center, + "left": MLNTextJustification.left, + "right": MLNTextJustification.right, ] static let symbolTextAnchorMapping = [ - "center": MGLTextAnchor.center, - "left": MGLTextAnchor.left, - "right": MGLTextAnchor.right, - "top": MGLTextAnchor.top, - "bottom": MGLTextAnchor.bottom, - "top-left": MGLTextAnchor.topLeft, - "top-right": MGLTextAnchor.topRight, - "bottom-left": MGLTextAnchor.bottomLeft, - "bottom-right": MGLTextAnchor.bottomRight, + "center": MLNTextAnchor.center, + "left": MLNTextAnchor.left, + "right": MLNTextAnchor.right, + "top": MLNTextAnchor.top, + "bottom": MLNTextAnchor.bottom, + "top-left": MLNTextAnchor.topLeft, + "top-right": MLNTextAnchor.topRight, + "bottom-left": MLNTextAnchor.bottomLeft, + "bottom-right": MLNTextAnchor.bottomRight, ] static let symbolTextTransformationMapping = [ - "none": MGLTextTransform.none, - "lowercase": MGLTextTransform.lowercase, - "uppercase": MGLTextTransform.uppercase, + "none": MLNTextTransform.none, + "lowercase": MLNTextTransform.lowercase, + "uppercase": MLNTextTransform.uppercase, ] static let lineJoinMapping = [ - "bevel": MGLLineJoin.bevel, - "miter": MGLLineJoin.miter, - "round": MGLLineJoin.round, + "bevel": MLNLineJoin.bevel, + "miter": MLNLineJoin.miter, + "round": MLNLineJoin.round, ] } diff --git a/ios/Classes/Convert.swift b/ios/Classes/Convert.swift index 3040c4c3..d5f8aac5 100644 --- a/ios/Classes/Convert.swift +++ b/ios/Classes/Convert.swift @@ -1,11 +1,11 @@ -import Mapbox +import MapLibre class Convert { class func interpretMapboxMapOptions(options: Any?, delegate: MapboxMapOptionsSink) { guard let options = options as? [String: Any] else { return } if let cameraTargetBounds = options["cameraTargetBounds"] as? [[[Double]]] { delegate - .setCameraTargetBounds(bounds: MGLCoordinateBounds.fromArray(cameraTargetBounds[0])) + .setCameraTargetBounds(bounds: MLNCoordinateBounds.fromArray(cameraTargetBounds[0])) } if let compassEnabled = options["compassEnabled"] as? Bool { delegate.setCompassEnabled(compassEnabled: compassEnabled) @@ -38,7 +38,7 @@ class Convert { delegate.setMyLocationEnabled(myLocationEnabled: myLocationEnabled) } if let myLocationTrackingMode = options["myLocationTrackingMode"] as? UInt, - let trackingMode = MGLUserTrackingMode(rawValue: myLocationTrackingMode) + let trackingMode = MLNUserTrackingMode(rawValue: myLocationTrackingMode) { delegate.setMyLocationTrackingMode(myLocationTrackingMode: trackingMode) } @@ -51,7 +51,7 @@ class Convert { delegate.setLogoViewMargins(x: logoViewMargins[0], y: logoViewMargins[1]) } if let compassViewPosition = options["compassViewPosition"] as? UInt, - let position = MGLOrnamentPosition(rawValue: compassViewPosition) + let position = MLNOrnamentPosition(rawValue: compassViewPosition) { delegate.setCompassViewPosition(position: position) } @@ -65,7 +65,7 @@ class Convert { ) } if let attributionButtonPosition = options["attributionButtonPosition"] as? UInt, - let position = MGLOrnamentPosition(rawValue: attributionButtonPosition) + let position = MLNOrnamentPosition(rawValue: attributionButtonPosition) { delegate.setAttributionButtonPosition(position: position) } @@ -86,12 +86,12 @@ class Convert { return UIEdgeInsets(top: paddingTop, left: paddingLeft, bottom: paddingBottom, right: paddingRight) } - class func parseCameraUpdate(cameraUpdate: [Any], mapView: MGLMapView) -> MGLMapCamera? { + class func parseCameraUpdate(cameraUpdate: [Any], mapView: MLNMapView) -> MLNMapCamera? { guard let type = cameraUpdate[0] as? String else { return nil } switch type { case "newCameraPosition": guard let cameraPosition = cameraUpdate[1] as? [String: Any] else { return nil } - return MGLMapCamera.fromDict(cameraPosition, mapView: mapView) + return MLNMapCamera.fromDict(cameraPosition, mapView: mapView) case "newLatLng": guard let coordinate = cameraUpdate[1] as? [Double] else { return nil } let camera = mapView.camera @@ -102,12 +102,12 @@ class Convert { if let padding = parseLatLngBoundsPadding(cameraUpdate) { return mapView.cameraThatFitsCoordinateBounds( - MGLCoordinateBounds.fromArray(bounds), + MLNCoordinateBounds.fromArray(bounds), edgePadding: padding ) } - return mapView.cameraThatFitsCoordinateBounds(MGLCoordinateBounds.fromArray(bounds)) + return mapView.cameraThatFitsCoordinateBounds(MLNCoordinateBounds.fromArray(bounds)) case "newLatLngZoom": guard let coordinate = cameraUpdate[1] as? [Double] else { return nil } @@ -115,7 +115,7 @@ class Convert { let camera = mapView.camera camera.centerCoordinate = CLLocationCoordinate2D.fromArray(coordinate) let altitude = getAltitude(zoom: zoom, mapView: mapView) - return MGLMapCamera( + return MLNMapCamera( lookingAtCenter: camera.centerCoordinate, altitude: altitude, pitch: camera.pitch, @@ -178,8 +178,8 @@ class Convert { return nil } - class func getZoom(mapView: MGLMapView) -> Double { - return MGLZoomLevelForAltitude( + class func getZoom(mapView: MLNMapView) -> Double { + return MLNZoomLevelForAltitude( mapView.camera.altitude, mapView.camera.pitch, mapView.camera.centerCoordinate.latitude, @@ -187,8 +187,8 @@ class Convert { ) } - class func getAltitude(zoom: Double, mapView: MGLMapView) -> Double { - return MGLAltitudeForZoomLevel( + class func getAltitude(zoom: Double, mapView: MLNMapView) -> Double { + return MLNAltitudeForZoomLevel( zoom, mapView.camera.pitch, mapView.camera.centerCoordinate.latitude, diff --git a/ios/Classes/Extensions.swift b/ios/Classes/Extensions.swift index 9d1d0374..722be04a 100644 --- a/ios/Classes/Extensions.swift +++ b/ios/Classes/Extensions.swift @@ -1,8 +1,8 @@ -import Mapbox +import MapLibre -extension MGLMapCamera { - func toDict(mapView: MGLMapView) -> [String: Any] { - let zoom = MGLZoomLevelForAltitude( +extension MLNMapCamera { + func toDict(mapView: MLNMapView) -> [String: Any] { + let zoom = MLNZoomLevelForAltitude( altitude, pitch, centerCoordinate.latitude, @@ -14,14 +14,14 @@ extension MGLMapCamera { "zoom": zoom] } - static func fromDict(_ dict: [String: Any], mapView: MGLMapView) -> MGLMapCamera? { + static func fromDict(_ dict: [String: Any], mapView: MLNMapView) -> MLNMapCamera? { guard let target = dict["target"] as? [Double], let zoom = dict["zoom"] as? Double, let tilt = dict["tilt"] as? CGFloat, let bearing = dict["bearing"] as? Double else { return nil } let location = CLLocationCoordinate2D.fromArray(target) - let altitude = MGLAltitudeForZoomLevel(zoom, tilt, location.latitude, mapView.frame.size) - return MGLMapCamera( + let altitude = MLNAltitudeForZoomLevel(zoom, tilt, location.latitude, mapView.frame.size) + return MLNMapCamera( lookingAtCenter: location, altitude: altitude, pitch: tilt, @@ -64,15 +64,15 @@ extension CLLocationCoordinate2D { } } -extension MGLCoordinateBounds { +extension MLNCoordinateBounds { func toArray() -> [[Double]] { return [sw.toArray(), ne.toArray()] } - static func fromArray(_ array: [[Double]]) -> MGLCoordinateBounds { + static func fromArray(_ array: [[Double]]) -> MLNCoordinateBounds { let southwest = CLLocationCoordinate2D.fromArray(array[0]) let northeast = CLLocationCoordinate2D.fromArray(array[1]) - return MGLCoordinateBounds(sw: southwest, ne: northeast) + return MLNCoordinateBounds(sw: southwest, ne: northeast) } } diff --git a/ios/Classes/LayerPropertyConverter.swift b/ios/Classes/LayerPropertyConverter.swift index 47dea282..8e4fbc4a 100644 --- a/ios/Classes/LayerPropertyConverter.swift +++ b/ios/Classes/LayerPropertyConverter.swift @@ -1,10 +1,10 @@ // This file is generated by // ./scripts/lib/generate.dart -import Mapbox +import MapLibre class LayerPropertyConverter { - class func addSymbolProperties(symbolLayer: MGLSymbolStyleLayer, properties: [String: String]) { + class func addSymbolProperties(symbolLayer: MLNSymbolStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -128,7 +128,7 @@ class LayerPropertyConverter { } } - class func addCircleProperties(circleLayer: MGLCircleStyleLayer, properties: [String: String]) { + class func addCircleProperties(circleLayer: MLNCircleStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -166,7 +166,7 @@ class LayerPropertyConverter { } } - class func addLineProperties(lineLayer: MGLLineStyleLayer, properties: [String: String]) { + class func addLineProperties(lineLayer: MLNLineStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -212,7 +212,7 @@ class LayerPropertyConverter { } } - class func addFillProperties(fillLayer: MGLFillStyleLayer, properties: [String: String]) { + class func addFillProperties(fillLayer: MLNFillStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -242,7 +242,7 @@ class LayerPropertyConverter { } } - class func addFillExtrusionProperties(fillExtrusionLayer: MGLFillExtrusionStyleLayer, properties: [String: String]) { + class func addFillExtrusionProperties(fillExtrusionLayer: MLNFillExtrusionStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -272,7 +272,7 @@ class LayerPropertyConverter { } } - class func addRasterProperties(rasterLayer: MGLRasterStyleLayer, properties: [String: String]) { + class func addRasterProperties(rasterLayer: MLNRasterStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -302,7 +302,7 @@ class LayerPropertyConverter { } } - class func addHillshadeProperties(hillshadeLayer: MGLHillshadeStyleLayer, properties: [String: String]) { + class func addHillshadeProperties(hillshadeLayer: MLNHillshadeStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { @@ -328,7 +328,7 @@ class LayerPropertyConverter { } } - class func addHeatmapProperties(heatmapLayer: MGLHeatmapStyleLayer, properties: [String: String]) { + class func addHeatmapProperties(heatmapLayer: MLNHeatmapStyleLayer, properties: [String: String]) { for (propertyName, propertyValue) in properties { let expression = interpretExpression(propertyName: propertyName, expression: propertyValue) switch propertyName { diff --git a/ios/Classes/MGLMapView+setLanguage.swift b/ios/Classes/MGLMapView+setLanguage.swift index c3cf6a41..a19be863 100644 --- a/ios/Classes/MGLMapView+setLanguage.swift +++ b/ios/Classes/MGLMapView+setLanguage.swift @@ -6,16 +6,16 @@ // import Foundation -import Mapbox +import MapLibre -extension MGLMapView { +extension MLNMapView { func setMapLanguage(_ language: String) { guard let style = style else { return } let layers = style.layers for layer in layers { - if let symbolLayer = layer as? MGLSymbolStyleLayer { + if let symbolLayer = layer as? MLNSymbolStyleLayer { if symbolLayer.text == nil { continue } diff --git a/ios/Classes/MapboxMapController.swift b/ios/Classes/MapboxMapController.swift index bc7aacd4..a415b693 100644 --- a/ios/Classes/MapboxMapController.swift +++ b/ios/Classes/MapboxMapController.swift @@ -1,13 +1,13 @@ import Flutter -import Mapbox +import MapLibre -class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, MapboxMapOptionsSink, +class MapboxMapController: NSObject, FlutterPlatformView, MLNMapViewDelegate, MapboxMapOptionsSink, UIGestureRecognizerDelegate { private var registrar: FlutterPluginRegistrar private var channel: FlutterMethodChannel? - private var mapView: MGLMapView + private var mapView: MLNMapView private var isMapReady = false private var dragEnabled = true private var isFirstStyleLoad = true @@ -15,16 +15,16 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma private var mapReadyResult: FlutterResult? private var previousDragCoordinate: CLLocationCoordinate2D? private var originDragCoordinate: CLLocationCoordinate2D? - private var dragFeature: MGLFeature? + private var dragFeature: MLNFeature? private var initialTilt: CGFloat? - private var cameraTargetBounds: MGLCoordinateBounds? + private var cameraTargetBounds: MLNCoordinateBounds? private var trackCameraPosition = false private var myLocationEnabled = false private var scrollingEnabled = true private var interactiveFeatureLayerIds = Set() - private var addedShapesByLayer = [String: MGLShape]() + private var addedShapesByLayer = [String: MLNShape]() func view() -> UIView { return mapView @@ -36,7 +36,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma arguments args: Any?, registrar: FlutterPluginRegistrar ) { - mapView = MGLMapView(frame: frame) + mapView = MLNMapView(frame: frame) mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight] mapView.logoView.isHidden = true self.registrar = registrar @@ -76,7 +76,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma Convert.interpretMapboxMapOptions(options: args["options"], delegate: self) if let initialCameraPosition = args["initialCameraPosition"] as? [String: Any], - let camera = MGLMapCamera.fromDict(initialCameraPosition, mapView: mapView), + let camera = MLNMapCamera.fromDict(initialCameraPosition, mapView: mapView), let zoom = initialCameraPosition["zoom"] as? Double { mapView.setCenter( @@ -85,9 +85,6 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma direction: camera.heading, animated: false ) - if let bounds = cameraTargetBounds { - mapView.setLatLngBounds(bounds) - } initialTilt = camera.pitch } // if let onAttributionClickOverride = args["onAttributionClickOverride"] as? Bool { @@ -153,7 +150,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma result(nil) } case "map#invalidateAmbientCache": - MGLOfflineStorage.shared.invalidateAmbientCache { + MLNOfflineStorage.shared.invalidateAmbientCache { error in if let error = error { result(error) @@ -164,7 +161,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma case "map#updateMyLocationTrackingMode": guard let arguments = methodCall.arguments as? [String: Any] else { return } if let myLocationTrackingMode = arguments["mode"] as? UInt, - let trackingMode = MGLUserTrackingMode(rawValue: myLocationTrackingMode) + let trackingMode = MLNUserTrackingMode(rawValue: myLocationTrackingMode) { setMyLocationTrackingMode(myLocationTrackingMode: trackingMode) } @@ -220,7 +217,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma filterExpression = NSPredicate(mglJSONObject: filter) } var reply = [String: NSObject]() - var features: [MGLFeature] = [] + var features: [MLNFeature] = [] if let x = arguments["x"] as? Double, let y = arguments["y"] as? Double { features = mapView.visibleFeatures( at: CGPoint(x: x, y: y), @@ -254,10 +251,10 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma case "map#setTelemetryEnabled": guard let arguments = methodCall.arguments as? [String: Any] else { return } let telemetryEnabled = arguments["enabled"] as? Bool - UserDefaults.standard.set(telemetryEnabled, forKey: "MGLMapboxMetricsEnabled") + UserDefaults.standard.set(telemetryEnabled, forKey: "MLNMapboxMetricsEnabled") result(nil) case "map#getTelemetryEnabled": - let telemetryEnabled = UserDefaults.standard.bool(forKey: "MGLMapboxMetricsEnabled") + let telemetryEnabled = UserDefaults.standard.bool(forKey: "MLNMapboxMetricsEnabled") result(telemetryEnabled) case "map#getVisibleRegion": var reply = [String: NSObject]() @@ -416,17 +413,17 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma //switch depending on the runtime type of layer switch layer { - case let lineLayer as MGLLineStyleLayer: + case let lineLayer as MLNLineStyleLayer: LayerPropertyConverter.addLineProperties(lineLayer: lineLayer, properties: properties) - case let fillLayer as MGLFillStyleLayer: + case let fillLayer as MLNFillStyleLayer: LayerPropertyConverter.addFillProperties(fillLayer: fillLayer, properties: properties) - case let circleLayer as MGLCircleStyleLayer: + case let circleLayer as MLNCircleStyleLayer: LayerPropertyConverter.addCircleProperties(circleLayer: circleLayer, properties: properties) - case let symbolLayer as MGLSymbolStyleLayer: + case let symbolLayer as MLNSymbolStyleLayer: LayerPropertyConverter.addSymbolProperties(symbolLayer: symbolLayer, properties: properties) - case let rasterLayer as MGLRasterStyleLayer: + case let rasterLayer as MLNRasterStyleLayer: LayerPropertyConverter.addRasterProperties(rasterLayer: rasterLayer, properties: properties) - case let hillshadeLayer as MGLHillshadeStyleLayer: + case let hillshadeLayer as MLNHillshadeStyleLayer: LayerPropertyConverter.addHillshadeProperties(hillshadeLayer: hillshadeLayer, properties: properties) default: result(FlutterError( @@ -600,7 +597,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma guard let image = UIImage(data: data) else { return } guard let coordinates = arguments["coordinates"] as? [[Double]] else { return } - let quad = MGLCoordinateQuad( + let quad = MLNCoordinateQuad( topLeft: CLLocationCoordinate2D( latitude: coordinates[0][0], longitude: coordinates[0][1] @@ -629,7 +626,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma return } - let source = MGLImageSource( + let source = MLNImageSource( identifier: imageSourceId, coordinateQuad: quad, image: image @@ -641,7 +638,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma guard let arguments = methodCall.arguments as? [String: Any] else { return } guard let imageSourceId = arguments["imageSourceId"] as? String else { return } guard let imageSource = mapView.style? - .source(withIdentifier: imageSourceId) as? MGLImageSource else { return } + .source(withIdentifier: imageSourceId) as? MLNImageSource else { return } let bytes = arguments["bytes"] as? FlutterStandardTypedData if bytes != nil { guard let data = bytes!.data as? Data else { return } @@ -650,7 +647,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } let coordinates = arguments["coordinates"] as? [[Double]] if coordinates != nil { - let quad = MGLCoordinateQuad( + let quad = MLNCoordinateQuad( topLeft: CLLocationCoordinate2D( latitude: coordinates![0][0], longitude: coordinates![0][1] @@ -706,7 +703,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma return } - let layer = MGLRasterStyleLayer(identifier: imageLayerId, source: source) + let layer = MLNRasterStyleLayer(identifier: imageLayerId, source: source) if let minzoom = minzoom { layer.minimumZoomLevel = Float(minzoom) @@ -754,7 +751,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma return } - let layer = MGLRasterStyleLayer(identifier: imageLayerId, source: source) + let layer = MLNRasterStyleLayer(identifier: imageLayerId, source: source) if let minzoom = minzoom { layer.minimumZoomLevel = Float(minzoom) @@ -787,7 +784,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma let southwest = CLLocationCoordinate2D(latitude: south, longitude: west) let northeast = CLLocationCoordinate2D(latitude: north, longitude: east) - let bounds = MGLCoordinateBounds(sw: southwest, ne: northeast) + let bounds = MLNCoordinateBounds(sw: southwest, ne: northeast) mapView.setVisibleCoordinateBounds(bounds, edgePadding: UIEdgeInsets(top: padding, left: padding, bottom: padding, right: padding) , animated: true) result(nil) @@ -858,13 +855,13 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } var reply = [String: NSObject]() - var features: [MGLFeature] = [] + var features: [MLNFeature] = [] guard let style = mapView.style else { return } if let source = style.source(withIdentifier: sourceId) { - if let vectorSource = source as? MGLVectorTileSource { + if let vectorSource = source as? MLNVectorTileSource { features = vectorSource.features(sourceLayerIdentifiers: sourceLayerId, predicate: filterExpression) - } else if let shapeSource = source as? MGLShapeSource { + } else if let shapeSource = source as? MLNShapeSource { features = shapeSource.features(matching: filterExpression) } } @@ -914,7 +911,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma guard let layer = style.layer(withIdentifier: layerId) else { return } var currentLayerFilter : String = "" - if let vectorLayer = layer as? MGLVectorStyleLayer { + if let vectorLayer = layer as? MLNVectorStyleLayer { if let layerFilter = vectorLayer.predicate { let jsonExpression = layerFilter.mgl_jsonExpressionObject @@ -967,7 +964,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma mapView.showsUserLocation = myLocationEnabled } - private func getCamera() -> MGLMapCamera? { + private func getCamera() -> MLNMapCamera? { return trackCameraPosition ? mapView.camera : nil } @@ -978,7 +975,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma /* * Scan layers from top to bottom and return the first matching feature */ - private func firstFeatureOnLayers(at: CGPoint) -> MGLFeature? { + private func firstFeatureOnLayers(at: CGPoint) -> MLNFeature? { guard let style = mapView.style else { return nil } // get layers in order (interactiveFeatureLayerIds is unordered) @@ -1114,7 +1111,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma * Override the attribution button's click target to handle the event locally. * Called if the application supplies an onAttributionClick handler. */ - func setupAttribution(_ mapView: MGLMapView) { + func setupAttribution(_ mapView: MLNMapView) { mapView.attributionButton.removeTarget( mapView, action: #selector(mapView.showAttribution), @@ -1136,9 +1133,9 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } */ /* - * MGLMapViewDelegate + * MLNMapViewDelegate */ - func mapView(_ mapView: MGLMapView, didFinishLoading _: MGLStyle) { + func mapView(_ mapView: MLNMapView, didFinishLoading _: MLNStyle) { isMapReady = true updateMyLocationEnabled() @@ -1166,11 +1163,11 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } // handle missing images - func mapView(_: MGLMapView, didFailToLoadImage name: String) -> UIImage? { + func mapView(_: MLNMapView, didFailToLoadImage name: String) -> UIImage? { return loadIconImage(name: name) } - func mapView(_: MGLMapView, didUpdate userLocation: MGLUserLocation?) { + func mapView(_: MLNMapView, didUpdate userLocation: MLNUserLocation?) { if let channel = channel, let userLocation = userLocation, let location = userLocation.location { @@ -1181,7 +1178,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } } - func mapView(_: MGLMapView, didChange mode: MGLUserTrackingMode, animated _: Bool) { + func mapView(_: MLNMapView, didChange mode: MLNUserTrackingMode, animated _: Bool) { if let channel = channel { channel.invokeMethod("map#onCameraTrackingChanged", arguments: ["mode": mode.rawValue]) if mode == .none { @@ -1203,7 +1200,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) -> Result { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLSymbolStyleLayer(identifier: layerId, source: source) + let layer = MLNSymbolStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addSymbolProperties( symbolLayer: layer, properties: properties @@ -1248,7 +1245,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) -> Result { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLLineStyleLayer(identifier: layerId, source: source) + let layer = MLNLineStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addLineProperties(lineLayer: layer, properties: properties) if let sourceLayerIdentifier = sourceLayerIdentifier { layer.sourceLayerIdentifier = sourceLayerIdentifier @@ -1290,7 +1287,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) -> Result { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLFillStyleLayer(identifier: layerId, source: source) + let layer = MLNFillStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addFillProperties(fillLayer: layer, properties: properties) if let sourceLayerIdentifier = sourceLayerIdentifier { layer.sourceLayerIdentifier = sourceLayerIdentifier @@ -1332,7 +1329,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) -> Result { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLFillExtrusionStyleLayer(identifier: layerId, source: source) + let layer = MLNFillExtrusionStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addFillExtrusionProperties( fillExtrusionLayer: layer, properties: properties @@ -1377,7 +1374,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) -> Result { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLCircleStyleLayer(identifier: layerId, source: source) + let layer = MLNCircleStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addCircleProperties( circleLayer: layer, properties: properties @@ -1409,7 +1406,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma return .success(()) } - func setFilter(_ layer: MGLStyleLayer, _ filter: String) -> Result { + func setFilter(_ layer: MLNStyleLayer, _ filter: String) -> Result { do { let filter = try JSONSerialization.jsonObject( with: filter.data(using: .utf8)!, @@ -1419,7 +1416,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma return .success(()) } let predicate = NSPredicate(mglJSONObject: filter) - if let layer = layer as? MGLVectorStyleLayer { + if let layer = layer as? MLNVectorStyleLayer { layer.predicate = predicate } else { return .failure(MethodCallError.invalidLayerType( @@ -1442,7 +1439,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLHillshadeStyleLayer(identifier: layerId, source: source) + let layer = MLNHillshadeStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addHillshadeProperties( hillshadeLayer: layer, properties: properties @@ -1472,7 +1469,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLHeatmapStyleLayer(identifier: layerId, source: source) + let layer = MLNHeatmapStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addHeatmapProperties( heatmapLayer: layer, properties: properties @@ -1502,7 +1499,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma ) { if let style = mapView.style { if let source = style.source(withIdentifier: sourceId) { - let layer = MGLRasterStyleLayer(identifier: layerId, source: source) + let layer = MLNRasterStyleLayer(identifier: layerId, source: source) LayerPropertyConverter.addRasterProperties( rasterLayer: layer, properties: properties @@ -1524,7 +1521,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma func addSource(sourceId: String, properties: [String: Any]) { if let style = mapView.style, let type = properties["type"] as? String { - var source: MGLSource? + var source: MLNSource? switch type { case "vector": @@ -1562,19 +1559,19 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } } - func mapViewDidBecomeIdle(_: MGLMapView) { + func mapViewDidBecomeIdle(_: MLNMapView) { if let channel = channel { channel.invokeMethod("map#onIdle", arguments: []) } } - func mapView(_: MGLMapView, regionWillChangeAnimated _: Bool) { + func mapView(_: MLNMapView, regionWillChangeAnimated _: Bool) { if let channel = channel { channel.invokeMethod("camera#onMoveStarted", arguments: []) } } - func mapViewRegionIsChanging(_ mapView: MGLMapView) { + func mapViewRegionIsChanging(_ mapView: MLNMapView) { if !trackCameraPosition { return } if let channel = channel { channel.invokeMethod("camera#onMove", arguments: [ @@ -1583,7 +1580,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma } } - func mapView(_ mapView: MGLMapView, regionDidChangeAnimated _: Bool) { + func mapView(_ mapView: MLNMapView, regionDidChangeAnimated _: Bool) { let arguments = trackCameraPosition ? [ "position": getCamera()?.toDict(mapView: mapView) ] : [:] @@ -1594,11 +1591,11 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma func addSourceGeojson(sourceId: String, geojson: String) { do { - let parsed = try MGLShape( + let parsed = try MLNShape( data: geojson.data(using: .utf8)!, encoding: String.Encoding.utf8.rawValue ) - let source = MGLShapeSource(identifier: sourceId, shape: parsed, options: [:]) + let source = MLNShapeSource(identifier: sourceId, shape: parsed, options: [:]) addedShapesByLayer[sourceId] = parsed mapView.style?.addSource(source) print(source) @@ -1607,11 +1604,11 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma func setSource(sourceId: String, geojson: String) { do { - let parsed = try MGLShape( + let parsed = try MLNShape( data: geojson.data(using: .utf8)!, encoding: String.Encoding.utf8.rawValue ) - if let source = mapView.style?.source(withIdentifier: sourceId) as? MGLShapeSource { + if let source = mapView.style?.source(withIdentifier: sourceId) as? MLNShapeSource { addedShapesByLayer[sourceId] = parsed source.shape = parsed } @@ -1620,13 +1617,13 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma func setFeature(sourceId: String, geojsonFeature: String) { do { - let newShape = try MGLShape( + let newShape = try MLNShape( data: geojsonFeature.data(using: .utf8)!, encoding: String.Encoding.utf8.rawValue ) - if let source = mapView.style?.source(withIdentifier: sourceId) as? MGLShapeSource, - let shape = addedShapesByLayer[sourceId] as? MGLShapeCollectionFeature, - let feature = newShape as? MGLShape & MGLFeature + if let source = mapView.style?.source(withIdentifier: sourceId) as? MLNShapeSource, + let shape = addedShapesByLayer[sourceId] as? MLNShapeCollectionFeature, + let feature = newShape as? MLNShape & MLNFeature { if let index = shape.shapes .firstIndex(where: { @@ -1643,7 +1640,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma var shapes = shape.shapes shapes[index] = feature - source.shape = MGLShapeCollectionFeature(shapes: shapes) + source.shape = MLNShapeCollectionFeature(shapes: shapes) } addedShapesByLayer[sourceId] = source.shape @@ -1655,7 +1652,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma /* * MapboxMapOptionsSink */ - func setCameraTargetBounds(bounds: MGLCoordinateBounds?) { + func setCameraTargetBounds(bounds: MLNCoordinateBounds?) { cameraTargetBounds = bounds } @@ -1729,7 +1726,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma updateMyLocationEnabled() } - func setMyLocationTrackingMode(myLocationTrackingMode: MGLUserTrackingMode) { + func setMyLocationTrackingMode(myLocationTrackingMode: MLNUserTrackingMode) { mapView.userTrackingMode = myLocationTrackingMode } @@ -1748,7 +1745,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma mapView.logoViewMargins = CGPoint(x: x, y: y) } - func setCompassViewPosition(position: MGLOrnamentPosition) { + func setCompassViewPosition(position: MLNOrnamentPosition) { mapView.compassViewPosition = position } @@ -1760,7 +1757,7 @@ class MapboxMapController: NSObject, FlutterPlatformView, MGLMapViewDelegate, Ma mapView.attributionButtonMargins = CGPoint(x: x, y: y) } - func setAttributionButtonPosition(position: MGLOrnamentPosition) { + func setAttributionButtonPosition(position: MLNOrnamentPosition) { mapView.attributionButtonPosition = position } } diff --git a/ios/Classes/MapboxMapOptionsSink.swift b/ios/Classes/MapboxMapOptionsSink.swift index c032baa1..9c3e6dbe 100644 --- a/ios/Classes/MapboxMapOptionsSink.swift +++ b/ios/Classes/MapboxMapOptionsSink.swift @@ -1,8 +1,8 @@ -import Mapbox +import MapLibre protocol MapboxMapOptionsSink { - func setCameraTargetBounds(bounds: MGLCoordinateBounds?) + func setCameraTargetBounds(bounds: MLNCoordinateBounds?) func setCompassEnabled(compassEnabled: Bool) func setStyleString(styleString: String) func setMinMaxZoomPreference(min: Double, max: Double) @@ -12,11 +12,11 @@ protocol MapboxMapOptionsSink { func setTrackCameraPosition(trackCameraPosition: Bool) func setZoomGesturesEnabled(zoomGesturesEnabled: Bool) func setMyLocationEnabled(myLocationEnabled: Bool) - func setMyLocationTrackingMode(myLocationTrackingMode: MGLUserTrackingMode) + func setMyLocationTrackingMode(myLocationTrackingMode: MLNUserTrackingMode) func setMyLocationRenderMode(myLocationRenderMode: MyLocationRenderMode) func setLogoViewMargins(x: Double, y: Double) - func setCompassViewPosition(position: MGLOrnamentPosition) + func setCompassViewPosition(position: MLNOrnamentPosition) func setCompassViewMargins(x: Double, y: Double) func setAttributionButtonMargins(x: Double, y: Double) - func setAttributionButtonPosition(position: MGLOrnamentPosition) + func setAttributionButtonPosition(position: MLNOrnamentPosition) } diff --git a/ios/Classes/OfflineManagerUtils.swift b/ios/Classes/OfflineManagerUtils.swift index a2d3bbe6..4a725d74 100644 --- a/ios/Classes/OfflineManagerUtils.swift +++ b/ios/Classes/OfflineManagerUtils.swift @@ -7,7 +7,7 @@ import Flutter import Foundation -import Mapbox +import MapLibre class OfflineManagerUtils { static var activeDownloaders: [Int: OfflinePackDownloader] = [:] @@ -34,7 +34,7 @@ class OfflineManagerUtils { } static func regionsList(result: @escaping FlutterResult) { - let offlineStorage = MGLOfflineStorage.shared + let offlineStorage = MLNOfflineStorage.shared guard let packs = offlineStorage.packs else { result("[]") return @@ -52,13 +52,13 @@ class OfflineManagerUtils { } static func setOfflineTileCountLimit(result: @escaping FlutterResult, maximumCount: UInt64) { - let offlineStorage = MGLOfflineStorage.shared + let offlineStorage = MLNOfflineStorage.shared offlineStorage.setMaximumAllowedMapboxTiles(maximumCount) result(nil) } static func deleteRegion(result: @escaping FlutterResult, id: Int) { - let offlineStorage = MGLOfflineStorage.shared + let offlineStorage = MLNOfflineStorage.shared guard let pacs = offlineStorage.packs else { return } let packToRemove = pacs.first(where: { pack -> Bool in let contextJsonObject = try? JSONSerialization.jsonObject(with: pack.context) diff --git a/ios/Classes/OfflinePackDownloadManager.swift b/ios/Classes/OfflinePackDownloadManager.swift index 783ba581..4d1c7a8e 100644 --- a/ios/Classes/OfflinePackDownloadManager.swift +++ b/ios/Classes/OfflinePackDownloadManager.swift @@ -7,7 +7,7 @@ import Flutter import Foundation -import Mapbox +import MapLibre class OfflinePackDownloader { // MARK: Properties @@ -18,7 +18,7 @@ class OfflinePackDownloader { private let metadata: [String: Any] /// Currently managed pack - private var pack: MGLOfflinePack? + private var pack: MLNOfflinePack? /// This variable is set to true when this downloader has finished downloading and called the result method. It is used to prevent /// the result method being called multiple times @@ -48,12 +48,12 @@ class OfflinePackDownloader { // MARK: Public methods func download() -> Int { - let storage = MGLOfflineStorage.shared + let storage = MLNOfflineStorage.shared // While the Android SDK generates a region ID in createOfflineRegion, the iOS // SDK does not have this feature. Therefore, we generate a region ID here. let id = UUID().hashValue let regionData = OfflineRegion(id: id, metadata: metadata, definition: regionDefinition) - let tilePyramidRegion = regionDefinition.toMGLTilePyramidOfflineRegion() + let tilePyramidRegion = regionDefinition.toMLNTilePyramidOfflineRegion() storage .addPack(for: tilePyramidRegion, withContext: regionData.prepareContext()) { [weak self] pack, error in @@ -68,7 +68,7 @@ class OfflinePackDownloader { // MARK: Pack management - private func onPackCreated(pack: MGLOfflinePack) { + private func onPackCreated(pack: MLNOfflinePack) { if let region = OfflineRegion.fromOfflinePack(pack), let regionData = try? JSONSerialization.data(withJSONObject: region.toDictionary()) { @@ -101,7 +101,7 @@ class OfflinePackDownloader { @objc private func onPackDownloadProgress(notification: NSNotification) { // Verify if correct pack is checked - guard let pack = notification.object as? MGLOfflinePack, + guard let pack = notification.object as? MLNOfflinePack, verifyPack(pack: pack) else { return } // Calculate progress of downloading let packProgress = pack.progress @@ -129,9 +129,9 @@ class OfflinePackDownloader { } @objc private func onPackDownloadError(notification: NSNotification) { - guard let pack = notification.object as? MGLOfflinePack, + guard let pack = notification.object as? MLNOfflinePack, verifyPack(pack: pack) else { return } - let error = notification.userInfo?[MGLOfflinePackUserInfoKey.error] as? NSError + let error = notification.userInfo?[MLNOfflinePackUserInfoKey.error] as? NSError print("Pack download error: \(String(describing: error?.localizedDescription))") // set download state to inactive isCompleted = true @@ -151,9 +151,9 @@ class OfflinePackDownloader { } @objc private func onMaximumAllowedMapboxTiles(notification: NSNotification) { - guard let pack = notification.object as? MGLOfflinePack, + guard let pack = notification.object as? MLNOfflinePack, verifyPack(pack: pack) else { return } - let maximumCount = (notification.userInfo?[MGLOfflinePackUserInfoKey.maximumCount] + let maximumCount = (notification.userInfo?[MLNOfflinePackUserInfoKey.maximumCount] as AnyObject).uint64Value ?? 0 print("Mapbox tile count limit exceeded: \(maximumCount)") // set download state to inactive @@ -179,19 +179,19 @@ class OfflinePackDownloader { NotificationCenter.default.addObserver( self, selector: #selector(onPackDownloadProgress(notification:)), - name: NSNotification.Name.MGLOfflinePackProgressChanged, + name: NSNotification.Name.MLNOfflinePackProgressChanged, object: nil ) NotificationCenter.default.addObserver( self, selector: #selector(onPackDownloadError(notification:)), - name: NSNotification.Name.MGLOfflinePackError, + name: NSNotification.Name.MLNOfflinePackError, object: nil ) NotificationCenter.default.addObserver( self, selector: #selector(onMaximumAllowedMapboxTiles(notification:)), - name: NSNotification.Name.MGLOfflinePackMaximumMapboxTilesReached, + name: NSNotification.Name.MLNOfflinePackMaximumMapboxTilesReached, object: nil ) } @@ -199,7 +199,7 @@ class OfflinePackDownloader { /// Since NotificationCenter will send notifications about all packs downloads we need to make sure we only handle packs /// managed by this downloader. So this method checks if the pack we got from a notification is the same as the pack being /// managed by this downloader and if it is it returns true. Otherwise it returns false - private func verifyPack(pack: MGLOfflinePack) -> Bool { + private func verifyPack(pack: MLNOfflinePack) -> Bool { guard let currentlyManagedPack = self.pack else { // No pack is being managed yet return false diff --git a/ios/Classes/OfflineRegion.swift b/ios/Classes/OfflineRegion.swift index 38231684..1181366e 100644 --- a/ios/Classes/OfflineRegion.swift +++ b/ios/Classes/OfflineRegion.swift @@ -6,7 +6,7 @@ // import Foundation -import Mapbox +import MapLibre class OfflineRegion { let id: Int @@ -37,8 +37,8 @@ class OfflineRegion { ] } - static func fromOfflinePack(_ pack: MGLOfflinePack) -> OfflineRegion? { - guard let region = pack.region as? MGLTilePyramidOfflineRegion, + static func fromOfflinePack(_ pack: MLNOfflinePack) -> OfflineRegion? { + guard let region = pack.region as? MLNTilePyramidOfflineRegion, let dataObject = try? JSONSerialization.jsonObject(with: pack.context, options: []), let dict = dataObject as? [String: Any], let id = dict["id"] as? Int, diff --git a/ios/Classes/OfflineRegionDefinition.swift b/ios/Classes/OfflineRegionDefinition.swift index a4046b38..9e57cde8 100644 --- a/ios/Classes/OfflineRegionDefinition.swift +++ b/ios/Classes/OfflineRegionDefinition.swift @@ -1,5 +1,5 @@ import Foundation -import Mapbox +import MapLibre class OfflineRegionDefinition { let bounds: [[Double]] @@ -14,8 +14,8 @@ class OfflineRegionDefinition { self.maxZoom = maxZoom } - func getBounds() -> MGLCoordinateBounds { - return MGLCoordinateBounds( + func getBounds() -> MLNCoordinateBounds { + return MLNCoordinateBounds( sw: CLLocationCoordinate2D(latitude: bounds[0][0], longitude: bounds[0][1]), ne: CLLocationCoordinate2D(latitude: bounds[1][0], longitude: bounds[1][1]) ) @@ -45,8 +45,8 @@ class OfflineRegionDefinition { ] } - func toMGLTilePyramidOfflineRegion() -> MGLTilePyramidOfflineRegion { - return MGLTilePyramidOfflineRegion( + func toMLNTilePyramidOfflineRegion() -> MLNTilePyramidOfflineRegion { + return MLNTilePyramidOfflineRegion( styleURL: mapStyleUrl, bounds: getBounds(), fromZoomLevel: minZoom, diff --git a/ios/Classes/SourcePropertyConverter.swift b/ios/Classes/SourcePropertyConverter.swift index 4831a4b4..01b8f147 100644 --- a/ios/Classes/SourcePropertyConverter.swift +++ b/ios/Classes/SourcePropertyConverter.swift @@ -1,13 +1,13 @@ import Foundation -import Mapbox +import MapLibre class SourcePropertyConverter { - class func interpretTileOptions(properties: [String: Any]) -> [MGLTileSourceOption: Any] { - var options = [MGLTileSourceOption: Any]() + class func interpretTileOptions(properties: [String: Any]) -> [MLNTileSourceOption: Any] { + var options = [MLNTileSourceOption: Any]() if let bounds = properties["bounds"] as? [Double] { options[.coordinateBounds] = - NSValue(mglCoordinateBounds: boundsFromArray(coordinates: bounds)) + NSValue(mlnCoordinateBounds: boundsFromArray(coordinates: bounds)) } if let minzoom = properties["minzoom"] as? Double { options[.minimumZoomLevel] = minzoom @@ -19,7 +19,7 @@ class SourcePropertyConverter { options[.tileSize] = Int(tileSize) } if let scheme = properties["scheme"] as? String { - let system: MGLTileCoordinateSystem = (scheme == "tms" ? .TMS : .XYZ) + let system: MLNTileCoordinateSystem = (scheme == "tms" ? .TMS : .XYZ) options[.tileCoordinateSystem] = system.rawValue } return options @@ -27,14 +27,14 @@ class SourcePropertyConverter { } class func buildRasterTileSource(identifier: String, - properties: [String: Any]) -> MGLRasterTileSource? + properties: [String: Any]) -> MLNRasterTileSource? { if let rawUrl = properties["url"] as? String, let url = URL(string: rawUrl) { - return MGLRasterTileSource(identifier: identifier, configurationURL: url) + return MLNRasterTileSource(identifier: identifier, configurationURL: url) } if let tiles = properties["tiles"] as? [String] { let options = interpretTileOptions(properties: properties) - return MGLRasterTileSource( + return MLNRasterTileSource( identifier: identifier, tileURLTemplates: tiles, options: options @@ -44,13 +44,13 @@ class SourcePropertyConverter { } class func buildVectorTileSource(identifier: String, - properties: [String: Any]) -> MGLVectorTileSource? + properties: [String: Any]) -> MLNVectorTileSource? { if let rawUrl = properties["url"] as? String, let url = URL(string: rawUrl) { - return MGLVectorTileSource(identifier: identifier, configurationURL: url) + return MLNVectorTileSource(identifier: identifier, configurationURL: url) } if let tiles = properties["tiles"] as? [String] { - return MGLVectorTileSource( + return MLNVectorTileSource( identifier: identifier, tileURLTemplates: tiles, options: interpretTileOptions(properties: properties) @@ -60,13 +60,13 @@ class SourcePropertyConverter { } class func buildRasterDemSource(identifier: String, - properties: [String: Any]) -> MGLRasterDEMSource? + properties: [String: Any]) -> MLNRasterDEMSource? { if let rawUrl = properties["url"] as? String, let url = URL(string: rawUrl) { - return MGLRasterDEMSource(identifier: identifier, configurationURL: url) + return MLNRasterDEMSource(identifier: identifier, configurationURL: url) } if let tiles = properties["tiles"] as? [String] { - return MGLRasterDEMSource( + return MLNRasterDEMSource( identifier: identifier, tileURLTemplates: tiles, options: interpretTileOptions(properties: properties) @@ -75,8 +75,8 @@ class SourcePropertyConverter { return nil } - class func interpretShapeOptions(properties: [String: Any]) -> [MGLShapeSourceOption: Any] { - var options = [MGLShapeSourceOption: Any]() + class func interpretShapeOptions(properties: [String: Any]) -> [MLNShapeSourceOption: Any] { + var options = [MLNShapeSourceOption: Any]() if let maxzoom = properties["maxzoom"] as? Double { options[.maximumZoomLevel] = maxzoom @@ -107,26 +107,26 @@ class SourcePropertyConverter { return options } - class func buildShapeSource(identifier: String, properties: [String: Any]) -> MGLShapeSource? { + class func buildShapeSource(identifier: String, properties: [String: Any]) -> MLNShapeSource? { let options = interpretShapeOptions(properties: properties) if let data = properties["data"] as? String, let url = URL(string: data) { - return MGLShapeSource(identifier: identifier, url: url, options: options) + return MLNShapeSource(identifier: identifier, url: url, options: options) } if let data = properties["data"] { do { let geoJsonData = try JSONSerialization.data(withJSONObject: data) - let shape = try MGLShape(data: geoJsonData, encoding: String.Encoding.utf8.rawValue) - return MGLShapeSource(identifier: identifier, shape: shape, options: options) + let shape = try MLNShape(data: geoJsonData, encoding: String.Encoding.utf8.rawValue) + return MLNShapeSource(identifier: identifier, shape: shape, options: options) } catch {} } return nil } - class func buildImageSource(identifier: String, properties: [String: Any]) -> MGLImageSource? { + class func buildImageSource(identifier: String, properties: [String: Any]) -> MLNImageSource? { if let rawUrl = properties["url"] as? String, let url = URL(string: rawUrl), let coordinates = properties["coordinates"] as? [[Double]] { - return MGLImageSource( + return MLNImageSource( identifier: identifier, coordinateQuad: quadFromArray(coordinates: coordinates), url: url @@ -135,10 +135,10 @@ class SourcePropertyConverter { return nil } - class func addShapeProperties(properties: [String: Any], source: MGLShapeSource) { + class func addShapeProperties(properties: [String: Any], source: MLNShapeSource) { do { if let data = properties["data"] as? String { - let parsed = try MGLShape( + let parsed = try MLNShape( data: data.data(using: .utf8)!, encoding: String.Encoding.utf8.rawValue ) @@ -147,8 +147,8 @@ class SourcePropertyConverter { } catch {} } - class func quadFromArray(coordinates: [[Double]]) -> MGLCoordinateQuad { - return MGLCoordinateQuad( + class func quadFromArray(coordinates: [[Double]]) -> MLNCoordinateQuad { + return MLNCoordinateQuad( topLeft: CLLocationCoordinate2D( latitude: coordinates[0][1], longitude: coordinates[0][0] @@ -168,8 +168,8 @@ class SourcePropertyConverter { ) } - class func boundsFromArray(coordinates: [Double]) -> MGLCoordinateBounds { - return MGLCoordinateBounds( + class func boundsFromArray(coordinates: [Double]) -> MLNCoordinateBounds { + return MLNCoordinateBounds( sw: CLLocationCoordinate2D(latitude: coordinates[1], longitude: coordinates[0]), ne: CLLocationCoordinate2D(latitude: coordinates[3], longitude: coordinates[2]) ) diff --git a/ios/Classes/SwiftMapboxGlFlutterPlugin.swift b/ios/Classes/SwiftMapboxGlFlutterPlugin.swift index b60651b1..70ffe349 100644 --- a/ios/Classes/SwiftMapboxGlFlutterPlugin.swift +++ b/ios/Classes/SwiftMapboxGlFlutterPlugin.swift @@ -1,6 +1,6 @@ import Flutter import Foundation -import Mapbox +import MapLibre import UIKit public class SwiftMapboxGlFlutterPlugin: NSObject, FlutterPlugin { @@ -31,7 +31,7 @@ public class SwiftMapboxGlFlutterPlugin: NSObject, FlutterPlugin { } let sessionConfig = URLSessionConfiguration.default sessionConfig.httpAdditionalHeaders = headers // your headers here - MGLNetworkConfiguration.sharedManager.sessionConfiguration = sessionConfig + MLNNetworkConfiguration.sharedManager.sessionConfiguration = sessionConfig result(nil) case "installOfflineMapTiles": guard let arguments = methodCall.arguments as? [String: String] else { return } diff --git a/ios/maplibre_gl.podspec b/ios/maplibre_gl.podspec index ba02628f..3bda0968 100644 --- a/ios/maplibre_gl.podspec +++ b/ios/maplibre_gl.podspec @@ -15,7 +15,7 @@ A new Flutter plugin. s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' s.dependency 'Flutter' - s.dependency 'MapLibre', '5.14.0-pre3' + s.dependency 'MapLibre', '6.4.2' s.swift_version = '4.2' s.ios.deployment_target = '11.0' end