How to setup remote notifications without certificate? (RN) - react-native

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.

Related

ios 7 fetch offline message from xmpp server

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.

IBM Worklight Offline Support

we have an app which uses JSONStore to support offline, if device is offline and user submit data it stores it offline, now when device is online and when user login to the app it sync with server and submit all data to server.
the question is, Is it possible when device comes online then my offline data sync with server without user open my app ?
Does worklight support that? Or I have to do something else?
please advice
Like Idan said, Worklight does not support this, but depending on the OS, it could support it.
For instance, on Android, you could use BroadcastReceivers to detect changes in network connectivity, and execute an action when it happens, regardless of whether your app is closed or not.
Here is the API for the receiver: http://developer.android.com/reference/android/content/BroadcastReceiver.html and here is a SO answer explaining how to use it to detect WiFi connectivity: https://stackoverflow.com/a/22626736/2245921 So you can modify this BroadcastReceiver to run the sync code that you would normally do if your app was already open.
If you are using any other platform (iOS, Windows) there might be an equivalent that you can use.
Also, keep in mind that if you are doing a hybrid application, you can create your own Cordova plugin to execute native code from Javascript. Here is the documentation on how to do so: http://cordova.apache.org/docs/en/3.5.0/guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide

iPhone App Submission - Bluetooth BLE Enable

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.

Does startAdvertisingPeer work when app enters background?

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.

iOS develop and provision private apps

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!