Thursday, December 14, 2023
HomeiOS Developmentios - Carry out a selected motion on Bluetooth distant button click...

ios – Carry out a selected motion on Bluetooth distant button click on


I’m at present engaged on a Flutter app which is supposed to cross-platform, for Android and iOS.

One of many performance this app has to supply, is to carry out a selected motion when the button of a Bluetooth distant is pressed. Presently, we’re utilizing this sort of distant which does job. The best way it really works is by simulating the press of the “Quantity up” bodily key of the phone. Subsequently, all I must do in my Flutter app, is to pay attention for the important thing press and carry out the motion.

The problem is that, per the 2.5.9 Guideline of the AppStore, it’s forbidden to “alter or modify the operate of normal switches, such because the Quantity Up/Down and […]”.

I’ve spent a terrific period of time on the lookout for another, however have failed to seek out one. I am pretty sure there must be one, however my data in Bluetooth communication are nonetheless not the most effective. I suppose my questions are :

  1. Do Bluetooth remotes that ship a easy “sign”, quite than simulating bodily system keys exist ?
  2. From my Flutter app, would I then have the ability to pay attention and “wait” for the sign, to then carry out the motion ?

I’ve discovered that there exists some customizable growth package that might fulfill this function. Nevertheless, it appears fairly cumbersome to do, and I’ve restricted time.

Thanks prematurely for any assist !



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments