Close

What are you looking for?

cancel
Showing results for 
Search instead for 
Did you mean: 

[Dev] Merge fellas unlimited shake - custom haptic feedback not working on Galaxy?

(Topic created on: 2 weeks ago)
79 Views
himekawoa
First Poster
Options

Hi everyone,

First-time poster here. I'm an Android developer testing my new app on a few devices, and I've run into a strange issue specifically on my Galaxy S23.

I'm trying to implement a custom haptic effect for a feature I call the "unlimited shake". It's basically a strong, pulsing vibration. It works perfectly on the Android Emulator and my Pixel test device, but on the Galaxy, it's either very weak or just does a single, short default buzz.

I've already checked the basics:

  • The VIBRATE permission is in my manifest.

  • I'm using VibrationEffect.createWaveform for modern Android versions.

  • The battery saving mode is off.

It seems like One UI might be overriding or ignoring the custom pattern I'm providing. Has anyone else experienced this? Is there a Samsung-specific SDK or a known limitation for haptic patterns on recent Galaxy devices that I'm missing?

I've put my Kotlin code snippet, manifest line, and the Logcat output in a document to make it clearer what I'm trying to do. It would be a great help if someone could take a quick look.

You can see the technical details here: https://docs.google.com/document/d/10gBIlRIroPGKDL0PVBY2CtlVriKpS9wtCqSJhm6GYHE/edit?usp=sharing

Thanks a lot for any help or suggestions!

0 REPLIES 0