Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

FB testing Ads Not showing on phone (real device)

未關閉
#318 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
react-native
領域
mobile

研究方向

從 react-native-fbads 版本 ^7.0.5 和錯誤中顯示的 BannerViewManager.js 路徑開始。在真實裝置上重現 banner 請求,並檢查錯誤代碼為 1203 的 onAdError 事件。當 banner 不再回報 SDK 版本不受支援時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

SDK Version= "react-native-fbads": "^7.0.5",

The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK."
},

error{
"_dispatchInstances": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 3.372084006667137,
"actualStartTime": 105270884.599076,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.6038540005683899,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.6263020038604736,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"_debugSource": {
"columnNumber": 13,
"fileName": "/Users/kapilmyakal/Desktop/Kapil/ReactNative/Mcreation2022/node_modules/react-native-fbads/dist/lib/BannerViewManager.js",
"lineNumber": 23
},
"actualDuration": 2.74031300842762,
"actualStartTime": 105270885.209336,
"alternate": null,
"child": null,
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": "CTKBannerView",
"flags": 0,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"memoizedState": null,
"mode": 2,
"pendingProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"ref": null,
"return": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 3.372084006667137,
"actualStartTime": 105270884.599076,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.6038540005683899,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.6263020038604736,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"selfBaseDuration": 0.02244800329208374,
"sibling": null,
"stateNode": {
"_children": [
Array
],
"_internalFiberInstanceHandleDEV": [
Circular
],
"_nativeTag": 27,
"viewConfig": [
Object
]
},
"subtreeFlags": 0,
"tag": 5,
"treeBaseDuration": 0.02244800329208374,
"type": "CTKBannerView",
"updateQueue": null
},
"_dispatchListeners": [
FunctiononError
],
"_targetInst": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 3.372084006667137,
"actualStartTime": 105270884.599076,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.6038540005683899,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.6263020038604736,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"_debugSource": {
"columnNumber": 13,
"fileName": "/Users/kapilmyakal/Desktop/Kapil/ReactNative/Mcreation2022/node_modules/react-native-fbads/dist/lib/BannerViewManager.js",
"lineNumber": 23
},
"actualDuration": 2.74031300842762,
"actualStartTime": 105270885.209336,
"alternate": null,
"child": null,
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": "CTKBannerView",
"flags": 0,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"memoizedState": null,
"mode": 2,
"pendingProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"ref": null,
"return": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 3.372084006667137,
"actualStartTime": 105270884.599076,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.6038540005683899,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.6263020038604736,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"selfBaseDuration": 0.02244800329208374,
"sibling": null,
"stateNode": {
"_children": [
Array
],
"_internalFiberInstanceHandleDEV": [
Circular
],
"_nativeTag": 27,
"viewConfig": [
Object
]
},
"subtreeFlags": 0,
"tag": 5,
"treeBaseDuration": 0.02244800329208374,
"type": "CTKBannerView",
"updateQueue": null
},
"bubbles": undefined,
"cancelable": undefined,
"currentTarget": {
"_children": [

],
"_internalFiberInstanceHandleDEV": {
  "_debugHookTypes": null,
  "_debugNeedsRemount": false,
  "_debugOwner": [
    FiberNode
  ],
  "_debugSource": [
    Object
  ],
  "actualDuration": 2.74031300842762,
  "actualStartTime": 105270885.209336,
  "alternate": null,
  "child": null,
  "childLanes": 0,
  "deletions": null,
  "dependencies": null,
  "elementType": "CTKBannerView",
  "flags": 0,
  "index": 0,
  "key": null,
  "lanes": 0,
  "memoizedProps": [
    Object
  ],
  "memoizedState": null,
  "mode": 2,
  "pendingProps": [
    Object
  ],
  "ref": null,
  "return": [
    FiberNode
  ],
  "selfBaseDuration": 0.02244800329208374,
  "sibling": null,
  "stateNode": [
    Circular
  ],
  "subtreeFlags": 0,
  "tag": 5,
  "treeBaseDuration": 0.02244800329208374,
  "type": "CTKBannerView",
  "updateQueue": null
},
"_nativeTag": 27,
"viewConfig": {
  "NativeProps": [
    Object
  ],
  "bubblingEventTypes": undefined,
  "directEventTypes": [
    Object
  ],
  "uiViewClassName": "CTKBannerView",
  "validAttributes": [
    Object
  ]
}

},
"defaultPrevented": undefined,
"dispatchConfig": {
"registrationName": "onAdError"
},
"eventPhase": undefined,
"isDefaultPrevented": [
FunctionfunctionThatReturnsFalse
],
"isPropagationStopped": [
FunctionfunctionThatReturnsFalse
],
"isTrusted": undefined,
"nativeEvent": {
"errorCode": 1203,
"errorMessage": "The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK."
},
"target": {
"_children": [

],
"_internalFiberInstanceHandleDEV": {
  "_debugHookTypes": null,
  "_debugNeedsRemount": false,
  "_debugOwner": [
    FiberNode
  ],
  "_debugSource": [
    Object
  ],
  "actualDuration": 2.74031300842762,
  "actualStartTime": 105270885.209336,
  "alternate": null,
  "child": null,
  "childLanes": 0,
  "deletions": null,
  "dependencies": null,
  "elementType": "CTKBannerView",
  "flags": 0,
  "index": 0,
  "key": null,
  "lanes": 0,
  "memoizedProps": [
    Object
  ],
  "memoizedState": null,
  "mode": 2,
  "pendingProps": [
    Object
  ],
  "ref": null,
  "return": [
    FiberNode
  ],
  "selfBaseDuration": 0.02244800329208374,
  "sibling": null,
  "stateNode": [
    Circular
  ],
  "subtreeFlags": 0,
  "tag": 5,
  "treeBaseDuration": 0.02244800329208374,
  "type": "CTKBannerView",
  "updateQueue": null
},
"_nativeTag": 27,
"viewConfig": {
  "NativeProps": [
    Object
  ],
  "bubblingEventTypes": undefined,
  "directEventTypes": [
    Object
  ],
  "uiViewClassName": "CTKBannerView",
  "validAttributes": [
    Object
  ]
}

},
"timeStamp": 1645987237994,
"type": undefined
}LOGerror{
"_dispatchInstances": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 0.47260499000549316,
"actualStartTime": 105271079.515658,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.1611979901790619,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.17411498725414276,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"_debugSource": {
"columnNumber": 13,
"fileName": "/Users/kapilmyakal/Desktop/Kapil/ReactNative/Mcreation2022/node_modules/react-native-fbads/dist/lib/BannerViewManager.js",
"lineNumber": 23
},
"actualDuration": 0.30760499835014343,
"actualStartTime": 105271079.679928,
"alternate": null,
"child": null,
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": "CTKBannerView",
"flags": 0,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"memoizedState": null,
"mode": 2,
"pendingProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"ref": null,
"return": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 0.47260499000549316,
"actualStartTime": 105271079.515658,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.1611979901790619,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.17411498725414276,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"selfBaseDuration": 0.012916997075080872,
"sibling": null,
"stateNode": {
"_children": [
Array
],
"_internalFiberInstanceHandleDEV": [
Circular
],
"_nativeTag": 127,
"viewConfig": [
Object
]
},
"subtreeFlags": 0,
"tag": 5,
"treeBaseDuration": 0.012916997075080872,
"type": "CTKBannerView",
"updateQueue": null
},
"_dispatchListeners": [
FunctiononError
],
"_targetInst": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 0.47260499000549316,
"actualStartTime": 105271079.515658,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.1611979901790619,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.17411498725414276,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"_debugSource": {
"columnNumber": 13,
"fileName": "/Users/kapilmyakal/Desktop/Kapil/ReactNative/Mcreation2022/node_modules/react-native-fbads/dist/lib/BannerViewManager.js",
"lineNumber": 23
},
"actualDuration": 0.30760499835014343,
"actualStartTime": 105271079.679928,
"alternate": null,
"child": null,
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": "CTKBannerView",
"flags": 0,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"memoizedState": null,
"mode": 2,
"pendingProps": {
"onAdError": [
FunctiononError
],
"onAdLoad": [
FunctiononLoad
],
"onAdPress": [
FunctiononPress
],
"placementId": "320684146565431_320685379898641",
"size": 50,
"style": [
Array
],
"testDevices": "8cb8584e-cea5-4f5d-8dca-f3c01763f419"
},
"ref": null,
"return": {
"_debugHookTypes": null,
"_debugNeedsRemount": false,
"_debugOwner": [
FiberNode
],
"_debugSource": [
Object
],
"actualDuration": 0.47260499000549316,
"actualStartTime": 105271079.515658,
"alternate": null,
"child": [
Circular
],
"childLanes": 0,
"deletions": null,
"dependencies": null,
"elementType": [
FunctionBannerView
],
"flags": 1,
"index": 0,
"key": null,
"lanes": 0,
"memoizedProps": [
Object
],
"memoizedState": null,
"mode": 2,
"pendingProps": [
Object
],
"ref": null,
"return": [
FiberNode
],
"selfBaseDuration": 0.1611979901790619,
"sibling": null,
"stateNode": null,
"subtreeFlags": 0,
"tag": 0,
"treeBaseDuration": 0.17411498725414276,
"type": [
FunctionBannerView
],
"updateQueue": null
},
"selfBaseDuration": 0.012916997075080872,
"sibling": null,
"stateNode": {
"_children": [
Array
],
"_internalFiberInstanceHandleDEV": [
Circular
],
"_nativeTag": 127,
"viewConfig": [
Object
]
},
"subtreeFlags": 0,
"tag": 5,
"treeBaseDuration": 0.012916997075080872,
"type": "CTKBannerView",
"updateQueue": null
},
"bubbles": undefined,
"cancelable": undefined,
"currentTarget": {
"_children": [

],
"_internalFiberInstanceHandleDEV": {
  "_debugHookTypes": null,
  "_debugNeedsRemount": false,
  "_debugOwner": [
    FiberNode
  ],
  "_debugSource": [
    Object
  ],
  "actualDuration": 0.30760499835014343,
  "actualStartTime": 105271079.679928,
  "alternate": null,
  "child": null,
  "childLanes": 0,
  "deletions": null,
  "dependencies": null,
  "elementType": "CTKBannerView",
  "flags": 0,
  "index": 0,
  "key": null,
  "lanes": 0,
  "memoizedProps": [
    Object
  ],
  "memoizedState": null,
  "mode": 2,
  "pendingProps": [
    Object
  ],
  "ref": null,
  "return": [
    FiberNode
  ],
  "selfBaseDuration": 0.012916997075080872,
  "sibling": null,
  "stateNode": [
    Circular
  ],
  "subtreeFlags": 0,
  "tag": 5,
  "treeBaseDuration": 0.012916997075080872,
  "type": "CTKBannerView",
  "updateQueue": null
},
"_nativeTag": 127,
"viewConfig": {
  "NativeProps": [
    Object
  ],
  "bubblingEventTypes": undefined,
  "directEventTypes": [
    Object
  ],
  "uiViewClassName": "CTKBannerView",
  "validAttributes": [
    Object
  ]
}

},
"defaultPrevented": undefined,
"dispatchConfig": {
"registrationName": "onAdError"
},
"eventPhase": undefined,
"isDefaultPrevented": [
FunctionfunctionThatReturnsFalse
],
"isPropagationStopped": [
FunctionfunctionThatReturnsFalse
],
"isTrusted": undefined,
"nativeEvent": {
"errorCode": 1203,
"errorMessage": "The SDK version in the ad request is no longer supported for new apps. Please upgrade to the latest version of the SDK."
},
"target": {
"_children": [

],
"_internalFiberInstanceHandleDEV": {
  "_debugHookTypes": null,
  "_debugNeedsRemount": false,
  "_debugOwner": [
    FiberNode
  ],
  "_debugSource": [
    Object
  ],
  "actualDuration": 0.30760499835014343,
  "actualStartTime": 105271079.679928,
  "alternate": null,
  "child": null,
  "childLanes": 0,
  "deletions": null,
  "dependencies": null,
  "elementType": "CTKBannerView",
  "flags": 0,
  "index": 0,
  "key": null,
  "lanes": 0,
  "memoizedProps": [
    Object
  ],
  "memoizedState": null,
  "mode": 2,
  "pendingProps": [
    Object
  ],
  "ref": null,
  "return": [
    FiberNode
  ],
  "selfBaseDuration": 0.012916997075080872,
  "sibling": null,
  "stateNode": [
    Circular
  ],
  "subtreeFlags": 0,
  "tag": 5,
  "treeBaseDuration": 0.012916997075080872,
  "type": "CTKBannerView",
  "updateQueue": null
},
"_nativeTag": 127,
"viewConfig": {
  "NativeProps": [
    Object
  ],
  "bubblingEventTypes": undefined,
  "directEventTypes": [
    Object
  ],
  "uiViewClassName": "CTKBannerView",
  "validAttributes": [
    Object
  ]
}

},
"timeStamp": 1645987238944,
"type": undefined
}

主要語言
Java
星號
450
分支
145
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

callstack/react-native-fbads 的其他 Issue

查看 callstack/react-native-fbads 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。