Пример #1
0
 private FirebaseMessaging(FirebaseApp app)
 {
     this.messagingClient = new FirebaseMessagingClient(
         app.Options.HttpClientFactory, app.Options.Credential, app.GetProjectId());
     this.instanceIdClient = new InstanceIdClient(
         app.Options.HttpClientFactory, app.Options.Credential);
 }
 private FirebaseMessaging(FirebaseApp app)
 {
     this.messagingClient  = FirebaseMessagingClient.Create(app);
     this.instanceIdClient = InstanceIdClient.Create(app);
 }
Пример #3
0
 private FirebaseMessaging(FirebaseApp app)
 {
     this.messagingClient = new FirebaseMessagingClient(
         new HttpClientFactory(), app.Options.Credential, app.GetProjectId());
 }