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

New android sdk version #270

Merged
merged 5 commits into from
Jul 24, 2023
Merged

New android sdk version #270

merged 5 commits into from
Jul 24, 2023

Conversation

stefanschaller
Copy link
Collaborator

No description provided.

@@ -86,110 +86,6 @@ public void onDetachedFromActivity() {
lifecycle = null;
}

// Old Plugin APIs

public static void registerWith(Registrar registrar) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was not used, but please again if we could really drop that.

Copy link
Collaborator

Choose a reason for hiding this comment

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

That should be fine

Copy link
Collaborator

Choose a reason for hiding this comment

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

I just checked, because I was curious: the new APIs were introduced in Flutter 1.12, so this should indeed be safe to remove as you noted. (https://docs.flutter.dev/release/breaking-changes/plugin-api-migration)
Maybe we could still add a note to the changelog if we are already documenting the new min android sdk.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I added some information to the Changelog file. Should be fine now.

@stefanschaller
Copy link
Collaborator Author

I also removed two files, since there was no single reference. Please take also take care about that in the review:

  • android/src/main/java/com/mapbox/mapboxgl/OnCameraMoveListener.java
  • android/src/main/java/com/mapbox/mapboxgl/OnInfoWindowTappedListener.java

android/build.gradle Show resolved Hide resolved
@@ -86,110 +86,6 @@ public void onDetachedFromActivity() {
lifecycle = null;
}

// Old Plugin APIs

public static void registerWith(Registrar registrar) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

That should be fine

@m0nac0
Copy link
Collaborator

m0nac0 commented Jul 22, 2023

Great to see you are working on this!
For reference: this PR will probably close #206, #202, #272

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.

None yet

3 participants