You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
takePicture = async function() {
if (this.camera) {
if(this.state.recording==false)
{
Vibration.vibrate();//---->just only work at first time
this.setState({
takeIcon:'stop-circle-outline',
recording:true,
});
this.camera.recordAsync({"quality":"4:3","maxDuration":10}).then(data => {
Vibration.vibrate();//---->every time can work ,good boy.
});
}
else
{
this.camera.stopRecording();
this.setState({
takeIcon:'radiobox-marked',
recording:false,
});
}
}
};
but I try take picture with vibrate like the sample is work, so...why...I am ios
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
takePicture = async function() {
if (this.camera) {
if(this.state.recording==false)
{
Vibration.vibrate();//---->just only work at first time
this.setState({
takeIcon:'stop-circle-outline',
recording:true,
});
this.camera.recordAsync({"quality":"4:3","maxDuration":10}).then(data => {
Vibration.vibrate();//---->every time can work ,good boy.
});
}
else
{
this.camera.stopRecording();
this.setState({
takeIcon:'radiobox-marked',
recording:false,
});
}
}
};
but I try take picture with vibrate like the sample is work, so...why...I am ios
The text was updated successfully, but these errors were encountered: