Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Call the create_api method when the application starts.

import { create_api } from 'visilabs';
import Constants from 'expo-constants';

var organizationID = "OID";
var siteID = "SID";
var segmentURL = "http://lgr.visilabs.net";
var dataSource = "datasource";
var realTimeURL = "http://rt.visilabs.net";
var channel = Constants.platform.android === undefined ? "IOS" : "Android";
var euroMsgApplicationKey = "euroMsgApplicationKey";
var euroMsgSubscriptionURL = "https://pushs.euromsg.com/subscription";
var euroMsgRetentionURL = "https://pushr.euromsg.com/retention";	
var locale = "tr-TR";
var api = create_api(organizationID, siteID, segmentURL, dataSource, realTimeURL, channel, euroMsgApplicationKey, euroMsgSubscriptionURL, euroMsgRetentionURL, "tr-TR");



Parent Page: React Native

  • No labels