Skip to content

Permissions are not working #225

Closed
Closed
@codeanticode

Description

@codeanticode

This sketch uses GPS location, but even after enabling both the ACCESS_COARSE_LOCATION and ACCESS_FINE_LOCATION permissions from the mode, it crashes with the following error:

06-12 12:30:31.265  2171  2171 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {processing.test.gps_example/processing.test.gps_example.MainActivity}: java.lang.SecurityException: "network" location provider requires ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission.

VIBRATE permission also crashes a watch face with the following error:

06-13 19:11:02.123  3308  3308 E AndroidRuntime: java.lang.SecurityException: Requires VIBRATE permission

although it was set in the manifest file.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions