@maplibre/maplibre-react-native 10.0.0-alpha.16 → 10.0.0-alpha.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,15 @@ PR Title ([#123](link to my pr))
6
6
 
7
7
  ```
8
8
 
9
+ ## 10.0.0-alpha.18
10
+
11
+ fix: make MarkerView props with defaults optional ([#460](https://github.com/maplibre/maplibre-react-native/pull/460))
12
+ fix: updated Mapbox callstack check for iOS custom headers to check for MapLibre instead [#461](https://github.com/maplibre/maplibre-react-native/pull/461)
13
+
14
+ ## 10.0.0-alpha.17
15
+
16
+ fix: [add generic expo plugin to remove Duplicated Signature in Xcode 15/16](<[#453](https://github.com/maplibre/maplibre-react-native/pull/453)>)
17
+
9
18
  ## 10.0.0-alpha.16
10
19
 
11
20
  fix: [another attempt to disable code signing](<[#451](https://github.com/maplibre/maplibre-react-native/pull/451)>)
@@ -21,7 +21,7 @@
21
21
  return [NSMutableURLRequest __swizzle_requestWithURL:url];
22
22
  }
23
23
 
24
- if ([stack[1] containsString:@"Mapbox"] == NO) {
24
+ if ([stack[1] containsString:@"MapLibre"] == NO) {
25
25
  return [NSMutableURLRequest __swizzle_requestWithURL:url];
26
26
  }
27
27
 
@@ -656,10 +656,7 @@
656
656
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
657
657
  CLANG_WARN_UNREACHABLE_CODE = YES;
658
658
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
659
- CODE_SIGN_IDENTITY = "";
660
- CODE_SIGNING_REQUIRED = NO;
661
- CODE_SIGN_ENTITLEMENTS = "";
662
- CODE_SIGNING_ALLOWED = NO;
659
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
663
660
  COPY_PHASE_STRIP = NO;
664
661
  DEBUG_INFORMATION_FORMAT = dwarf;
665
662
  ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -708,10 +705,7 @@
708
705
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
709
706
  CLANG_WARN_UNREACHABLE_CODE = YES;
710
707
  CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
711
- CODE_SIGN_IDENTITY = "";
712
- CODE_SIGNING_REQUIRED = NO;
713
- CODE_SIGN_ENTITLEMENTS = "";
714
- CODE_SIGNING_ALLOWED = NO;
708
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
715
709
  COPY_PHASE_STRIP = NO;
716
710
  DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
717
711
  ENABLE_NS_ASSERTIONS = NO;
@@ -20,7 +20,7 @@ interface MarkerViewProps extends ViewProps {
20
20
  * Note this is only for custom annotations not the default pin view.
21
21
  * Defaults to the center of the view.
22
22
  */
23
- anchor: {
23
+ anchor?: {
24
24
  /**
25
25
  * `x` of anchor
26
26
  */
@@ -30,8 +30,8 @@ interface MarkerViewProps extends ViewProps {
30
30
  */
31
31
  y: number;
32
32
  };
33
- allowOverlap: boolean;
34
- isSelected: boolean;
33
+ allowOverlap?: boolean;
34
+ isSelected?: boolean;
35
35
  /**
36
36
  * Expects one child - can be container with multiple elements
37
37
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maplibre/maplibre-react-native",
3
3
  "description": "A MapLibre GL Native plugin for creating maps in React Native",
4
- "version": "10.0.0-alpha.16",
4
+ "version": "10.0.0-alpha.18",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -106,6 +106,20 @@ function setExcludedArchitectures(project) {
106
106
  }
107
107
  return project;
108
108
  }
109
+ const withoutSignatures = (config) => {
110
+ const shellScript = `
111
+ echo "Remove signature files (Xcode workaround)";
112
+ rm -rf "$CONFIGURATION_BUILD_DIR/MapLibre.xcframework-ios.signature";
113
+ `;
114
+ return (0, config_plugins_1.withXcodeProject)(config, async (config) => {
115
+ const xcodeProject = config.modResults;
116
+ xcodeProject.addBuildPhase([], "PBXShellScriptBuildPhase", "Remove signature files (Xcode workaround)", null, {
117
+ shellPath: "/bin/sh",
118
+ shellScript,
119
+ });
120
+ return config;
121
+ });
122
+ };
109
123
  const withExcludedSimulatorArchitectures = (c) => {
110
124
  return (0, config_plugins_1.withXcodeProject)(c, (config) => {
111
125
  config.modResults = setExcludedArchitectures(config.modResults);
@@ -113,7 +127,7 @@ const withExcludedSimulatorArchitectures = (c) => {
113
127
  });
114
128
  };
115
129
  const withMapLibre = (config) => {
116
- config = withExcludedSimulatorArchitectures(config);
130
+ config = withoutSignatures(withExcludedSimulatorArchitectures(config));
117
131
  return withCocoaPodsInstallerBlocks(config);
118
132
  };
119
133
  exports.default = (0, config_plugins_1.createRunOncePlugin)(withMapLibre, pkg.name, pkg.version);