Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jun 26, 2019 14:18

Problem

After uninstalling an app the location and notification permissions remain. 

When uninstalling an application from an iOS device using Perfecto icons, Appium or Perfecto API functions, or using the fullReset capability - if the app was granted permissions to access the device location or to send notifications, then these permissions are not cancelled. Subsequently, if the application is re-installed on the device, the permissions will be renewed automatically.

Solution

There are two work-arounds to cancel the permissions, both require using Perfecto's Interactive mode to perform the actions:

  • Uninstall the application from the device's Springboard - this cancels all application permissions.
  • Cancel the permissions from the Settings application after re-installing the application:
To cancel Location permissions for an application:
  1. Open the Settings app
  2. Traverse the Settings → Privacy → Location Services menus
  3. Select the application, and turn off the permission.

To cancel Notification permissions for an application:

  1. Open the Settings app
  2. Traverse the Settings → Notification menus
  3. Select the application, and turn off the permission.
Warning: Do not click the Reset Location & Privacy settings in an iOS device - see why here.