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

[🐛] IOS 18.2 intermittently not displaying ads. #691

Open
1 task
marc-technocrat opened this issue Jan 17, 2025 · 0 comments
Open
1 task

[🐛] IOS 18.2 intermittently not displaying ads. #691

marc-technocrat opened this issue Jan 17, 2025 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@marc-technocrat
Copy link

marc-technocrat commented Jan 17, 2025

What happened?

On IOS 18.2 its is intermittently displaying ads.
Upon clicking the space where the ad should be the ad displays.

Have tried in our main project and on a clean expo project. Both experience this issues.
But only on ios 18.2

From 3 different refreshes get different ads displaying and not displaying

Image
Image
Image

Platforms

Only on iOS

React Native Info

expo  and tested on RN 0.73.9

Are your using Typescript?

  • My project is using Typescript

package.json

{
  "name": "testads",
  "main": "expo-router/entry",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start",
    "reset-project": "node ./scripts/reset-project.js",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "web": "expo start --web",
    "test": "jest --watchAll",
    "lint": "expo lint"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^14.0.2",
    "@react-navigation/bottom-tabs": "^7.2.0",
    "@react-navigation/native": "^7.0.14",
    "expo": "~52.0.25",
    "expo-blur": "~14.0.2",
    "expo-constants": "~17.0.4",
    "expo-font": "~13.0.3",
    "expo-haptics": "~14.0.1",
    "expo-linking": "~7.0.4",
    "expo-router": "~4.0.16",
    "expo-splash-screen": "~0.29.20",
    "expo-status-bar": "~2.0.1",
    "expo-symbols": "~0.2.1",
    "expo-system-ui": "~4.0.7",
    "expo-web-browser": "~14.0.2",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "react-native": "0.76.6",
    "react-native-gesture-handler": "~2.20.2",
    "react-native-google-mobile-ads": "^14.8.0",
    "react-native-reanimated": "~3.16.1",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "~4.4.0",
    "react-native-web": "~0.19.13",
    "react-native-webview": "13.12.5",
    "expo-build-properties": "~0.13.2"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@types/jest": "^29.5.12",
    "@types/react": "~18.3.12",
    "@types/react-test-renderer": "^18.3.0",
    "jest": "^29.2.1",
    "jest-expo": "~52.0.3",
    "react-test-renderer": "18.3.1",
    "typescript": "^5.3.3"
  },
  "private": true
}

app.json

{
  "expo": {
    "name": "testAds",
    "slug": "testAds",
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./assets/images/icon.png",
    "scheme": "myapp",
    "userInterfaceStyle": "automatic",
    "newArchEnabled": true,
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.anonymous.testAds"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/adaptive-icon.png",
        "backgroundColor": "#ffffff"
      },
      "package": "com.anonymous.testAds"
    },
    "web": {
      "bundler": "metro",
      "output": "static",
      "favicon": "./assets/images/favicon.png"
    },
    "plugins": [
      "expo-router",
      [
        "expo-splash-screen",
        {
          "image": "./assets/images/splash-icon.png",
          "imageWidth": 200,
          "resizeMode": "contain",
          "backgroundColor": "#ffffff"
        }
      ],
      [
        "expo-build-properties",
        {
          "ios": {
            "useFrameworks": "static"
          }
        }
      ],
      [
        "react-native-google-mobile-ads",
        {
          "androidAppId": "xx",
          "iosAppId": "xx"
      }
      ]
    ],
    "experiments": {
      "typedRoutes": true
    }
  }
}

ios/Podfile

android/build.gradle

android/app/build.gradle

android/settings.gradle

AndroidManifest.xml

@marc-technocrat marc-technocrat added the help wanted Extra attention is needed label Jan 17, 2025
@marc-technocrat marc-technocrat changed the title [🐛] Bug Report Title - CHANGE ME [🐛] Bug Report Title - IOS 18.2 intermittently not displaying ads. Jan 17, 2025
@marc-technocrat marc-technocrat changed the title [🐛] Bug Report Title - IOS 18.2 intermittently not displaying ads. [🐛] IOS 18.2 intermittently not displaying ads. Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant