ReactApp deploy to phone - react-native

I deployed my React application to my Iphone, but when i'm away to my network its not connected live or not getting live data to my API.
how i'm going to make app to connect to my API when i'm not debugging?

Related

VMWare Workspace ONE SDK for React Native

We are developing a mobile application by using React Native for Andriod and iOS, would like to know is there any VMWare Workspace one SDK for React Native?
How the mobile application can access to web services residing behind a corporate firewall?
Have you tried the vmware-wsone-sdk-reactnative?
I think it's what do you search.

Rocket Chat Setting User Presence, REST API

I'm trying to integrate Rocket Chat to a React Native Application I'm Currently Building, But i cant seem to find a way to change the User Presence, How do i do that? PS: I'm using Rocket Chat REST API. Rocket Chat Server Is Hosted On A Local PC With Ubuntu 18.04.

Subscribing Tags in Google Cloud messaging

I'm working with Windows Azure Notification Hub and Android, testing the notifications push service through GCM. I'm using tags, pushing notifications from a Web application (back-end) integrated with Windows Azure.
The issue is: I don't know how to subscribe from an Android App to listen to those tags.
Create a Custom API with Azure Mobile Apps Server SDK. This should take the device registration Id and then do the registration with Notification Hubs. Azure Mobile Apps Server SDK wraps the Notification Hubs SDK for this purpose.
In your client, you can follow the appropriate Client SDK tutorial on push (Android is here), but use InvokeApi to invoke your custom API to do the registration instead of calling client.getPush().register().
Another good reference is the Android Client HOWTO Docs.

MobileFirst Foundation Hybrid Application integration with Bluemix push

MobileFirst 6.3, or 7.0
I've reviewed the hybrid, and native tutorials on DevWorks, and wanted to get clarification on a few points integrating with BlueMix push service.
Considering a hybrid app (iOS, Android) developed with MFP studio is the hybrid app dependent on the MFP server to subscribe to the provider (BlueMix)?
If the hybrid app is dependent on MFP server to subscribe, will push notifications destined for the device have to be delivered through the MFP server via adapter, or will they be sent directly to the device?
In general I'm trying to understand the minimum role the MFP server can play in developing a hybrid application that will receive BlueMix push notifications.
Thanks
AFAIK, at this time, you cannot use a MFPF-based Hybrid app with the iOS 8-only push notification capabilities that originate from the Blumix Push service.
Also, MFPF adapters do not, at this time, work with Bluemix.
All in all, if you use MFPF, you use the unified push support as supplied and supported in MFPF. If you use Bluemix, that's a different approach to push.
Also, please add links to your questions next time - we shouldn't google/guess those...

Can I use Azure Mobile (Zumo) authentication with SPA apps on a mobile device?

I'm interested in using Azure Mobile services with SPA applications... perhaps with PhoneGap and or Kendo.UI as well.
I would like to add authentication to my app, and am looking at Azure Mobile Services. What isn't clear to me is if I can use Zumo (mobile services) to authenticate my app?
Example
User downloads app from store (or uses HTML5 caching to store the app)
The SPA app connects to Azure Mobile to get the OAUTH credentials
The Credentials secure my REST calls to the database (as secured by Azure Mobile)
Can anyone clarify if this architecture is possible?
You can definitely do this. If you go into the quickstart page after creating a new Mobile Service, you'll see one of the supported platforms is HTML/JS. You can download that quickstart application to run a local website that will connect to your Mobile Service and can set up authentication using this flow (http://www.windowsazure.com/en-us/develop/mobile/tutorials/get-started-with-users-html/). Dropping this into a PhoneGap application is very simple and just requires downloading the jQuery and Mobile Service javascript files locally (phonegap can't reference remote JS files). The bulk of the HTML can be the exact same. You'll just need to take the JS from the HTML/JS quickstart and drop it into the onReady method (I believe that's what PhoneGap calls once the device is ready for you to use). Hope that helps.