coverY |
---|
0 |
Permissions refer to the security mechanisms that control an application access to specific resources or features of the device. These permissions are declared in the "Target"->"Info" and are essential for ensuring user privacy and security.
It is important to note that, dangerous permissions are requested at runtime, even if they are declared. This means that the user can grant or deny the permission when the application is running, and the iOS APP side must handle the permission flow accordingly.
Managing permissions properly is crucial for maintaining user trust and ensuring that applications access only the necessary resources. iOS SDK provides tools and APIs to handle permissions effectively and securely within your application.
The following permissions are required by the iOS SDK:
PERMISSIONS | WHERE TO USE |
---|---|
NSLocationUsageDescription | In GPS setting |
NSLocationWhenInUseUsageDescription | In GPS setting |
NSLocationAlwaysUsageDescription | In GPS setting |
NSMotionUsageDescription | In IMU setting |
NSCameraUsageDescription | In capturing videos. |
In iOS, permissions are obtained from users to ensure app security and protect user privacy. When an iOS app requests certain permissions, it is asking for permission to access specific features or data on the device.
In GIZO SDK, we have provided a possibility for the developer to provide a list of permissions required to be received from the user according to the settings they have made for the SDK.
According to the settings made by the developer for GIZO SDK, it returns a list of required permissions
- If access to AnalysisSettings is granted, we will also have access to the camera.
- If we have access to GPS settings, permissions of NSLocationUsageDescription, NSLocationWhenInUseUsageDescription, NSLocationAlwaysUsageDescription will be provided.
- If we have access to IMU settings, permissions of NSMotionUsageDescription will be provided.
The following permissions are required by the SDK:
A message that tells the user why the app is requesting access to the user’s location information.
A message that tells the user why the app is requesting access to the user’s location information while the app is running in the foreground.
A message that tells the user why the app is requesting access to the user’s location information at all times.
A message that tells the user why the app is requesting access to the device’s motion data.
A message that tells the user why the app is requesting access to the device’s motion data.
A message that tells the user why the app is requesting access to the device’s camera.
Those permissions can be found in "Info" tab's "Custom iOS Target Properties"