CodenameOne background task for BluetoothLe connection

落爺英雄遲暮 提交于 2019-12-04 12:29:53

We aligned background behavior to what is possible on iOS where you are limited to specific background tasks as explained here: https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html

Since that is far more restrictive and limiting than the Android equivalent we are mapping this one use case at a time. Currently we support location, music playback & fetch.

Since the bluetooth support itself is rather new we don't have support for that at this time although it might be possible to support it by including the ios.plistInject build hint that enables this background behavior. This might require some native code to bind this behavior properly.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!