Skip to content

Network position provider#4338

Open
Withalion wants to merge 17 commits intomasterfrom
feature/network-provider
Open

Network position provider#4338
Withalion wants to merge 17 commits intomasterfrom
feature/network-provider

Conversation

@Withalion
Copy link
Contributor

@Withalion Withalion commented Feb 17, 2026

fixes #1893
This PR adds new network position provider support. The user is able to connect both UDP and TCP providers.

New UI:

Provider picker Network provider info Provider list

These designs are not final, new design here: https://www.figma.com/design/d78a4ehBBgK6MyxCTuCAqg/Mobile-App?node-id=5837-12631

TODO:

  • fix UI to resemble figma doc
    • MMIconCheckBoxHorizontal is the component we want to reuse and update to new design
    • add bluetooth and wifi icons
    • split components out of MMPositionProviderPage

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 63691 dmg Expires: 18/05/2026 #6369
linux Build 📭 Build not yet complete or failed.
win64 Build 📭 Build not yet complete or failed.
Android Build 📬 Mergin Maps 767911 APK [armeabi-v7a] Expires: 18/05/2026 #7679
Android Build 📬 Mergin Maps 767951 APK [arm64-v8a] Expires: 18/05/2026 #7679
iOS Build 📬 Build number: 26.02.862011 #8620

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 Mergin Maps 55651 win64 Expires: 18/05/2026 #5565
Android Build 📭 Build not yet complete or failed.
iOS Build 📬 Build number: 26.02.862111 #8621

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 Mergin Maps 55721 win64 Expires: 19/05/2026 #5572
Android Build 📭 Build not yet complete or failed.
iOS Build 📭 Build not yet complete or failed.

@Withalion Withalion added FROZEN 🥶 do not merge before upcoming release and removed FROZEN 🥶 do not merge before upcoming release labels Feb 26, 2026
@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📭 Build not yet complete or failed.
linux Build 📭 Build not yet complete or failed.
win64 Build 📬 Mergin Maps 56971 win64 Expires: 09/06/2026 #5697
Android Build 📬 Mergin Maps 781211 APK [armeabi-v7a] Expires: 09/06/2026 #7812
Android Build 📬 Mergin Maps 781251 APK [arm64-v8a] Expires: 09/06/2026 #7812
iOS Build 📭 Build not yet complete or failed.

@gabriel-bolbotina
Copy link
Contributor

Some visual and component changes:

  • followed the Figma designs
  • added the new icons for Bluetooth and Network providers
  • added new images when trying to connect to an external provider
  • refactored MMBluetoothConnectionDrawer to be multi-purpose, e.g., to be used for both bluetooth and network providers
  • modularised the components outside of the MMPositionProviderPage
  • refactored the MMIconCheckBoxHorizontal component to accommodate text and description, while keeping the functionality like before
  • small modifications in the Gallery app with the refactoring of some components mentioned above

Withalion and others added 16 commits March 12, 2026 15:16
This commit adds both UDP & TCP sockets under one network provider.
We further differ external provider into bluetooth and network
providers.
Modified the MMIconCheckBoxHorizontal to feature a description if needed
Modularised the MMPositionProviderPage
Refactored MMBluetoothConnectionDrawer to be used for the network provider as well
Changes the connecting and failure images for the network provider
Other small changes
@gabriel-bolbotina gabriel-bolbotina force-pushed the feature/network-provider branch from c0e811a to c415f60 Compare March 12, 2026 13:17
@github-actions
Copy link

Pull Request Test Coverage Report for Build 23004614049

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 186 unchanged lines in 9 files lost coverage.
  • Overall coverage decreased (-0.4%) to 59.4%

Files with Coverage Reduction New Missed Lines %
mm/app/layerfeaturesmodel.cpp 1 80.47%
mm/app/position/providers/simulatedpositionprovider.cpp 1 91.67%
mm/app/position/positiontransformer.cpp 6 85.09%
mm/core/merginapi.cpp 7 75.3%
mm/app/position/providers/positionprovidersmodel.cpp 12 63.96%
mm/app/position/providers/bluetoothpositionprovider.cpp 13 82.61%
mm/app/appsettings.cpp 17 68.57%
mm/app/mmstyle.h 60 1.83%
mm/app/position/positionkit.cpp 69 66.29%
Totals Coverage Status
Change from base Build 22999470615: -0.4%
Covered Lines: 8790
Relevant Lines: 14798

💛 - Coveralls

@github-actions
Copy link

📦 Build Artifacts Ready

OS Status Build Info Workflow run
macOS Build 📬 Mergin Maps 65091 dmg Expires: 10/06/2026 #6509
linux Build 📬 Mergin Maps 65201 x86_64 Expires: 10/06/2026 #6520
win64 Build 📬 Mergin Maps 57041 win64 Expires: 10/06/2026 #5704
Android Build 📬 Mergin Maps 781951 APK [arm64-v8a] Expires: 10/06/2026 #7819
Android Build 📬 Mergin Maps 781911 APK [armeabi-v7a] Expires: 10/06/2026 #7819
iOS Build 📬 Build number: 26.03.876011 #8760

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.

Support for network position provider

2 participants