public void Setup() { client = new HttpClient { BaseAddress = new Uri(configurationSection["FirebaseInstanceIdServiceUrl"]) }; client.DefaultRequestHeaders.Add("Authorization", $"key = {configurationSection["FirebaseServerKey"]}"); service = new FirebaseInstanceIdService(client); }
public SettingsView(FirebaseInstanceIdService notificationHub) { _notificationHub = notificationHub; }