Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
275 commits
Select commit Hold shift + click to select a range
2d3582e
Update label-actions.yml
mfazekas Dec 13, 2020
c4318bc
Update bug_report.md
mfazekas Dec 13, 2020
7b50906
add some screenshots to readme (#1136)
ferdicus Dec 28, 2020
09a66cd
Update package.json
mfazekas Jan 8, 2021
7f9a3bb
add dependabot config (#1127)
ferdicus Jan 8, 2021
68bc45a
Update dependabot.yml
ferdicus Jan 8, 2021
e93728a
Bump actions/setup-node from v1 to v2.1.4 (#1144)
dependabot[bot] Jan 12, 2021
b3d82a8
Fix: onUpdate not called when renderMode is native (#1135)
RobertSasak Jan 12, 2021
98fe807
fix failing #needsLocationManagerRunning tests (#1172)
ferdicus Jan 15, 2021
cec17d3
Bump babel-jest from 25.5.1 to 26.6.3 in /example (#1153)
dependabot[bot] Jan 15, 2021
963a77b
feat(mapview): style json support on styleURL (#1102)
ferdicus Jan 15, 2021
14a1f59
✨ Implemented ShapeSource.features(...) method: (#1140)
Jan 15, 2021
00ccb90
RasterLayer.sourceID should be string (#1142)
savv Jan 15, 2021
b555ff6
Bump @types/react-test-renderer from 16.9.4 to 17.0.0 in /example (#1…
dependabot[bot] Jan 15, 2021
dff37bf
Bump @turf/bearing from 5.1.5 to 6.0.1 in /example (#1155)
dependabot[bot] Jan 15, 2021
edc87d8
Bump typescript from 4.0.5 to 4.1.3 (#1152)
dependabot[bot] Jan 15, 2021
1291b6a
Bump @types/react-native from 0.62.18 to 0.63.45 in /example (#1156)
dependabot[bot] Jan 15, 2021
3751c2a
upgrade react-native 0.63.4 and metro 0.64 (#1173)
ferdicus Jan 15, 2021
c42e96c
Update dependabot.yml
ferdicus Jan 16, 2021
d4e6915
Bump @typescript-eslint/eslint-plugin from 3.10.1 to 4.0.0 in /exampl…
dependabot[bot] Jan 22, 2021
3370590
Bump @types/react from 16.14.2 to 17.0.0 in /example (#1186)
dependabot[bot] Jan 22, 2021
bff8b7b
Bump @mapbox/mapbox-sdk from 0.6.0 to 0.11.0 in /example (#1180)
dependabot[bot] Jan 22, 2021
c2eea34
Bump @sinonjs/fake-timers from 6.0.1 to 7.0.1 (#1177)
dependabot[bot] Jan 22, 2021
99e63f7
Bump husky from 4.3.0 to 4.3.8 (#1175)
dependabot[bot] Jan 22, 2021
2e1e7f5
Bump @turf/distance from 5.1.5 to 6.2.0 in /example (#1174)
dependabot[bot] Jan 22, 2021
3e22d04
Bump jest from 25.5.4 to 26.6.3 in /example (#1178)
dependabot[bot] Jan 22, 2021
0440f1e
Update dependabot.yml (#1191)
ferdicus Jan 23, 2021
d7d057b
Fix: App crash when ProGuard is set to true (#1184)
RobertSasak Jan 29, 2021
7eafec9
Bump @typescript-eslint/parser from 3.10.1 to 4.14.0 in /example (#1194)
dependabot[bot] Jan 29, 2021
9aacc15
Bump documentation from 13.1.0 to 13.1.1 (#1196)
dependabot[bot] Jan 29, 2021
0864994
Bump @react-native-community/eslint-config in /example (#1197)
dependabot[bot] Jan 29, 2021
30b2841
Update RCTMGLMapView.java (#1192)
ilin-in Jan 29, 2021
fc9f74a
Bump react-native-safe-area-context from 0.7.3 to 3.1.9 in /example (…
dependabot[bot] Jan 29, 2021
541ca0c
remove react-native-safe-area-view, as it is deprecated and we do not…
ferdicus Jan 29, 2021
da56973
do not fire an update without a location (#1203)
ferdicus Feb 5, 2021
e8aec9f
remove install dependency (#1190)
ferdicus Feb 5, 2021
ca4d632
Update README.md
ferdicus Feb 5, 2021
b507fd2
Fix heading indicator alignment with the map in compass mode (#1215)
andrei-tofan Feb 12, 2021
9803240
Add course to the location event (#1209)
andrei-tofan Feb 12, 2021
c048645
Fix: Improve ExpressionField type (#1212)
Tomastomaslol Feb 12, 2021
ac9ab84
User build_type to handle non use_frameworks
mfazekas Mar 3, 2021
5ba31e4
fix: No event on cancelled user pan (#1226)
cbrevik Mar 5, 2021
3d9c5eb
fix compile issues with flipper (#1265)
ferdicus Mar 7, 2021
7c92efb
Bump actions/setup-node from v2.1.4 to v2.1.5 (#1259)
dependabot[bot] Mar 7, 2021
571df70
Update package.json
mfazekas Mar 7, 2021
d9490b1
Bump @mapbox/mapbox-sdk from 0.11.0 to 0.12.1 in /example (#1250)
dependabot[bot] Mar 7, 2021
8f1e952
Bump eslint-config-prettier from 6.15.0 to 8.1.0 in /example (#1252)
dependabot[bot] Mar 7, 2021
5540fe7
Bump @turf/along from 5.1.5 to 6.3.0 in /example (#1254)
dependabot[bot] Mar 7, 2021
e68b07a
Bump babel-plugin-module-resolver from 3.2.0 to 4.1.0 in /example (#1…
dependabot[bot] Mar 7, 2021
2272fd2
Bump react-native-elements from 2.3.2 to 3.2.0 in /example (#1256)
dependabot[bot] Mar 7, 2021
cb22b33
Bump react-native-vector-icons from 6.6.0 to 8.1.0 in /example (#1247)
dependabot[bot] Mar 7, 2021
3d4592c
add detox (#1267)
ferdicus Mar 12, 2021
150e056
Fix type declaration for OfflineManager (#1243)
bbalan Mar 12, 2021
5004e5f
Update CHANGELOG.md
ferdicus Mar 12, 2021
921e821
Update CHANGELOG.md
ferdicus Mar 12, 2021
93ba095
Update CHANGELOG.md
ferdicus Mar 12, 2021
5095b5e
add some convenience scripts (#1269)
ferdicus Mar 12, 2021
8718961
Make post-install noop
mfazekas Mar 14, 2021
8ce653c
Update install.md
ferdicus Mar 17, 2021
1f86f5e
Fix native UserLocation on Android (#1284)
janicduplessis Mar 19, 2021
ce1cf78
Add getClusterExpansionZoom to ShapeSource (#1279)
janicduplessis Mar 19, 2021
11a97ac
Add type definition for AnimatedPoint (#1280)
naftalibeder Mar 19, 2021
043ee7b
Update CHANGELOG.md
ferdicus Mar 19, 2021
a27790f
Create pull_request_template.md
ferdicus Mar 19, 2021
4404b19
feat(gh-actions): add ios build workflow (#1271)
ferdicus Mar 19, 2021
7aab1c5
Update README.md
ferdicus Mar 21, 2021
383e945
Update README.md
ferdicus Mar 21, 2021
88e3034
Update README.md
ferdicus Mar 26, 2021
fb36c80
Update README.md
ferdicus Mar 26, 2021
a1a9572
build(detox): disable flipper only on CI (#1294)
ferdicus Mar 26, 2021
ddb34e0
Update bug_report.md
mfazekas Apr 12, 2021
0d19cc8
Delete .travis.yml
mfazekas Apr 15, 2021
6b8fe10
Delete circle.yml
mfazekas Apr 15, 2021
55a5968
Bump react-native-screens from 2.18.1 to 3.0.0 in /example (#1300)
dependabot[bot] Apr 16, 2021
eba5d13
MapLibre: allow SPM on ios, and allow full customization on gradle
mfazekas Apr 17, 2021
acec80f
Maplibre docs
mfazekas Apr 17, 2021
d4ae31e
Update CHANGELOG.md
mfazekas Apr 17, 2021
75a78c6
Update install.md
ferdicus Apr 18, 2021
66343aa
Update install.md
ferdicus Apr 18, 2021
2139f5b
Update README.md
ferdicus Apr 18, 2021
8abfe97
Update README.md
ferdicus Apr 18, 2021
be0309c
Enable linear easing on map camera (#1281)
naftalibeder Apr 18, 2021
945d528
Update CHANGELOG.md
ferdicus Apr 18, 2021
3fd3468
Update CHANGELOG.md
ferdicus Apr 18, 2021
13bcdb4
Update CHANGELOG.md
ferdicus Apr 18, 2021
ffa51af
feat(ts): add types for Logger class (#1316)
ferdicus Apr 20, 2021
3257b2b
Update index.d.ts
ferdicus Apr 20, 2021
79db8b1
chore: release 8.2.0 beta2 (#1323)
ferdicus Apr 23, 2021
05490d2
Update RELEASE.md
ferdicus Apr 23, 2021
be4e868
remove useless targets (#1339)
ferdicus May 7, 2021
e15a1da
build(example): upgrade rn 0.64.1 (#1361)
ferdicus Jun 2, 2021
e85e75f
Bump actions/setup-java from 1 to 2.1.0 (#1375)
dependabot[bot] Jun 4, 2021
bcf6593
cleanup and increase timeout for install (#1378)
ferdicus Jun 4, 2021
f97925c
Add some missing props to TypeScript lib def (#1360)
draperunner Jun 4, 2021
cbd000d
fix: crash on invalid native peer (#1310)
michi-trecker Jun 4, 2021
5ca1c4a
Update CHANGELOG.md
ferdicus Jun 4, 2021
4c14eb6
Update CHANGELOG.md
ferdicus Jun 4, 2021
9c45e29
Bump jetifier from 1.6.8 to 2.0.0 in /example (#1372)
dependabot[bot] Jun 4, 2021
f6e9014
Bump @types/react-native from 0.63.52 to 0.64.8 in /example (#1370)
dependabot[bot] Jun 4, 2021
cb7a9b9
Bump lint-staged from 10.5.4 to 11.0.0 (#1367)
dependabot[bot] Jun 4, 2021
6eba837
Bump eslint-plugin-import from 2.22.1 to 2.23.4 (#1366)
dependabot[bot] Jun 4, 2021
c2544f3
Bump documentation from 13.1.1 to 13.2.5 (#1334)
dependabot[bot] Jun 4, 2021
caa6a79
Bump typescript from 4.1.3 to 4.3.2 (#1369)
dependabot[bot] Jun 4, 2021
a107c43
removing jest unittest framework from example folder (#1379)
ferdicus Jun 5, 2021
358143e
Bump okhttp to 4.9.0 (#1390)
EvanBacon Jun 11, 2021
fd48db6
Support dynamically changing local JSON in styleURL (#1399)
ferdicus Jun 14, 2021
422df59
Created Expo config plugin (#1388)
EvanBacon Jun 14, 2021
c03a26c
fallback on unversioned if package.json cannot be found (#1403)
EvanBacon Jun 15, 2021
76a3cab
update snap
ferdicus Jun 15, 2021
6a31be3
ignore fixtures directory for tests
ferdicus Jun 15, 2021
402b026
Update CHANGELOG.md
ferdicus Jun 15, 2021
f700610
Update install.md
ferdicus Jun 15, 2021
70612b0
Add compatibility with React 17 (#1387)
arabold Jun 18, 2021
0e173c7
Update CHANGELOG.md
ferdicus Jun 18, 2021
fb430a5
Added logoPosition props that allows to position the Mapbox logo (#1396)
dozGrou Jun 18, 2021
c8a5856
stopLocationManger on Destroy (#1382)
ferdicus Jun 18, 2021
82ec338
Fix typo (#1413)
chuchuva Jun 20, 2021
05f79ec
getClusterLeaves method for ShapeSourse (#1411)
evgenTraytyak Jun 22, 2021
ca8cb76
chore: release 8.2.0
ferdicus Jun 22, 2021
754a45f
fix: move plugin build step into postinstall
ferdicus Jun 22, 2021
ccc68f8
ci: remove publish check...
ferdicus Jun 22, 2021
701bf29
ci: reinstitude publish check
ferdicus Jun 22, 2021
eab816d
fix: revert postinstall back to prepare
ferdicus Jun 22, 2021
6feb152
chore: release 8.2.1
ferdicus Jun 22, 2021
e9cda65
Update install.md (#1421)
greenafrican Jun 25, 2021
f85c12c
docs: add some readme assets for example
ferdicus Jun 25, 2021
1ccc9be
Update README.md
ferdicus Jun 25, 2021
4228b99
fix link on how to configure secret token for iOS SDK download (#1422)
schiller-manuel Jun 26, 2021
b80ea80
Bump react-native from 0.64.1 to 0.64.2 in /example (#1446)
dependabot[bot] Jul 2, 2021
9ee6652
Bump @expo/config-plugins from 2.0.4 to 3.0.2 (#1440)
dependabot[bot] Jul 2, 2021
8bd158b
Bump actions/setup-node from 2.1.5 to 2.2.0 (#1437)
dependabot[bot] Jul 2, 2021
3a33578
Fix TypeScript type for Callout's textStyle prop (#1450)
draperunner Jul 9, 2021
bf848ce
Bump @babel/plugin-transform-runtime from 7.11.5 to 7.14.5 (#1438)
dependabot[bot] Jul 9, 2021
55873e1
test: move from react-native-testing-library => @testing-library/reac…
ferdicus Jul 16, 2021
b73056f
build(android): add additional okhttp dependency (#1452)
ferdicus Jul 16, 2021
2f5c132
refactor(example): clean up folder structure (#1464)
ferdicus Jul 23, 2021
5858730
docs(camera): update documentation for onUserTrackingModeChange (#1463)
ferdicus Jul 23, 2021
9af5e84
feat(camera): maxBounds/(min|max)ZoomLevel can be updated dynamically…
ferdicus Jul 23, 2021
c368468
Update geoUtils helpers types to correspond turf/helpers (#1455)
notrly Jul 23, 2021
6ace073
build: remove obsolete babel plugins (#1451)
ferdicus Jul 23, 2021
9e8ba2b
build(ios): pin maplibre version to 5.12.0 (#1454)
ferdicus Jul 23, 2021
926203a
update custom callout example
ferdicus Jul 23, 2021
1aa5b61
feat: support tintColor on Android (#1465)
janicduplessis Jul 23, 2021
fce82f1
feat(android): dynamically update `tintColor` (#1469)
ferdicus Jul 30, 2021
7475486
Update Readme.md (#1470)
davizp Jul 30, 2021
906f46b
Fix lineGradient showing wrong colors (#1471)
chuchuva Jul 30, 2021
36f0533
docs: make background in example pngs transparent (#1483)
lisabaut Aug 5, 2021
bf7f609
fix(readme): correct typo for android emulator example (#1485)
viddity Aug 5, 2021
f38ff0b
chore(example): align install steps with yarn, ignore created env fil…
lisabaut Aug 5, 2021
db7c5ec
style: run yarn lint (#1486)
lisabaut Aug 9, 2021
9be3f8b
chore(example): add podfile to gitignore (#1487)
viddity Aug 9, 2021
72a7ce4
test: add unit tests for component light (#1489)
viddity Aug 20, 2021
cfb0bb4
Bump actions/setup-node from 2.2.0 to 2.3.0 (#1480)
dependabot[bot] Aug 20, 2021
b328375
Bump eslint from 7.14.0 to 7.32.0 in /example (#1482)
dependabot[bot] Aug 20, 2021
201898f
Bump @mapbox/mapbox-sdk from 0.12.1 to 0.13.0 in /example (#1481)
dependabot[bot] Aug 20, 2021
f591ef7
Fix mistake in CustomHttpHeaders.md (#1488)
gersomvg Aug 20, 2021
7ab300d
[plugin] fix: exclude arm64 architectures for simulator builds (#1490)
EvanBacon Aug 20, 2021
260852b
Adds getClusterChildren for iOS and Android (#1495)
tr3v3r Aug 20, 2021
c771902
Update CHANGELOG.md
ferdicus Aug 20, 2021
a7a1af7
fix typo causing build error on iOS
ferdicus Aug 20, 2021
80546b5
chore: release 8.3.0
ferdicus Aug 20, 2021
0cba0fc
Update ShapeSource methods to make it usable with any cluster (#1499)
tr3v3r Sep 10, 2021
c7199fa
Update offlineManager.js (#1514)
sedot42 Sep 10, 2021
8617429
build(deps): bump actions/setup-node from 2.3.0 to 2.4.0 (#1516)
dependabot[bot] Sep 10, 2021
fdbb2a4
build(deps): bump actions/setup-java from 2.1.0 to 2.3.0 (#1515)
dependabot[bot] Sep 10, 2021
f2b12ad
build(deps-dev): bump jest from 26.6.3 to 27.1.0 in /example (#1518)
dependabot[bot] Sep 10, 2021
f38f80f
build(deps-dev): bump jest-circus from 26.6.3 to 27.1.0 in /example (…
dependabot[bot] Sep 10, 2021
88d77a2
build(deps-dev): bump typescript from 4.3.2 to 4.4.2 (#1521)
dependabot[bot] Sep 10, 2021
9a8722e
Update README.md
ferdicus Sep 10, 2021
bda7659
build(deps-dev): bump jest-circus from 26.6.3 to 27.1.1 in /example (…
dependabot[bot] Sep 10, 2021
5db3505
Update CHANGELOG.md
ferdicus Sep 17, 2021
8a2b00e
Update react-native-mapbox-gl.podspec
ferdicus Sep 17, 2021
c680562
Update CHANGELOG.md
ferdicus Sep 17, 2021
273a2e5
feat(shapesource): add getClusterLeaves functionality to example (#1540)
ferdicus Sep 20, 2021
d07f296
build(android): add telemetry dependency to default build setup (#1550)
ferdicus Sep 24, 2021
aec3803
Update README.md
ferdicus Sep 24, 2021
9e078fd
build(deps-dev): bump @react-native-community/eslint-config in /examp…
dependabot[bot] Oct 1, 2021
c81f75b
build(deps): bump @mapbox/geo-viewport from 0.4.1 to 0.5.0 in /exampl…
dependabot[bot] Oct 1, 2021
7b7257f
build(deps-dev): bump typescript from 4.4.2 to 4.4.3 (#1561)
dependabot[bot] Oct 1, 2021
cb76056
build(deps-dev): bump @types/react-native in /example (#1560)
dependabot[bot] Oct 1, 2021
4f2a9aa
build(deps-dev): bump @sinonjs/fake-timers from 7.1.2 to 8.0.1 (#1559)
dependabot[bot] Oct 1, 2021
5f27396
build(deps): bump actions/setup-java from 2.3.0 to 2.3.1 (#1558)
dependabot[bot] Oct 1, 2021
39b03e0
build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#1557)
dependabot[bot] Oct 1, 2021
2f05835
use new label-action scheme
ferdicus Oct 15, 2021
148c659
generate docs (#1577)
schiller-manuel Oct 15, 2021
22df62c
feat(example): update vertical alignment example (#1579)
ferdicus Oct 15, 2021
6e7b0a4
Allow padding directly on Camera (#1538)
naftalibeder Oct 18, 2021
0d7435c
style(eslint): align root and example with the same configuration (#1…
lisabaut Oct 18, 2021
89467d0
style: run lint again on changed files
lisabaut Oct 20, 2021
9e1ce53
chore: run lint-staged on TS files too
lisabaut Oct 20, 2021
4fa48bb
chore: add lint steps to PR template
lisabaut Oct 20, 2021
27a0ff4
core: update changelog
lisabaut Oct 20, 2021
fb469ff
Merge pull request #1584 from lisabaut/fix/lint-hooks
lisabaut Oct 20, 2021
1cd9e5b
Fix/stylesheet create type (#1583)
hugo-chq Oct 20, 2021
65c9767
build: upgrade to RN 0.66 (#1570)
ferdicus Oct 20, 2021
aa730fd
MapLibre support
mfazekas Oct 11, 2021
8ef3149
build(deps): bump @expo/config-plugins from 3.1.0 to 4.0.3 (#1585)
dependabot[bot] Oct 20, 2021
aef13ae
fix incorrect anchor calculation for PointAnnotation on iOS (#1576)
schiller-manuel Oct 21, 2021
4a93e90
chore: improve GH workflows (#1588)
lisabaut Oct 21, 2021
6a4a553
fix(iOS): pin mapLibre back to `5.12.0` (#1589)
ferdicus Oct 21, 2021
332a159
chore: release 8.4.0
ferdicus Oct 21, 2021
2ed7161
Update MapLibre to 5.12.1 on iOS (#1596)
janicduplessis Oct 29, 2021
6f639c5
build(deps-dev): bump @typescript-eslint/eslint-plugin
dependabot[bot] Nov 1, 2021
e29c111
build(deps-dev): bump @types/react-native in /example
dependabot[bot] Nov 1, 2021
a2d46c4
fix(Camera) persist zoom when changing from bounds to centerCoordinat…
naftalibeder Nov 3, 2021
c2bee8b
build: upgrade nove to v14.17.0
lisabaut Nov 4, 2021
4a330d2
Merge pull request #1606 from react-native-mapbox-gl/dependabot-npm_a…
lisabaut Nov 4, 2021
49a4133
Merge pull request #1611 from react-native-mapbox-gl/dependabot-npm_a…
lisabaut Nov 4, 2021
b21ba82
build(deps-dev): bump @babel/plugin-transform-runtime
dependabot[bot] Nov 1, 2021
4c2f415
Merge pull request #1609 from react-native-mapbox-gl/dependabot-npm_a…
lisabaut Nov 4, 2021
f8a508a
build(deps-dev): bump @babel/plugin-proposal-class-properties
dependabot[bot] Nov 4, 2021
1e655b1
build(deps): bump react-native-vector-icons in /example
dependabot[bot] Nov 1, 2021
6642359
Merge pull request #1607 from react-native-mapbox-gl/dependabot-npm_a…
lisabaut Nov 4, 2021
229661a
Merge pull request #1602 from react-native-mapbox-gl/dependabot-npm_a…
lisabaut Nov 4, 2021
4060e78
refactor(example): remove unused modules and scripts (#1618)
lisabaut Nov 5, 2021
0e2f436
ci: two scripts for linting with and without fix (#1630)
lisabaut Nov 10, 2021
61ddd12
fix(comma): add comma (#1635)
liamfend Nov 15, 2021
79e82e0
Add allowUpdates prop on Camera (#1619)
naftalibeder Nov 15, 2021
eca4858
Spread default camera props into test configs (#1637)
naftalibeder Nov 17, 2021
c70b3ab
chore: update turf to current version
lisabaut Nov 17, 2021
52a0b4b
fix: convertDistance -> convertLength
lisabaut Nov 17, 2021
04201d8
fix: correct import for Feature type
lisabaut Nov 17, 2021
7c63ffb
chore: update Changelog
lisabaut Nov 17, 2021
f4e8163
Merge pull request #1638 from react-native-mapbox-gl/build/update-turf
lisabaut Nov 17, 2021
27c6028
build(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.25.2 (#1639)
lisabaut Nov 17, 2021
9a84b76
feat: update android guide and example (#1640)
ferdicus Nov 17, 2021
f536886
fix: EventEmitter warnings (#1615)
ferdicus Nov 19, 2021
b3a2668
fix(Camera):allow all config changes to affect the camera and update …
naftalibeder Nov 26, 2021
38c4cc6
chore: release 8.5.0
ferdicus Nov 26, 2021
75fd6ad
build(deps): bump actions/setup-java from 2.3.1 to 2.4.0 (#1654)
dependabot[bot] Dec 1, 2021
d6e7257
build(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#1655)
dependabot[bot] Dec 1, 2021
980263b
build(deps-dev): bump @testing-library/react-native from 7.2.0 to 8.0…
dependabot[bot] Dec 22, 2021
d5461b3
build(deps-dev): bump lint-staged from 11.2.6 to 12.1.2 (#1653)
dependabot[bot] Dec 22, 2021
8a11c6c
build(deps-dev): bump @typescript-eslint/parser from 4.33.0 to 5.8.0 …
dependabot[bot] Dec 22, 2021
b7389e2
build(deps-dev): bump detox from 18.23.1 to 19.1.0 in /example (#1659)
dependabot[bot] Dec 22, 2021
a21726d
build(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.25.3 (#1657)
dependabot[bot] Dec 22, 2021
f866f6f
build(deps-dev): bump @babel/plugin-transform-runtime (#1658)
dependabot[bot] Dec 22, 2021
6a2022a
Update MarkerView.md
vicente-s Dec 23, 2021
5c9fac1
fix: correct transition style value (#1642)
emerson233 Dec 23, 2021
588501f
Update README.md
ferdicus Jan 4, 2022
e48565e
Update README.md
ferdicus Jan 4, 2022
7338e79
Update configs to build for arm64
naftalibeder Jan 13, 2022
1e95594
Add PR change notes
naftalibeder Jan 13, 2022
5a92abd
Clarify when sourceID is inferred in documentation
ludvigeriksson Jan 24, 2022
df11326
fix: add TypeScript type for MapViews's preferredFramesPerSecond prop
michaeldev5 Jan 22, 2022
e73227d
fix(iOS): correct import of UIView+React.h header
schiller-manuel Dec 18, 2021
8390e0a
fix(android):update MarkerView position on camera move
Feb 4, 2022
e28abce
Update label-actions.yml
mfazekas Feb 13, 2022
02d7cce
Merge remote-tracking branch 'react-native-mapbox-gl/master'
babeone Feb 25, 2022
a4a8169
build(deps): bump dessant/label-actions from 2 to 3
dependabot[bot] Jan 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
index.d.ts
scripts/
/plugin/build
71 changes: 70 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
root: true,
parser: 'babel-eslint',
plugins: ['react', 'react-native', 'prettier', 'fp', 'import'],
plugins: ['react', 'react-native', 'fp', 'import', 'prettier'],
env: {
jest: true,
},
Expand Down Expand Up @@ -86,4 +86,73 @@ module.exports = {
],
'fp/no-mutating-methods': 'warn',
},
overrides: [
// Match TypeScript Files
// =================================
{
files: ['**/*.{ts,tsx}'],

// Global ESLint Settings
// =================================
env: {
jest: true,
es6: true,
browser: true,
node: true,
},
globals: {
__DEV__: true,
element: true,
by: true,
waitFor: true, // detox e2e
},
settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
react: {
version: 'detect', // React version. "detect" automatically picks the version you have installed.
// You can also use `16.0`, `16.3`, etc, if you want to override the detected value.
// default to latest and warns if missing
// It will default to "detect" in the future
},
},

// Parser Settings
parser: '@typescript-eslint/parser',
parserOptions: {
// Lint with Type Information
// https://github.com/typescript-eslint/typescript-eslint/blob/master/docs/getting-started/linting/TYPED_LINTING.md
tsconfigRootDir: __dirname,
project: './tsconfig.json',
ecmaFeatures: {
experimentalObjectRestSpread: true,
jsx: true,
},
sourceType: 'module',
},

// Extend Other Configs
// =================================
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:react-native/all',
'eslint:recommended',
'plugin:react/recommended',
'prettier',
],
plugins: ['react', 'react-hooks', '@typescript-eslint', 'prettier'],
rules: {
// turn these one to check where all the return types are missing
// and where arguments of functions are not typed
'@typescript-eslint/explicit-function-return-type': ['error'],
'@typescript-eslint/explicit-module-boundary-types': ['error'],
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': ['warn'],
'react/prop-types': 'off',
},
},
],
};
37 changes: 25 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,38 @@ assignees: ''

---


---------

🚨🚨🚨
* Please respect and fill out the issue template
* Before you report, please make sure you tested on a physical device
* For build issues: Can you reproduce it on a clean install of the example app? Please include full steps to reproduce from `react-native init`
* Please include standalone code sample - a single component with one MapView in it. Use [one of our example](https://github.com/react-native-mapbox-gl/maps/blob/master/example/src/examples/PointInMapView.js) screens as a starging point.
* Use gitter and/or stack overflow for questions.
* Use [discussions](https://github.com/react-native-mapbox-gl/maps/discussions) or gitter and/or stack overflow for questions.

If you want others to spend time on your issue, please make sure to first spend some time on the ticket.

Not following the above will lead to the ticket being closed.
Thanks for understanding. Please understand that the project is run by volunteers on their own free time.
Thanks for understanding.
Please understand that the project is run by volunteers on their own free time.

🚨🚨🚨
🚨🚨🚨

---------


**Describe the bug**
**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
**To Reproduce**
Steps to reproduce the behavior.

Please include a single standalone React Native component. Use [one of our example](https://github.com/react-native-mapbox-gl/maps/blob/master/example/src/examples/BugReportTemplate.js) screens as a starting point.
Please simplify the example as much as possible.
Please include a single standalone React Native component.
Use [our BugReportTemplate](https://github.com/react-native-mapbox-gl/maps/blob/master/example/src/examples/BugReportTemplate.js) screens as a starting point.
Please simplify the example as much as possible!

Chances that a bug report will be investiagete and worked on are exponetially higher with a complete and _working_ repro BugTemplate!

Example:
```js
Expand Down Expand Up @@ -76,19 +84,24 @@ npm install react-native-mapbox-gl/maps#master --save
react-native run-android
```

**Expected behavior**
**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
**Actual behavior**
A clear and concise description of what is currently happening.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Versions (please complete the following information):**
**Versions (please complete the following information):**
- Platform: [e.g. Android, iOS]
- Platform OS: [e.g. Android 9, iOS 10]
- Device: [e.g. iPhone6]
- Emulator/ Simulator: [yes/ no]
- OS: [e.g. iOS8.1]
- Dev OS: [e.g. OSX 11.0.1, Win10]
- react-native-mapbox-gl Version [e.g. 7.0.9]
- Mapbox GL version [e.g. 6.3.0]
- React Native Version [e.g. 0.59]

**Additional context**
**Additional context**
Add any other context about the problem here.
42 changes: 42 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
version: 2
updates:
# root
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
labels:
- "🤖 dependabot 🤖"
open-pull-requests-limit: 99
pull-request-branch-name:
separator: "-"
ignore: # ignore updates for react-native deps, think about updating, once react-native is updated
- dependency-name: "@babel/core"
- dependency-name: "@babel/runtime"
- dependency-name: "@react-native-community/eslint-config"
- dependency-name: "eslint"
- dependency-name: "jest"
- dependency-name: "metro-react-native-babel-preset"
- dependency-name: "react-test-renderer"
- dependency-name: "react"
- dependency-name: "react-native"
- dependency-name: "jest-cli"
# example
- package-ecosystem: "npm"
directory: "/example"
schedule:
interval: "monthly"
labels:
- "🤖 dependabot 🤖"
open-pull-requests-limit: 99
pull-request-branch-name:
separator: "-"
# gh-actions workflow files
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
pull-request-branch-name:
separator: "-"
labels:
- "🤖 dependabot 🤖"
28 changes: 15 additions & 13 deletions .github/label-actions.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions
"Needs: Issue Template":
comment: >
:wave: @{issue-author}, please respect our issue template<br>required fields are missing.
# Close the issue
close: true
"question":
comment: >
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [discussions](https://github.com/react-native-mapbox-gl/maps/discussions) or [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this.
# Close the issue
close: true
"stale":
comment: >
:thinking: @{issue-author}, closing the issue for lack of activity, if the issue still persist, pls open a new one with steps to reproduce on recent versions
# Close the issue
close: true

issues:
actions:
# our issue template is not respected - required fields are missing
"Needs: Issue Template":
comment: >
:wave: @{issue-author}, please respect our issue template<br>required fields are missing.
# Close the issue
close: true
"question":
comment: >
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this.
# Close the issue
close: true
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!--
Hi there and thank you for your change proposal!

Please fill out the following template to make the review process
as quick and smooth as possible.
-->

## Description

Fixes #<issue-number>

<!-- OR, if you're implementing a new feature: -->

Added `your feature` that allows ...

## Checklist

<!-- Check completed item: [X] -->

- [ ] I have tested this on a device/simulator for each compatible OS
- [ ] I formatted JS and TS files with running `yarn lint:fix` in the root folder
- [ ] I updated the documentation with running `yarn generate` in the root folder
- [ ] I mentioned this change in `CHANGELOG.md`
- [ ] I updated the typings files (`index.d.ts`)
- [ ] I added/ updated a sample (`/example`)

## Screenshot OR Video

<!-- If it's a visual PR, we appreciate a screenshot or video -->
40 changes: 40 additions & 0 deletions .github/workflows/android-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Android Build

on:
workflow_call:
inputs:
NVMRC:
required: true
type: string
secrets:
MAPBOX_ACCESS_TOKEN:
required: true

jobs:
build_example:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup node ${{ inputs.NVMRC }}
uses: actions/setup-node@v2.5.0
with:
node-version: ${{ inputs.NVMRC }}

- name: Setup JDK zulu 11
uses: actions/setup-java@v2.4.0
with:
distribution: 'zulu'
java-version: '11'

- run: echo $MAPBOX_ACCESS_TOKEN > ./accesstoken
working-directory: example
env:
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }}

- run: yarn install --network-timeout 1000000
working-directory: example

- run: ./gradlew assemble
working-directory: example/android
51 changes: 51 additions & 0 deletions .github/workflows/ios-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: iOS Build & Detox

on:
workflow_call:
inputs:
NVMRC:
required: true
type: string
secrets:
MAPBOX_ACCESS_TOKEN:
required: true

jobs:
build:
runs-on: macos-latest
timeout-minutes: 25

defaults:
run:
working-directory: ./example

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Access Token
run: echo $MAPBOX_ACCESS_TOKEN > ./accesstoken
env:
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }}

- name: Setup node ${{ inputs.NVMRC }}
uses: actions/setup-node@v2.5.0
with:
node-version: ${{ inputs.NVMRC }}

- name: Install Yarn Dependencies
run: yarn install --network-timeout 1000000

- name: Install Pod Dependencies
run: cd ios && pod install

- name: Install Detox Dependencies
run: |
brew tap wix/brew
brew install applesimutils

- name: Build for detox
run: yarn detox build

- name: Test with detox
run: yarn detox test --debug-synchronization 200
17 changes: 17 additions & 0 deletions .github/workflows/label-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions

name: "Label Actions"

on:
issues:
types: labeled

permissions:
contents: read
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v3
Loading