private static SwrvePush GetPush() { if (_push == null) { _push = new SwrvePush(); } return(_push); }
public static async Task <string> RegisterForPush(ISwrveCommon sdk) { SwrvePush push = GetPush(); push.SetCommonSDK(sdk); await push.UpdateUriAsync(); string uri; push.GetStoredUri(out uri); return(uri); }