Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [Feature]: Add React Native component for Standard Banner #9

Open
mahdi-malv opened this issue Aug 23, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mahdi-malv
Copy link
Contributor

Problem

Standard Banner is a view that will be added to the view as a FrameLayout child.
The only APIs to handle the position is simply Bottom, Top, left or right.
Here's the sample code in the sample project

TapsellPlus.showStandardBannerAd(this.state.responseId,
        TapsellPlusHorizontalGravity.BOTTOM,
        TapsellPlusVerticalGravity.CENTER,
        (data) => {
          this._showToast('Data available: ' + data);
        },
        (error) => {
          this._showToast(`Error loading banner: ${error}`);
        });

This does not allow advance positioning and restricts the developer to only couple of states.

Solution

Plugin should provide a Platform native view component, so that it can be used as a regular component.

@mahdi-malv mahdi-malv added the enhancement New feature or request label Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant