Skip to content

Commit

Permalink
docs: add ios 12.2 information
Browse files Browse the repository at this point in the history
  • Loading branch information
evanshortiss committed Apr 2, 2019
1 parent 99b1fa4 commit 05e36c2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 02/04/19 - 0.5.1
* Add iOS specific notes about security settings

## 20/03/19 - 0.5.0
* Improve documentation
* Add helpful badges in README
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

A tiny library to capture device motion, rotation, and orientation events.

## iOS 12.2+ Security
From iOS 12.2 onwards the Device Motion and Orientation APIs are disabled by
default and can only be used by HTTPS domains. You need to enable access to
the APIs in `Settings > Safari > Privacy & Security`.

This might change in a future release to instead use a popup similar to the
Geolocation API permission access.


## Usage

```ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webmo",
"version": "0.5.0",
"version": "0.5.1",
"description": "A tiny library to capture device motion, rotation, and orientation events.",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit 05e36c2

Please sign in to comment.