Expo-Initialization

Uygulama başladığında create_api metodunu çağırın:


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");




Ana Başlık: Expo SDK

Copyright 2020 Related Digital