Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

FB testing Ads Not showing on phone (real device)

Aberta
#318 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
react-native
Domínio
mobile

Direção de pesquisa

Comece com react-native-fbads versão ^7.0.5 e o caminho BannerViewManager.js mostrado no erro. Reproduza a solicitação do banner em um dispositivo real e inspecione o evento onAdError com o código de erro 1203. Está concluído quando o banner não relatar mais que a versão do SDK não é compatível.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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
}

Linguagem predominante
Java
Estrelas
450
Forks
145
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de callstack/react-native-fbads

Todas as issues de callstack/react-native-fbads

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.