Skip to content

Conversation

@note11g
Copy link
Owner

@note11g note11g commented Jul 15, 2025

No description provided.

fogbar and others added 30 commits April 26, 2025 01:57
…get size) with null value on `size` argument for `NOverlayImage.fromWidget` (resolve #304)
…rolSender`, `NaverMapView.setMapEventListeners`)
…ControlSender`, `NaverMapView.setMapEventListeners`)
note11g and others added 20 commits July 14, 2025 23:51
…tion to prevent GITHUB_TOKEN workflow trigger limitations
…tion to prevent GITHUB_TOKEN workflow trigger limitations
…tion to prevent GITHUB_TOKEN workflow trigger limitations

(cherry picked from commit 7a45af8)
# Conflicts:
#	.github/workflows/package_publish.yml
#	ios/.gitignore
@note11g note11g requested a review from Copilot July 15, 2025 12:01

This comment was marked as outdated.

@note11g note11g added release 신규 버전 릴리즈 and removed release 신규 버전 릴리즈 labels Jul 15, 2025
@github-actions
Copy link
Contributor

📋 Changelog for v1.4.0

Breaking Change

  • [All Platform, Not Working Impact] Migrated built-in location tracking to be widget-based. (PR #322)
    • The locationButtonEnable option in NaverMapViewOptions has been removed and replaced with the NMyLocationButtonWidget.
    • Location tracking APIs are now provided through the NMyLocationTracker.
    • NaverMapController.setLocationTrackingMode(NLocationTrackingMode)'s return type change from Future<void> to void
    • Future<NLocationTrackingMode> NaverMapController.getLocationTrackingMode() api exposing change to NLocationTrackingMode NaverMapController.locationTrackingMode getter
    • change color.alpha on NLocationOverlay.defaultCircleColor 24% to 8%
  • [All Platform, Not Working Impact] Migrated ScaleBar to be a widget. (Fix #297, PR #319)
    • The scaleBarEnable option in NaverMapViewOptions has been removed and replaced with the NMapScaleBarWidget.
  • [All Platform] The showControls argument in NaverMapController.takeSnapshot has been removed as it is no longer supported by the native SDK since version 1.4.0.

Add (New Features)

  • [All Platform] Support custom style with NaverMapViewOptions.customStyle (PR #308)
  • [All Platform] add new api iconAlpha, subIconAlpha, setIconAlpha, setSubIconAlpha on NLocationOverlay
  • [All Platform] Added a new built-in location tracking API, NDefaultMyLocationTracker.
    • This provides the NMyLocationTracker interface, allowing users to implement custom location tracking logic.
  • [All Platform] Added NaverMap.onMapLoaded and NaverMap.onMapLongTapped callbacks. (PR #315)
  • [All Platform] Added NPolygonOverlay.outlinePattern feature from Naver Map SDK 3.21.0. (PR #317)
  • [iOS] Added support for Swift Package Manager (SPM). (Resolve #281, PR #320)

Update

  • [All Platform] Update Naver Map SDK to 3.22.0 (PR #329)
  • [All Platform] Improved NOverlayImage.fromWidget to automatically detect the widget's size with null value. (Resolve #304)
  • [All Platform] Improved NLocationTrackingMode.noFollow to track the current location's bearing. (PR #323)

Fix

  • [All Platform] NaverMapViewOptions.extend was not applied to the map dynamically.
  • [All Platform] Fix NLocale.countryCode support is missing (Fix #325, PR #328)
  • [iOS] Fixed an issue where contentsPadding was not applied to the scale bar. (Fix #297, PR #319)
  • [iOS] Updated the InfoWindow UI to match the Android version. (Fix #229)
  • [All Platform] Fixed a LateInitializationError that occurred when NChannelWrapper was disposed before initialization. (Fix #312)
  • [Dev] fix melos detect flutter_naver_map as a mono-repo package (Resolve #310)

This is an automated comment showing the changelog entry for this release.

@note11g note11g requested a review from Copilot July 15, 2025 12:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the plugin to version 1.4.0, adds new map lifecycle and style callbacks, and refactors several internal APIs for message serialization.

  • Bumped package/version to 1.4.0 and synchronized native dependency versions.
  • Introduced onMapLoaded, onMapLongTapped, onCustomStyleLoaded, and onCustomStyleLoadFailed callbacks.
  • Refactored NMessageable deserialization methods and improved version reporting in the info dialog.

Reviewed Changes

Copilot reviewed 140 out of 173 changed files in this pull request and generated no comments.

Show a summary per file
File Description
version.json Updated auto-generated version and native dependency versions.
tool/update_version.dart Added JSON generation logic and better error messages.
pubspec.yaml Bumped plugin version and lints version; updated assets list.
lib/src/widget/map_widget.dart Added new UI layer, lifecycle callbacks, and control widgets (scale bar, location).
lib/src/widget/info/info_dialog.dart Switched to reading version.json for plugin & native versions; added dependency map.
lib/src/util/widget_to_image.dart Made size parameter optional and handled null case.
lib/src/util/location/my_location_tracker.dart New location tracker abstraction with lifecycle management.
lib/src/type/.../overlay & geo & camera files Migrated _fromMessageable to fromMessageable, added @internal markers.
ios/flutter_naver_map/... Added Swift callbacks for new events; updated custom style handling.
Comments suppressed due to low confidence (5)

lib/src/widget/map_widget.dart:117

  • [nitpick] The flag name isUpdatedBeforeMapReadyWithUpdateQueue is very long and unclear; consider renaming to something like hasAppliedPendingUpdates for readability.
  bool isUpdatedBeforeMapReadyWithUpdateQueue = false;

version.json:3

  • The package_version in version.json remains a -dev.5 suffix while pubspec.yaml is 1.4.0; synchronize these to avoid confusion for consumers.
  "package_version": "1.4.0-dev.5",

lib/src/widget/map_widget.dart:281

  • New onCustomStyleLoaded and onCustomStyleLoadFailed callbacks lack associated unit or integration tests for failure and success paths.
  void onMapLoaded() async {

tool/update_version.dart:37

  • Throwing raw strings reduces stack trace clarity; consider throwing a specific Exception subclass (e.g., FileSystemException) with a descriptive message.
    throw "Could not find pubspec.yaml";

lib/src/widget/map_widget.dart:165

  • Original code applied both contentPadding and logoMargin; replacing with zero may misalign the logo. Restore appropriate padding when positioning the logo.
        left: align.isLeft ? 0 : null,

@note11g note11g merged commit fb87eb9 into main Jul 15, 2025
2 of 3 checks passed
@note11g note11g deleted the pre-release branch July 15, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release 신규 버전 릴리즈

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants