Re: Will Apple Approve? - Using Silent Notifications to Initiate A Background BLE Scan
Re: Will Apple Approve? - Using Silent Notifications to Initiate A Background BLE Scan
- Subject: Re: Will Apple Approve? - Using Silent Notifications to Initiate A Background BLE Scan
- From: David Chu <email@hidden>
- Date: Tue, 12 Nov 2013 18:28:19 +0800
Hey Roland + Etan,
You nailed it. I'm trying to use silent notifications to start a background service scan.
I'll check the dev boards as you said. If I find anything out, I'll be sure to let you guys know.
Thanks!
- Dave
On Nov 12, 2013, at 6:19 PM, Roland King <email@hidden> wrote:
> I think he's talking about Push Notifications, nothing to do with BTLE, but using them to silently start a service scanning in the background. That's quite creative.
>
> I don't see where in the documentation is says it's only for updating content, and 'updating content' could potentially mean all sorts of things anyway. Just that it has to have a content-available key in the json. The user would have to agree to receiving the notifications.
>
> Unfortunately there's no telling what Apple will or won't approve without writing it and sending it in . I don't even know how much testing they do of push notifications when they test an app. You could try the apple dev forums about notifications as well, might be some hints there.
>
> On 12 Nov, 2013, at 5:59 pm, Etan Kissling <email@hidden> wrote:
>
>> David,
>>
>> could it be that there’s a confusion about the terminology?
>>
>> Notifications (and indications) are sent out by the peripheral to push content to the central without having
>> to repeatedly read a characteristic.
>>
>> Of course, you can write a notification handler that starts a scan. Remember to set the corresponding
>> background-mode keys in Info.plist.
>>
>> And custom service UUIDs are also not a problem. In fact, there are only a few standard profiles yet, and
>> most manufacturers use custom UUIDs for their tasks.
>>
>> Etan
>>
>> On 12.11.2013, at 06:22, David Chu <email@hidden> wrote:
>>
>>> Hi Everyone,
>>>
>>> I'm not worried about the technical side of doing this, but I was wondering if anyone knows if Apple will reject it. From the documentation it says that remote notifications are used to update content. Can it be used to update CBPeripherals as well?
>>>
>>> The use case is time-sensitive and the CBUUID is a custom service.
>>>
>>> Thanks in advance,
>>>
>>> David Chu
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Bluetooth-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Bluetooth-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden