Skip to content

Commit ceffe31

Browse files
chore(update-plugins): Fri Aug 2 08:05:52 UTC 2024
1 parent be85eb1 commit ceffe31

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

plugins/haptics.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Thanks to [Eddy Verbruggen](EddyVerbruggen) for providing [nativescript-taptic-e
2323
- [Use @nativescript/haptics](#use-nativescripthaptics)
2424
- [API](#api)
2525
- [isSupported()](#issupported)
26-
- [is6SAnd6SPlusSupported()](#is6sand6splussupported)
2726
- [selection()](#selection)
2827
- [notifcation()](#notification)
2928
- [impact()](#impact)
@@ -56,16 +55,6 @@ Checks if haptics is supported on the device.
5655

5756
---
5857

59-
### is6SAnd6SPlusSupported()
60-
61-
```ts
62-
isHapticsSupported: boolean = Haptics.is6SAnd6SPlusSupported()
63-
```
64-
65-
Checks if Haptics is supported on iOS.
66-
67-
---
68-
6958
### selection()
7059

7160
```ts
@@ -112,7 +101,7 @@ There are 3 impact types:
112101
To use the haptics fallbacks, check if there is support:
113102

114103
```ts
115-
if (!Haptics.isSupported() && Haptics.is6SAnd6SPlusSupported()) {
104+
if (!Haptics.isSupported()) {
116105
// use HapticsFallback
117106
}
118107
```

0 commit comments

Comments
 (0)