I'd like the app to advertise a service even when the app enters the background. With Core Bluetooth, this is possible by setting bluetooth-peripheral for UIBackgroundModes.
Does anyone know if the same can be achieved with MCNearbyServiceAdvertiser? Thanks.
When I was at WWDC this year I went to a Developer Lab for Multipeer Connectivity and was told by an Apple engineer that no, service advertisers and browsers will not work in the background.
That said, I've been successfully communicating with connected peers with an app running in the background using a background task, but I have not been able to advertise or browse.
Related
I want to test some remote notification services in React Native. But run into some problem. In iOS I need to enable the Push Notifications BUT for that I need a Developer Plan. For testing and playing around of course I do not want to buy an iPhone Developer Program.
Is there a way to test remote push notifications without the need of buying iPhone Developer Program?
No, a paid Apple Developer Program membership is required to use push notifications.
I am developing chat application using XMPP protocol.
My development target is iOS 7.0
Every think is working fine user can able to communicate only when they are online.
But I want to notify user message has come when they are offline.
I have tried iphone XMPP App run background
But it doesn’t work for me.
First think it is possible or not?
Using what VIOP, background fetch or some other way?
If yes please let me know. how?.
The thread you are referring mention declaring that your app is a VoIP app to be allowed to constantly run in background.
It is technically possible but has two drawbacks:
If your application does not do voip, Apple will reject it (as misleading).
Battery consumption will be excessive as you will stay connected.
The state of the art is to fallback to Apple push notification service when the TCP connection between the client and the server is not established. This is battery efficient and provide a very good way to notify the user of new messages.
Can anyone tell me how apple handle submissions for bluetooth BLE enabled app. Actually, i have created a bluetooth iphone app which connects to third party device. And, I am not sure how apple is testing apps which connects to third party devices.
Object Lab has recently launched their first iOS app using iBeacon. It took them 3 attempts to get it approved. I would recommend you to create a video which demonstrates how your app works and send it to them.
Generally they ask for hardware as well but mostly it's not feasible for us to provide them with one. Object Lab had to send them instructions to setup hardware at their end and to test the app. THEY WILL NOT APPROVE UNLESS THEY KNOW ITS WORKING. So I would recommend to send a video and step by step instruction of how to setup hardware at their end to test it out.
My experience has been that a video demonstrating the use of the app while connected to your third party device is enough. Sending the device to them is not necessary (at least for all cases). I know there is another thread on stackoverflow.com concerning this very thing, but it's been months since I had found it and I can't find it now. Anyways, it has worked for me as well as acquaintances of mine who have an app on the store.
There is a platform application which connects to the remote server and stores required information in its local repository, that is in CoreData. I want to develop my application over this platform app. Since it is not possible to access its local storage, I have to communicate with it somehow. I am able to send/receive data using URL Schemes; however it's frustrating for user to switch between apps constantly.
Is it possible to communicate with another application via URL Schemes (or any other way) without bringing it to foreground?
With few exceptions, such as receiving CoreLocation data in the background or being notified to wake up by a local notification, it is not possible in iOS for an application to "run in the background"
This is a pretty common query on Stack Overflow, the official iOS reply can be found here
There are SO articles here and here.
Background data exchange is however not going to be a thing as there are restrictions on background app rules (so the URL transfer is going to foreground your second app)
I want to develop some small apps for personal use. I don't want to market them, nor I want anyone other but me to have them. As a developer, I want to be able to put some minor utility app I'd like to have on my own smartphone (an iPhone, of course).
As I'm not going to develop anything commercial in the near future, I'm not going to subscribe the developer program. Is it possible to develop personal apps without subscribing to Apple's program? Would jailbreak help? Am I going to miss any possibility in the development (ability to subscribe to servers, message, use the maps...)
Thanks
there's a number of threads of this.. they all use ldid and are normally jailbroken
How can I deploy an iPhone application from Xcode to a real iPhone device?
Attempting to deploy my app on my jailbroken iphone, but the app closes immediately!