Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

243-fix-crash-when-no-location-permission #244

Merged
merged 5 commits into from
Jun 30, 2023
Merged

243-fix-crash-when-no-location-permission #244

merged 5 commits into from
Jun 30, 2023

Conversation

JulianBissekkou
Copy link
Collaborator

@JulianBissekkou JulianBissekkou commented May 25, 2023

This fixes #243.

@JulianBissekkou JulianBissekkou changed the title Draft: 243-fix-crash-when-no-location-permission 243-fix-crash-when-no-location-permission May 25, 2023
example/ios/Podfile Outdated Show resolved Hide resolved
@@ -28,7 +28,7 @@ class MaplibreMap extends StatefulWidget {
this.trackCameraPosition = false,
this.myLocationEnabled = false,
this.myLocationTrackingMode = MyLocationTrackingMode.None,
this.myLocationRenderMode = MyLocationRenderMode.COMPASS,
this.myLocationRenderMode = MyLocationRenderMode.NORMAL,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a good approach, but we should note this in the release notes, since it's a breaking change.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR for changelog docs: #247

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing the changelog for me :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I adjust the documentation to highlight that you only need location permission if you use specific properties?

@@ -55,7 +55,13 @@ class MaplibreMap extends StatefulWidget {
],
this.useDelayedDisposal,
this.useHybridCompositionOverride,
}) : assert(annotationOrder.length <= 4),
}) : assert(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea!

m0nac0 added a commit that referenced this pull request May 26, 2023
@JulianBissekkou
Copy link
Collaborator Author

@m0nac0
Let me know if there are any open changes that you would like me to do 👍🏽

@stefanschaller
Copy link
Collaborator

@mariusvn Could you may check that out? @m0nac0 is not responding and we need the fixes.

@mariusvn
Copy link
Contributor

I can check it out but i dont have any rights so can't do a lot. m0nac0 is sometimes inactive but he will come back, i recommend to create a fork with the modification you need for temporary purposes

@JulianBissekkou
Copy link
Collaborator Author

@m0nac0 Can you check so we can merge this sometime?

…243-fix-crash-when-no-location-permission

# Conflicts:
#	example/ios/Podfile.lock
#	example/lib/main.dart
#	example/lib/page.dart
@m0nac0
Copy link
Collaborator

m0nac0 commented Jun 30, 2023

Sorry you had to wait with this PR... LGTM, could you update the base branch? Then it should be merged automatically.

@m0nac0 m0nac0 enabled auto-merge (squash) June 30, 2023 10:27
@m0nac0 m0nac0 merged commit 20f0066 into maplibre:main Jun 30, 2023
6 checks passed
m0nac0 added a commit that referenced this pull request Jun 30, 2023
depends on #244

---------

Co-authored-by: Julian Bissekkou <[email protected]>
@stefanschaller stefanschaller deleted the 243-fix-crash-when-no-location-permission branch July 6, 2023 05:13
JanikoNaber pushed a commit to JanikoNaber/flutter-maplibre-gl that referenced this pull request Aug 23, 2023
This fixes maplibre#243.

---------

Co-authored-by: Julian Bissekkou <[email protected]>
JanikoNaber pushed a commit to JanikoNaber/flutter-maplibre-gl that referenced this pull request Aug 23, 2023
depends on maplibre#244

---------

Co-authored-by: Julian Bissekkou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make iOS not require location permission if its not needed
4 participants