react-native-google-mobile-ads icon indicating copy to clipboard operation
react-native-google-mobile-ads copied to clipboard

[📚] FEATURE REQUEST: Make module "web" friendly by using noop in web mode

Open psnet opened this issue 6 months ago • 11 comments

FEATURE REQUEST

Currently this module fails to compile in "web" env due to native modules.

It will be good if module will work in web by doing nothing, just to be able to compile.

psnet avatar Jun 27 '25 15:06 psnet

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Jul 25 '25 15:07 github-actions[bot]

still actual

psnet avatar Jul 25 '25 16:07 psnet

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Aug 22 '25 17:08 github-actions[bot]

still actual

psnet avatar Aug 23 '25 06:08 psnet

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Sep 20 '25 08:09 github-actions[bot]

still actual

psnet avatar Sep 20 '25 08:09 psnet

you can create a folder called Admob:

  • index.web.ts:
export {}
  • index.ts:
export * from 'react-native-google-mobile-ads'

And use imports from Admob instead of directly react-native-google-mobile-ads imports.

exzos28 avatar Oct 13 '25 12:10 exzos28

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Nov 10 '25 12:11 github-actions[bot]

still actual

psnet avatar Nov 12 '25 17:11 psnet

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.

github-actions[bot] avatar Dec 10 '25 18:12 github-actions[bot]

still actual

psnet avatar Dec 10 '25 21:12 psnet