question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disabling Vibration (Android) not working

See original GitHub issue

Provide a general summary of the issue.

Your Environment

  • Plugin version: 0.9.0-beta.3
  • Platform: Android
  • OS version: Tested on 9.0 and 8.1
  • Device manufacturer / model: HUAWEI P20, MI A2 Lite
  • Cordova version (cordova -v): 8.1.2
  • Cordova platform version (cordova platform ls): android 7.1.4
  • Plugin config
  • Ionic Version (if using Ionic) CLI 4.7.1

Expected Behavior

vibrate: false param not working on Android.

Steps to Reproduce

Reproduce this issue; include code to reproduce, if relevant

  1. I’ve created an app with Ionic 4 (beta)
  2. I’ve added a timer
  3. This timer update a notification every seconds

Context

this.localNotifications.schedule({
	id: 1,
	title: 'Cuisson en cours',
	vibrate: false,
	sound: null,
	progressBar: {value: 0},
	lockscreen: true,
	wakeup: false,
	priority: -2,
	foreground: true
});
this.x = setInterval(() =>{
	this.localNotifications.update({
		id: 1,
		title: 'Il reste encore '+minutes+':'+seconds+' de cuisson.',
		progressBar: {value: percent },
	});
}, 1000);

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:7

github_iconTop GitHub Comments

2reactions
Steffaancommented, Mar 5, 2019

Try this version: https://github.com/Steffaan/cordova-plugin-local-notifications

Don’t forget to provide a channel…

0reactions
pedropamncommented, Apr 21, 2020

@Steffaan , I try your fork with vibrate: false and still vibrating… (Android 8.0)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 8 Ways to Fix Vibration Not Working on Android - TechWiser
Top 8 Ways to Fix Vibration Not Working on Android · 1. Check Vibration Settings · 2. Check Accessibility Settings · 3. Modify...
Read more >
How to Turn Off Vibration on Android Devices - Lifewire
Tap Settings. · Tap Sound & Vibration. You may need to scroll down to find it. · Tap the toggle next to Vibrate...
Read more >
How to turn off vibrations in Android 10 | My Computer My Way
On the vibration screen select the vibration you would like to turn off. Tap either Ring vibration, Notification vibration or Touch feedback.
Read more >
[Working] Top 10 Ways to Fix Vibrations Not Working on Android
Ways to Fix Vibrations Not Working on Android · Disable Silent/Do Not Disturb Mode on your device · Turn on Vibration Feedback to...
Read more >
Notifications: turn off sounds & vibrations - Google Support
Notifications: turn off sounds & vibrations · Tap your profile picture . · Tap Settings "" . · Tap Notifications. · Turn Disable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found