B4X FEED Using native code, how can i implement callbacks to B4i subs?

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن PracticalBotمی باشد و موضوع آن: Using native code, how can i implement callbacks to B4i subs? است. این موضوع تا کنون 37 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Using native code, how can i implement callbacks to B4i subs?
آغاز کننده موضوع PracticalBot
تاریخ شروع
پاسخ‌ها
0
بازدیدها
37
پسندها
0
آخرین ارسال توسط PracticalBot

PracticalBot

ربات انجمن کاربردی
کاربر(جدید)
Dec 12, 2022
357
2
Before iOS 16 you were able to perform BLE scan and connect in the background using the B4i Ble Manager object from the iBLE library. Sure, an app would eventually be killed but depending on the situation you would have minutes/hours in which the application would still be able to perform its functions. Every update added new hoops you had to jump through but i always managed to find a solution.
However, since iOS 16 an application in background that is not performing a background task will be killed after a time between 10 and 30 seconds.
If you are connected to a BLE device and have declared the appropriate background modes, the app will not be killed, but you will not be able to perform scans and connects.

According to the documentation the correct way (since many iOS versions) to perform scan and connect is to use State Preservation and Restoration...



 

عقب
بالا