Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to publish messages using Google Nearby Messages in the background in iOS?

Is there any way to use Google Nearby Messages API to publish messages while the iOS application is in the background?

According to the Nearby Messages API documentation:

The publication is active as long as the publication object exists. To stop publishing, release the publication object.

I do not release the publication object but the app seems to stop publishing messages when it goes in the background (despite I have turned BLE and Audio background modes on).

like image 702
Aris Goudouras Avatar asked Oct 20 '22 03:10

Aris Goudouras


1 Answers

Sorry, background operation is not yet supported by Nearby Messages on iOS. Currently it can only be in use by the foreground app.

Update: Nearby Messages on iOS now supports background mode for publications, subscriptions, and beacon scanning. See the Nearby Messages Developer Site and the CocoaPod for details.

like image 198
Dan Webb Avatar answered Oct 22 '22 00:10

Dan Webb