Open TOMSLAUS opened 2 weeks ago
Hey @TOMSLAUS, could you provide more details about the issue you're experiencing? I tried your snippet and it seemed to work fine on my end without any errors.
Well actually im not sure what kind of info I can give you other than this. If you have something specific in mind please let me know.
Could you share the specific Android device and OS version you're using? I came across an open issue in the Flutter repo regarding HapticFeedback
not working on some Android devices. This might be related to what you're experiencing.
Keep me posted :)
It's s23 ultra One ui 6.1 Android 14
Thanks for sharing your device details. Since I don't own a Samsung device, I can't test it directly. Your device falls into the affected category mentioned in this issue. If you find a solution, feel free to submit a PR! :)
My widget looks like this
HoldToConfirmButton( borderRadius: BorderRadius.circular(15.sp), contentPadding: EdgeInsets.symmetric( vertical: 15.sp, horizontal: 25.sp), onProgressCompleted: () { resignFromEvent(snapshot .data!.participation![index].teamMemberDto!.id!); }, backgroundColor: Constants.primaryColor, child: const Icon( FontAwesomeIcons.trash, color: Colors.white, ), )
I addedin main/AndroidManifest.xml but its still not working, am i missing something?