firebase / firebase/firebase-ios-sdk

[FR]: FIRMessaging class to include a messagingForApp() to allow for handling multiple configurations.

Open
#11,975 2 comments 0 reactions 0 assignees View on GitHub
api: messaging type: feature request
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Description

Summary
Extend the FIRMessaging class to include a messagingForApp() method similar to the FIRDatabase's databaseForApp() method to allow for handling multiple configurations seamlessly.

### API Proposal

let myApp = FirebaseApp.app(name: "secondary_app")!
let messaging = Messaging.messaging(app: myApp)

### Firebase Product(s)

Messaging

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.