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

Add Wi-Fi permission #97

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Add Wi-Fi permission #97

merged 2 commits into from
Jun 12, 2024

Conversation

himalia416
Copy link
Contributor

No description provided.

Copy link
Collaborator

@philips77 philips77 left a comment

Choose a reason for hiding this comment

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

Few minor comments. Good job.


nordicNexusPublishing {
POM_ARTIFACT_ID = "permissions-nfc"
POM_NAME = "Nordic library for checking required nfc permission."
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be: ...for checking permissions required for scanning for Wi-Fi networks.

group = "no.nordicsemi.android.common"

nordicNexusPublishing {
POM_ARTIFACT_ID = "permissions-nfc"
Copy link
Collaborator

Choose a reason for hiding this comment

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

permissions-wifi

import no.nordicsemi.android.common.theme.NordicTheme
import no.nordicsemi.android.common.theme.view.WarningView

@RequiresApi(Build.VERSION_CODES.TIRAMISU)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why that's from Tiramisu?

@@ -60,3 +60,4 @@ include(":permissions-ble")
include(":permissions-internet")
include(":permissions-nfc")
include(":data")
include(":permissions-wifi")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Could you put it one line up, so that permissions are together?

<string name="wifi_disabled_des">Wi-Fi is disabled. Please enable Wi-Fi to scan for Wi-Fi networks.</string>
<string name="enable_wifi">Enable Wi-Fi</string>
<string name="wifi_not_available">WI-FI NOT AVAILABLE</string>
<string name="wifi_not_available_des">Wi-Fi is not available on this device. We won\'t be able to provision the device.</string>
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a generic library, not related to provisioning.
I think it's enough to keep only the first sentence:

Wi-Fi is not available in this device.

@philips77 philips77 merged commit c4f106d into main Jun 12, 2024
1 check passed
@philips77 philips77 deleted the permission/wifi branch June 12, 2024 10:01
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.

2 participants