firebase / firebase/firebase-android-sdk

Provide a more straightforward method to implement custom InAppMessage view

Open
#2,490 1 comment 0 reactions 0 assignees View on GitHub
api: inappmessaging type: feature request
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 9h
Merged PRs (30d)
31

Description

## What feature would you like to see?

Would be great to have a possibility to implement only a custom `InAppMessage` to `View` mapper without a need to build all the machinery required by `FirebaseInAppMessagingDisplay`. Something similar to `RemoteViews`

## How would you use it?

there would be just a callback needed to be implemented, something like:
```
fun getView(inAppMessage: InAppMessage, someContext: ...): View
```
which would return a view displayed by the firebase SDK in a piece of UI managed by it.

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.