callstack / callstack/react-native-fbads

FB testing Ads Not showing on phone (real device)

未关闭
#318 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
451
派生
147
PR 合并指标
30 天内没有已合并 PR

描述

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
}

贡献指南

打开贡献指南

调研方向

从 react-native-fbads 版本 ^7.0.5 和错误中显示的 BannerViewManager.js 路径开始。在真实设备上重现 banner 请求,并检查错误代码为 1203 的 onAdError 事件。当 banner 不再报告 SDK 版本不受支持时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native
领域
mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。