[Bug] java.lang.SecurityException: Requires VIBRATE permission #16768
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: ^0.48.4 => 0.48.4
Target Platform: android 5.1.1 (XIAOMI Redmi 3) | Android versions less than 6.0
Steps to Reproduce
<uses-permission android:name="android.permission.VIBRATE"/>
import { Vibration } from "react-native
Vibration.vibrate()
Tried to use:
This one works for android 6+:
The text was updated successfully, but these errors were encountered: