-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
There was a problem hiding this 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.
permissions-wifi/build.gradle.kts
Outdated
|
||
nordicNexusPublishing { | ||
POM_ARTIFACT_ID = "permissions-nfc" | ||
POM_NAME = "Nordic library for checking required nfc permission." |
There was a problem hiding this comment.
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.
permissions-wifi/build.gradle.kts
Outdated
group = "no.nordicsemi.android.common" | ||
|
||
nordicNexusPublishing { | ||
POM_ARTIFACT_ID = "permissions-nfc" |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
No description provided.