Skip to content

[🐛] Only half of the add is loading #711

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

Open
1 task
d-borys opened this issue Feb 17, 2025 · 5 comments
Open
1 task

[🐛] Only half of the add is loading #711

d-borys opened this issue Feb 17, 2025 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@d-borys
Copy link

d-borys commented Feb 17, 2025

What happened?

I'm having very strange issue with loading the ads.

Whenever the adBanner tries to load an add that's half an image and half a video, the video never loads UNLESS I put the app in the background, and refocus.

No other events than "APP_LOADED" are called. I've tried to search for any similar issues but I couldn't find anything.
Any advice would be greatly appreciated.

VIDEO:

Screen_Recording_20250217_183826_Kuchnia.Maluszka.mp4

Platforms

Only on Android

React Native Info

System:
  OS: Windows 11 10.0.26100
  CPU: "(16) x64 AMD Ryzen 7 5800X 8-Core Processor             "
  Memory: 2.01 GB / 15.91 GB
Binaries:
  Node:
    version: 20.11.1
    path: D:\Programy\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 10.2.4
    path: D:\Programy\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: Not Found
  Visual Studio: Not Found
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli":
    installed: 15.1.3
    wanted: latest
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.7
    wanted: 0.76.7
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

info React Native v0.77.1 is now available (your project is running on v0.76.7).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.77.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.76.7&to=0.77.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=windows".

Are your using Typescript?

  • My project is using Typescript

package.json

{
  "name": "kuchnia-maluszka",
  "main": "expo-router/entry",
  "version": "1.0.14",
  "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-native-async-storage/async-storage": "1.23.1",
    "@react-native-community/datetimepicker": "^8.2.0",
    "@react-navigation/bottom-tabs": "^7.0.0",
    "@react-navigation/native": "^7.0.0",
    "@shopify/flash-list": "1.7.3",
    "@supabase/supabase-js": "^2.47.10",
    "@tamagui/config": "^1.124.14",
    "@tamagui/linear-gradient": "^1.124.14",
    "@tamagui/lucide-icons": "1.124.14",
    "@tanstack/react-query": "^5.62.11",
    "base64-arraybuffer": "^1.0.2",
    "date-fns": "^4.1.0",
    "debounce": "^2.2.0",
    "expo": "^52.0.33",
    "expo-auth-session": "~6.0.3",
    "expo-blur": "~14.0.3",
    "expo-constants": "~17.0.3",
    "expo-dev-client": "~5.0.12",
    "expo-file-system": "~18.0.10",
    "expo-font": "~13.0.3",
    "expo-haptics": "~14.0.1",
    "expo-image-picker": "~16.0.6",
    "expo-linear-gradient": "~14.0.2",
    "expo-linking": "~7.0.5",
    "expo-print": "~14.0.3",
    "expo-router": "~4.0.17",
    "expo-sharing": "~13.0.1",
    "expo-splash-screen": "~0.29.21",
    "expo-status-bar": "~2.0.1",
    "expo-symbols": "~0.2.2",
    "expo-system-ui": "~4.0.8",
    "expo-tracking-transparency": "~5.1.1",
    "expo-web-browser": "~14.0.2",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "react-hook-form": "^7.54.2",
    "react-native": "0.76.7",
    "react-native-gesture-handler": "~2.20.2",
    "react-native-google-mobile-ads": "^14.9.0",
    "react-native-modal-datetime-picker": "^18.0.0",
    "react-native-purchases": "^8.6.0",
    "react-native-reanimated": "~3.16.1",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "~4.4.0",
    "react-native-svg": "15.8.0",
    "react-native-url-polyfill": "^2.0.0",
    "react-native-web": "~0.19.13",
    "react-native-webview": "13.12.5",
    "tamagui": "^1.124.14",
    "zustand": "^5.0.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",
    "reactotron-react-native": "^5.1.11",
    "supabase": "^2.2.1",
    "typescript": "^5.3.3",
    "@react-native-community/cli": "latest"
  },
  "private": true
}

app.json

{
  "expo": {
    "name": "Kuchnia Maluszka",
    "slug": "kuchnia-maluszka",
    "version": "1.0.14",
    "orientation": "portrait",
    "icon": "./assets/images/icon.png",
    "scheme": "kuchniamaluszka",
    "userInterfaceStyle": "automatic",
    "newArchEnabled": true,
    "primaryColor": "#FFB347",
    "ios": {
      "supportsTablet": false,
      "config": {
        "usesNonExemptEncryption": false
      },
      "bundleIdentifier": "xxxxxxxxxxxxxxxxxxxxxxxxx",
      "buildNumber": "1.0.14",
      "infoPlist": {
        "GADApplicationIdentifier": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "SKAdNetworkItems": [
          {
            "SKAdNetworkIdentifier": "cstr6suwn9.skadnetwork"
          }
        ],
        "CFBundleURLTypes": [
          {
            "CFBundleURLSchemes": [
              "kuchniamaluszka"
            ]
          }
        ]
      }
    },
    "splash": {
      "image": "./assets/images/icon.png",
      "resizeMode": "contain",
      "backgroundColor": "#fdfdf9"
    },
    "android": {
      "adaptiveIcon": {
        "foregroundImage": "./assets/images/adaptive-icon.png",
        "backgroundColor": "#fdfdf9"
      },
      "versionCode": 1014,
      "versionName": "1.0.14",
      "package": "xxxxxxxxxxxxxxxxxxxxxxxxx",
      "permissions": [
        "android.permission.RECORD_AUDIO"
      ],
      "intentFilters": [
        {
          "action": "VIEW",
          "data": [
            {
              "scheme": "kuchniamaluszka"
            }
          ],
          "category": [
            "BROWSABLE",
            "DEFAULT"
          ]
        }
      ]
    },
    "web": {
      "bundler": "metro",
      "output": "static",
      "favicon": "./assets/images/favicon.png"
    },
    "plugins": [
      "expo-router",
      [
        "expo-image-picker",
        {
          "photosPermission": "Aplikacja potrzebuje dostępu do aparatu aby pozwolić użytkownikowi dodać zdjęcie profilowe",
          "cameraPermission": "Aplikacja potrzebuje dostępu do aparatu aby pozwolić użytkownikowi dodać zdjęcie profilowe"
        }
      ],
      [
        "expo-splash-screen",
        {
          "image": "./assets/images/icon.png",
          "imageWidth": 200,
          "resizeMode": "contain",
          "backgroundColor": "#fdfdf9"
        }
      ],
      [
        "@react-native-community/datetimepicker",
        {
          "android": {
            "datePicker": {
              "colorAccent": {
                "light": "#FFB347"
              },
              "textColorPrimary": {
                "light": "#FFB347"
              }
            },
            "timePicker": {
              "background": {
                "light": "#FFB347"
              },
              "numbersBackgroundColor": {
                "light": "#FFB347"
              }
            }
          }
        }
      ],
      "expo-font",
      [
        "react-native-google-mobile-ads",
        {
          "iosAppId": "xxxxxxxxxxxxxxx",
          "androidAppId": "xxxxxxxxxxxxxxxxxxx",
          "skAdNetworkItems": [
            "cstr6suwn9.skadnetwork",
            "4fzdc2evr5.skadnetwork",
            "2fnua5tdw4.skadnetwork",
            "ydx93a7ass.skadnetwork",
            "p78axxw29g.skadnetwork",
            "v72qych5uu.skadnetwork",
            "ludvb6z3bs.skadnetwork",
            "cp8zw746q7.skadnetwork",
            "3sh42y64q3.skadnetwork",
            "c6k4g5qg8m.skadnetwork",
            "s39g8k73mm.skadnetwork",
            "3qy4746246.skadnetwork",
            "hs6bdukanm.skadnetwork",
            "mlmmfzh3r3.skadnetwork",
            "v4nxqhlyqp.skadnetwork",
            "wzmmz9fp6w.skadnetwork",
            "su67r6k2v3.skadnetwork",
            "yclnxrl5pm.skadnetwork",
            "7ug5zh24hu.skadnetwork",
            "gta9lk7p23.skadnetwork",
            "vutu7akeur.skadnetwork",
            "y5ghdn5j9k.skadnetwork",
            "v9wttpbfk9.skadnetwork",
            "n38lu8286q.skadnetwork",
            "47vhws6wlr.skadnetwork",
            "kbd757ywx3.skadnetwork",
            "9t245vhmpl.skadnetwork",
            "a2p9lx4jpn.skadnetwork",
            "22mmun2rn5.skadnetwork",
            "4468km3ulz.skadnetwork",
            "2u9pt9hc89.skadnetwork",
            "8s468mfl3y.skadnetwork",
            "ppxm28t8ap.skadnetwork",
            "uw77j35x4d.skadnetwork",
            "pwa73g5rt2.skadnetwork",
            "578prtvx9j.skadnetwork",
            "4dzt52r2t5.skadnetwork",
            "tl55sbb4fm.skadnetwork",
            "e5fvkxwrpn.skadnetwork",
            "8c4e2ghe7u.skadnetwork",
            "3rd42ekr43.skadnetwork",
            "3qcr597p9d.skadnetwork"
          ],
          "userTrackingUsageDescription": "This identifier will be used to deliver personalized ads to you."
        }
      ],
      "expo-tracking-transparency",
      "expo-dev-client"
    ],
    "experiments": {
      "typedRoutes": true
    },
    "extra": {
      "router": {
        "origin": false
      },
      "eas": {
        "projectId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

ios/Podfile

android/build.gradle

android/app/build.gradle

android/settings.gradle

AndroidManifest.xml

@d-borys d-borys added the help wanted Extra attention is needed label Feb 17, 2025
Copy link

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 github-actions bot added the stale label Mar 17, 2025
@d-borys
Copy link
Author

d-borys commented Mar 17, 2025

It still requires help. I couldn't figure this out, tried multiple ways, loading ad beforehand, refreshing view in interval. In the end I wasn't able to fix it.

@github-actions github-actions bot removed the stale label Mar 17, 2025
Copy link

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 github-actions bot added the stale label Apr 14, 2025
@d-borys
Copy link
Author

d-borys commented Apr 14, 2025

It still requires help.

@github-actions github-actions bot removed the stale label Apr 14, 2025
@dylancom
Copy link
Collaborator

dylancom commented Apr 15, 2025

First of all this is a community module made by volunteers, no help center.
Anyway you are on version 14.9.0 while 15.1.0 has just been released.
Also in the newest release which includes SDK updates many bugs have been fixed by Google.

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

2 participants