Skip to content

Commit

Permalink
fix: updated Mapbox callstack check for iOS custom headers to check f…
Browse files Browse the repository at this point in the history
…or MapLibre instead (#461)

* fix: update callstack check from Mapbox to MapLibre
* chore: update changelog
  • Loading branch information
rxnveer authored Oct 3, 2024
1 parent 2671381 commit a6d6216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ PR Title ([#123](link to my pr))
```

fix: updated Mapbox callstack check for iOS custom headers to check for MapLibre instead [#461](https://github.com/maplibre/maplibre-react-native/pull/461)

## 10.0.0-alpha.17

fix: [add generic expo plugin to remove Duplicated Signature in Xcode 15/16](<[#453](https://github.com/maplibre/maplibre-react-native/pull/453)>)
Expand Down
2 changes: 1 addition & 1 deletion ios/RCTMLN/MLNCustomHeaders.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ +(NSMutableURLRequest*) __swizzle_requestWithURL:(NSURL*)url {
return [NSMutableURLRequest __swizzle_requestWithURL:url];
}

if ([stack[1] containsString:@"Mapbox"] == NO) {
if ([stack[1] containsString:@"MapLibre"] == NO) {
return [NSMutableURLRequest __swizzle_requestWithURL:url];
}

Expand Down

0 comments on commit a6d6216

Please sign in to comment.